In This Article

MergableLexerResult Class

Provides a lexer result for a token.

public class MergableLexerResult
Inheritance:
Object Object

Constructors

MergableLexerResult(MatchType, IMergableTokenLexerData)

Initializes a new instance of the MergableLexerResult class.

public MergableLexerResult(MatchType matchType, IMergableTokenLexerData lexerData)
Parameter Type Description
matchType MatchType

A MatchType indicating the type of match that was made.

lexerData IMergableTokenLexerData

The IMergableTokenLexerData to use for this token.

Properties

LexerData

Gets the IMergableTokenLexerData to use for this token.

public IMergableTokenLexerData LexerData { get; }

Property Value

IMergableTokenLexerData:

The IMergableTokenLexerData to use for this token.

MatchType

Gets a MatchType indicating the type of match that was made.

public MatchType MatchType { get; }

Property Value

MatchType:

A MatchType indicating the type of match that was made.

Fields

NoMatch

Gets a MergableLexerResult that can be used to indicate there was no match.

public static readonly MergableLexerResult NoMatch

Inherited Members