Name | Description | |
---|---|---|
Parse | Overloaded. Parses the given chars starting from the specified start position and ending at the specified end position (inclusive). |
For a list of all members of this type, see NStringParser members.
Name | Description | |
---|---|---|
Parse | Overloaded. Parses the given chars starting from the specified start position and ending at the specified end position (inclusive). |
Name | Description | |
---|---|---|
CharactersMatch | Overloaded. Checks whether the next characters in the char array match the ones in the given string starting from the current reading position and from the specified position in the string. A case sensitive check is performed. | |
PeekChar | Reads the character at the current position without advancing the parser pointer. | |
ReadChar | Reads the character at the current position as an out parameter and advances the parser pointer. | |
ReadTo | Overloaded. Reads a token from the current position (inclusive) to the first occurrence of the given stop char (exclusive). The position of the first occurrence of the stop char becomes the new reading position. Returns false if the parser has reached its end position. | |
ReadToCloseChar | Reads to the given close char, regarding other open and close chars as nested scopes. For example the following string will be read as a single token and not only to the first closing brace: { p.test { font-family:verdana,sans-serif;font-size:14px; } } | |
SkipChar | Skips 1 character. | |
SkipWhiteSpaces | Reads until a non white space char is met. The parser's position is then positioned at this non white space character position. | |
Trim | Trims the leading and trailing white space characters and updates the start and end indexes. |