Class TokenRole
- Namespace
- ICSharpCode.Decompiler.CSharp.Syntax
- Assembly
- ICSharpCode.Decompiler.dll
A specific role only used for C# tokens
public sealed class TokenRole : Role<CSharpTokenNode>
- Inheritance
-
TokenRole
- Inherited Members
Constructors
TokenRole(string)
public TokenRole(string token)
Parameters
token
string
Properties
Length
Gets the char length of the token.
public int Length { get; }
Property Value
Token
Gets the token as string. Note that the token Name and Token value may differ.
public string Token { get; }