프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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.
|