메소드 | 설명 | |
---|---|---|
Lexer ( string input ) : System | It is an error to access the current TokenType until NextToken has been called. | |
NextToken ( ) : |
Advances the current token.
|
|
PeekToken ( int count ) : |
Gets the symbol the specified number of tokens ahead without advancing the current token. If the token is not a symbol, returns an empty string. |
|
PeekTokenSymbol ( int count ) : string |
Gets the symbol the specified number of tokens ahead without advancing the current token. If the token is not a symbol, returns an empty string. |
|
this ( int index ) : |
||
this ( int index, bool checkActive ) : |
The token a specific number of tokens ahead of the current token.
|
메소드 | 설명 | |
---|---|---|
ReadNext ( int index ) : bool |
Reads the next token into the specified location within the buffer.
|
public this ( int index, bool checkActive ) : |
||
index | int | |
checkActive | bool | |
리턴 |