Свойство | Тип | Описание | |
---|---|---|---|
Error | |||
Line | int | ||
LinePos | int | ||
Token | string | ||
Type | TokenType |
Метод | Описание | |
---|---|---|
CheckSymbol ( string symbol ) : void |
Ensures that the current TokenType is a symbol equal to the given symbol. Will raise a LexerException if it is not. |
|
CheckType ( TokenType token ) : void |
Ensures that the current TokenType is of the given type. Will raise a LexerException if it is not. |
|
DebugCheckSymbol ( string symbol ) : void | ||
DebugCheckType ( TokenType token ) : void | ||
IsSymbol ( string symbol ) : bool |
Return true if the token's type is Symbol it matches the given symbol.
|
public CheckSymbol ( string symbol ) : void | ||
symbol | string | |
Результат | void |
public CheckType ( TokenType token ) : void | ||
token | TokenType | |
Результат | void |
public DebugCheckSymbol ( string symbol ) : void | ||
symbol | string | |
Результат | void |
public DebugCheckType ( TokenType token ) : void | ||
token | TokenType | |
Результат | void |