Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | List of all members
Loyc.Syntax.Lexing.ISimpleToken< TokenType > Interface Template Reference

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...


Source file:
Inheritance diagram for Loyc.Syntax.Lexing.ISimpleToken< TokenType >:
Loyc.IHasValue< out T > Loyc.Syntax.Lexing.IToken< TT > Loyc.Syntax.Lexing.Token

Remarks

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.

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< out T >
Value [get]
 

Property Documentation

int Loyc.Syntax.Lexing.ISimpleToken< TokenType >.StartIndex
get

Character index where the token starts in the source file.

TokenType Loyc.Syntax.Lexing.ISimpleToken< TokenType >.Type
get

The category of the token (integer, keyword, etc.) used as the primary value for identifying the token in a parser.