Method | Description | |
---|---|---|
Advance ( ) : void |
Advance beyond the next character.
|
|
Advance ( int p ) : void |
Advance the specified number of characters.
|
|
EOL ( ) : bool |
Returns true of there are no more characters to read.
|
|
EatWhiteSpace ( ) : void |
Strip any white space from the current position.
|
|
IsIdentifier ( ) : bool |
CHeck to see if the next character is an identifier.
|
|
IsWhiteSpace ( ) : bool |
Returns true if the next character is a white space.
|
|
LookAhead ( String str, bool ignoreCase ) : bool |
Look ahead to see if the specified string is present.
|
|
Mark ( ) : void |
Mark the current position.
|
|
ParseThroughComma ( ) : bool |
Parse through a comma.
|
|
Peek ( ) : char |
Peek ahead to see the next character. But do not advance beyond it.
|
|
ReadChar ( ) : char |
Read the next character.
|
|
ReadQuotedString ( ) : String |
Read a quoted string.
|
|
ReadToWhiteSpace ( ) : String |
Read text up to the next white space.
|
|
Remaining ( ) : int |
The number of characters remaining.
|
|
Reset ( ) : void |
Reset back to the marked position.
|
|
SimpleParser ( String line ) : System |
Construct the object for the specified line.
|
public Advance ( int p ) : void | ||
p | int | The number of characters to advance. |
return | void |
public LookAhead ( String str, bool ignoreCase ) : bool | ||
str | String | The string searching for. |
ignoreCase | bool | True if case is to be ignored. |
return | bool |
public SimpleParser ( String line ) : System | ||
line | String | The line to parse. |
return | System |