BaseTokeniser Class |
Namespace: VDS.RDF.Parsing.Tokens
The BaseTokeniser type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseTokeniser |
Constructor for the BaseTokeniser which takes in a TextReader that the Tokeniser will generate Tokens from.
|
| Name | Description | |
|---|---|---|
| CurrentLine |
Gets the Current Line in the Input Stream.
| |
| CurrentPosition |
Gets the Current Position in the Input Stream.
| |
| EndLine |
Gets the End Line in the Input Stream of the current Token.
| |
| EndPosition |
Gets the End Position in the Input Stream of the current Token.
| |
| Format |
Gets/Sets the Format that this Tokeniser is used for.
| |
| HasBacktracked |
Gets whether the Tokeniser has backtracked.
| |
| LastTokenType |
Gets/Sets the Last Token Type.
| |
| Length |
Gets the current length of the Output Buffer.
| |
| StartLine |
Gets the Start Line in the Input Stream of the current Token.
| |
| StartPosition |
Gets the Start Position in the Input Stream of the current Token.
| |
| Value |
Gets the value of the Output Buffer.
|
| Name | Description | |
|---|---|---|
| Backtrack |
Allows you to Backtrack one character (and no more).
| |
| ConsumeCharacter() |
Consumes a single Character into the Output Buffer and increments the Position Counters.
| |
| ConsumeCharacter(Boolean) |
Consumes a single Character into the Output Buffer and increments the Position Counters.
| |
| ConsumeNewLine(Boolean) |
Consumes a New Line (which may be a single \n or \r or the two characters following each other).
| |
| ConsumeNewLine(Boolean, Boolean) |
Consumes a New Line (which may be a single \n or \r or the two characters following each other).
| |
| DiscardWhiteSpace |
Helper function which discards White Space which the Tokeniser doesn't care about and increments position counters correctly.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Error |
Helper Function for generating Standardised Parser Errors.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetNextToken |
Gets the Next available Token from the Input.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HandleComplexLocalNameEscapes |
Handles the complex escapes that can occur in a local name.
| |
| HandleEscapes |
Handles the standard escapes supported in all the UTF-8 based RDF serializations.
| |
| IsHexDigit |
Determines whether a given Character can be valid as a Hex Digit.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Peek |
Peeks at the next Character.
| |
| SkipCharacter |
Skips a single Character and increments the Position Counters.
| |
| StartNewToken |
Informs the Helper that you wish to start reading a new Token.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UnexpectedCharacter |
Helper Function for generating Standardised Parser Errors about unexpected characters.
| |
| UnexpectedEndOfInput |
Helper Function for generating Standardised Parser Errors about unexpected end of input.
| |
| UnexpectedNewLine |
Helper Function for generating Standardised Parser Errors about unexpected new lines.
| |
| UnexpectedToken |
Helper Function for generating Standardised Parser Errors about unexpected tokens.
|