Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
ReadNext ( int index ) : bool |
Reads the next token into the specified location within the buffer.
|
public PeekTokenSymbol ( int count ) : string | ||
count | int | |
return | string |
public this ( int index, bool checkActive ) : |
||
index | int | |
checkActive | bool | |
return |