Enhanced C#
Language of your choice: library documentation
Properties | Public Member Functions | List of all members
Loyc.Syntax.Lexing.IToken< TT > Interface Template Reference

The methods of Token in the form of an interface. More...


Source file:
Inheritance diagram for Loyc.Syntax.Lexing.IToken< TT >:
Loyc.Syntax.Lexing.ISimpleToken< TT >

Remarks

The methods of Token in the form of an interface.

Template Parameters
TTToken Type: the data type of the Type property of ISimpleToken<LaType> (one often uses int).

Properties

int Length [get]
 
TokenKind Kind [get]
 
IListSource< IToken< TT > > Children [get]
 
- Properties inherited from Loyc.Syntax.Lexing.ISimpleToken< TT >
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...
 

Public Member Functions

IToken< TT > WithType (int type)
 
IToken< TT > WithValue (object value)