MergeableLexerResult Class
Provides a lexer result for a token.
public class MergeableLexerResult
- Inheritance:
- object object
Constructors
MergeableLexerResult(MatchType, IMergeableTokenLexerData?)
Initializes an instance of the class.
public MergeableLexerResult(MatchType matchType, IMergeableTokenLexerData? lexerData)
| Parameter | Type | Description |
|---|---|---|
| matchType | MatchType | A MatchType indicating the type of match that was made. |
| lexerData | IMergeableTokenLexerData | The IMergeableTokenLexerData to use for this token. |
Properties
LexerData
The IMergeableTokenLexerData to use for this token.
MatchType
A MatchType indicating the type of match that was made.
Fields
NoMatch
A MergeableLexerResult that can be used to indicate there was no match.
public static readonly MergeableLexerResult NoMatch
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()