Method | Description | |
---|---|---|
NextToken ( ) : |
Gets the next token.
|
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
GetMark ( ) : string | ||
ValidateOccurence ( int count, int minOccurs, int maxOccurs ) : void |
protected IsInRange ( char value ) : bool | ||
value | char | The value. |
return | bool |
protected IsInRange ( char first, char last ) : bool | ||
first | char | The first. |
last | char | The last. |
return | bool |
protected La ( int count ) : char | ||
count | int | The number of characters to look ahead. |
return | char |
protected Lexer ( string value ) : System | ||
value | string | The value. |
return | System |
protected Match ( char value, int minOccurs, int maxOccurs ) : void | ||
value | char | The value. |
minOccurs | int | The min occurs. |
maxOccurs | int | The max occurs. |
return | void |
protected MatchRange ( char value ) : void | ||
value | char | The value. |
return | void |
protected MatchRange ( char first, char last ) : void | ||
first | char | The first. |
last | char | The last. |
return | 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. |
return | void |
protected MatchRange ( char value, int minOccurs, int maxOccurs ) : void | ||
value | char | The value. |
minOccurs | int | The min occurs. |
maxOccurs | int | The max occurs. |
return | void |
protected PushState ( int state ) : void | ||
state | int | The state. |
return | void |