Метод | Описание | |
---|---|---|
Add ( int index, TokenType type, string value ) : void | ||
Backtrack ( ) : void | ||
Consume ( ) : void | ||
ConsumeBlockBackward ( ) : void | ||
ConsumeBlockForward ( ) : void | ||
CurrentIndex ( ) : int | ||
GotoToken ( |
||
HasNext ( ) : bool | ||
HasPrevious ( ) : bool | ||
Next ( ) : |
||
Next ( int ahead ) : |
||
Previous ( ) : |
||
TokenList ( ) : System | ||
TokenList ( |
Creates a new token list by cloning outerTokens with a specified range (range is exclusive, not inclusive)
|
|
TokenList ( string code, IEnumerable |
||
TokenList ( string code, IEnumerable |
Метод | Описание | |
---|---|---|
EatWhitespace ( string code, Position position ) : void | ||
GenerateList ( string code, int startLine, int startPosition ) : void | ||
IsKeyword ( string identifier ) : bool | ||
ParseComments ( string code, Position position, bool recurse ) : int | ||
ParseNumricConstant ( string code, Position position, List |
||
ParseStringConstant ( string code, Position position, List |
public Add ( int index, TokenType type, string value ) : void | ||
index | int | |
type | TokenType | |
value | string | |
Результат | void |
public TokenList ( |
||
outerTokens | ||
fromToken | int | |
toToken | int | |
Результат | System |
public TokenList ( string code, IEnumerable |
||
code | string | |
keywords | IEnumerable |
|
Результат | System |
public TokenList ( string code, IEnumerable |
||
code | string | |
keywords | IEnumerable |
|
startLine | int | |
startPosition | int | |
Результат | System |