Метод | Описание | |
---|---|---|
NextToken ( ) : |
Gets the next token.
|
Метод | Описание | |
---|---|---|
Consume ( ) : void |
Consumes the next character.
|
|
IsInRange ( char value ) : bool |
Determines whether the current character is in given range.
|
|
IsInRange ( char first, char last ) : bool |
Determines whether the current character is in given range.
|
|
Keep ( ) : void | ||
La ( int count ) : char |
Performs a look-ahead.
|
|
Lexer ( string value ) : System |
Initializes a new instance of the T:Lexer class.
|
|
Mark ( ) : void |
Marks the current position.
|
|
Match ( [ value ) : void |
Matches the specified string.
|
|
Match ( char value ) : void |
Matches the specified character.
|
|
Match ( char value, int minOccurs, int maxOccurs ) : void |
Matches the specified character.
|
|
MatchRange ( char value ) : void |
Matches the range.
|
|
MatchRange ( char first, char last ) : void |
Matches the range.
|
|
MatchRange ( char first, char last, int minOccurs, int maxOccurs ) : void |
Matches the range.
|
|
MatchRange ( char value, int minOccurs, int maxOccurs ) : void |
Matches the range.
|
|
PopState ( ) : int |
Pops the state.
|
|
PushState ( int state ) : void |
Pushes a new state on the stac.
|
|
Restore ( ) : void |
Метод | Описание | |
---|---|---|
GetMark ( ) : string | ||
ValidateOccurence ( int count, int minOccurs, int maxOccurs ) : void |
protected IsInRange ( char value ) : bool | ||
value | char | The value. |
Результат | bool |
protected IsInRange ( char first, char last ) : bool | ||
first | char | The first. |
last | char | The last. |
Результат | bool |
protected La ( int count ) : char | ||
count | int | The number of characters to look ahead. |
Результат | char |
protected Lexer ( string value ) : System | ||
value | string | The value. |
Результат | System |
protected Match ( char value, int minOccurs, int maxOccurs ) : void | ||
value | char | The value. |
minOccurs | int | The min occurs. |
maxOccurs | int | The max occurs. |
Результат | void |
protected MatchRange ( char value ) : void | ||
value | char | The value. |
Результат | void |
protected MatchRange ( char first, char last ) : void | ||
first | char | The first. |
last | char | The last. |
Результат | void |
protected MatchRange ( char first, char last, int minOccurs, int maxOccurs ) : void | ||
first | char | The first. |
last | char | The last. |
minOccurs | int | The min occurs. |
maxOccurs | int | The max occurs. |
Результат | void |
protected MatchRange ( char value, int minOccurs, int maxOccurs ) : void | ||
value | char | The value. |
minOccurs | int | The min occurs. |
maxOccurs | int | The max occurs. |
Результат | void |
protected PushState ( int state ) : void | ||
state | int | The state. |
Результат | void |