Table of Contents

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

int

Token

Gets the token as string. Note that the token Name and Token value may differ.

public string Token { get; }

Property Value

string