Enhanced C#
Language of your choice: library documentation
|
Basic information about a token as expected by BaseParser<Token>: a token Type, which is the type of a "word" in the program (string, identifier, plus sign, etc.), a value (e.g. the name of an identifier), and an index where the token starts in the source file. More...
Basic information about a token as expected by BaseParser<Token>: a token Type, which is the type of a "word" in the program (string, identifier, plus sign, etc.), a value (e.g. the name of an identifier), and an index where the token starts in the source file.
Alias for ISimpleToken{int}.
Properties | |
TokenType | Type [get] |
The category of the token (integer, keyword, etc.) used as the primary value for identifying the token in a parser. More... | |
int | StartIndex [get] |
Character index where the token starts in the source file. More... | |
Properties inherited from Loyc.IHasValue< object > | |
T | Value [get] |
|
get |
Character index where the token starts in the source file.
Referenced by Loyc.Syntax.BaseParser< Token >.LaIndexToCharIndex().
|
get |
The category of the token (integer, keyword, etc.) used as the primary value for identifying the token in a parser.