In This Article

IMergeableTokenLexerData Interface

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

public interface IMergeableTokenLexerData

Properties

ClassificationType

The IClassificationType assigned to the token.

IClassificationType? ClassificationType { get; }

Property Value

IClassificationType

See Also

Lexer

The IMergeableLexer that created the token.

IMergeableLexer? Lexer { get; }

Property Value

IMergeableLexer

See Also

LexicalScope

The ILexicalScope, if any, that defines the token.

ILexicalScope? LexicalScope { get; }

Property Value

ILexicalScope

Remarks

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

See Also

LexicalState

The ILexicalState that contains the token.

ILexicalState? LexicalState { get; }

Property Value

ILexicalState

See Also

TokenId

The token ID assigned to the token.

int TokenId { get; }

Property Value

int

See Also

TokenKey

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

string? TokenKey { get; }

Property Value

string

See Also

Extension Methods

See Also