In This Article

IMergableTokenLexerData Interface

Provides the base requirements for an object that provides lexer data for a IMergableToken.

public interface IMergableTokenLexerData

Properties

ClassificationType

Gets the IClassificationType assigned to the token.

IClassificationType ClassificationType { get; }

Property Value

IClassificationType:

The key of the IClassificationType assigned to the token.

Lexer

Gets the IMergableLexer that created the token.

IMergableLexer Lexer { get; }

Property Value

IMergableLexer:

The IMergableLexer that created the token.

LexicalScope

Gets the ILexicalScope, if any, that defines the token.

ILexicalScope LexicalScope { get; }

Property Value

ILexicalScope:

The ILexicalScope, if any, that defines the token.

Remarks

If this value is null, the token was not defined by a lexical scope.

LexicalState

Gets the ILexicalState that contains the token.

ILexicalState LexicalState { get; }

Property Value

ILexicalState:

The ILexicalState that contains the token.

TokenId

Gets the token ID assigned to the token.

int TokenId { get; }

Property Value

Int32:

The token ID assigned to the token.

TokenKey

Gets the token key assigned to the token, if it is known.

string TokenKey { get; }

Property Value

String:

The token key assigned to the token, if it is known.

See Also