Click or drag to resize

TurtleTokeniser Class

A Class for Reading an Input Stream and generating Turtle Tokens from it.
Inheritance Hierarchy

Namespace:  VDS.RDF.Parsing.Tokens
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class TurtleTokeniser : BaseTokeniser

The TurtleTokeniser type exposes the following members.

Constructors
  NameDescription
Public methodTurtleTokeniser(StreamReader)
Creates a new Turtle Tokeniser.
Public methodTurtleTokeniser(TextReader)
Creates a new Turtle Tokeniser.
Public methodTurtleTokeniser(ParsingTextReader)
Creates a new Turtle Tokeniser.
Public methodTurtleTokeniser(StreamReader, TurtleSyntax)
Creates a new Turtle Tokeniser.
Public methodTurtleTokeniser(TextReader, TurtleSyntax)
Creates a new Turtle Tokeniser.
Public methodTurtleTokeniser(ParsingTextReader, TurtleSyntax)
Creates a new Turtle Tokeniser.
Top
Properties
  NameDescription
Protected propertyCurrentLine
Gets the Current Line in the Input Stream.
(Inherited from BaseTokeniser.)
Protected propertyCurrentPosition
Gets the Current Position in the Input Stream.
(Inherited from BaseTokeniser.)
Protected propertyEndLine
Gets the End Line in the Input Stream of the current Token.
(Inherited from BaseTokeniser.)
Protected propertyEndPosition
Gets the End Position in the Input Stream of the current Token.
(Inherited from BaseTokeniser.)
Protected propertyFormat
Gets/Sets the Format that this Tokeniser is used for.
(Inherited from BaseTokeniser.)
Protected propertyHasBacktracked
Gets whether the Tokeniser has backtracked.
(Inherited from BaseTokeniser.)
Protected propertyLastTokenType
Gets/Sets the Last Token Type.
(Inherited from BaseTokeniser.)
Protected propertyLength
Gets the current length of the Output Buffer.
(Inherited from BaseTokeniser.)
Protected propertyStartLine
Gets the Start Line in the Input Stream of the current Token.
(Inherited from BaseTokeniser.)
Protected propertyStartPosition
Gets the Start Position in the Input Stream of the current Token.
(Inherited from BaseTokeniser.)
Protected propertyValue
Gets the value of the Output Buffer.
(Inherited from BaseTokeniser.)
Top
Methods
  NameDescription
Protected methodBacktrack
Allows you to Backtrack one character (and no more).
(Inherited from BaseTokeniser.)
Protected methodConsumeCharacter
Consumes a single Character into the Output Buffer and increments the Position Counters.
(Inherited from BaseTokeniser.)
Protected methodConsumeCharacter(Boolean)
Consumes a single Character into the Output Buffer and increments the Position Counters.
(Inherited from BaseTokeniser.)
Protected methodConsumeNewLine(Boolean)
Consumes a New Line (which may be a single \n or \r or the two characters following each other).
(Inherited from BaseTokeniser.)
Protected methodConsumeNewLine(Boolean, Boolean)
Consumes a New Line (which may be a single \n or \r or the two characters following each other).
(Inherited from BaseTokeniser.)
Protected methodDiscardWhiteSpace
Helper function which discards White Space which the Tokeniser doesn't care about and increments position counters correctly.
(Inherited from BaseTokeniser.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodError
Helper Function for generating Standardised Parser Errors.
(Inherited from BaseTokeniser.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextToken
Gets the next parseable Token from the Input or raises an Error.
(Overrides BaseTokeniserGetNextToken.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleComplexLocalNameEscapes
Handles the complex escapes that can occur in a local name.
(Inherited from BaseTokeniser.)
Protected methodHandleEscapes
Handles the standard escapes supported in all the UTF-8 based RDF serializations.
(Inherited from BaseTokeniser.)
Protected methodIsHexDigit
Determines whether a given Character can be valid as a Hex Digit.
(Inherited from BaseTokeniser.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodPeek
Peeks at the next Character.
(Inherited from BaseTokeniser.)
Protected methodSkipCharacter
Skips a single Character and increments the Position Counters.
(Inherited from BaseTokeniser.)
Protected methodStartNewToken
Informs the Helper that you wish to start reading a new Token.
(Inherited from BaseTokeniser.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUnexpectedCharacter
Helper Function for generating Standardised Parser Errors about unexpected characters.
(Inherited from BaseTokeniser.)
Protected methodUnexpectedEndOfInput
Helper Function for generating Standardised Parser Errors about unexpected end of input.
(Inherited from BaseTokeniser.)
Protected methodUnexpectedNewLine
Helper Function for generating Standardised Parser Errors about unexpected new lines.
(Inherited from BaseTokeniser.)
Protected methodUnexpectedToken
Helper Function for generating Standardised Parser Errors about unexpected tokens.
(Inherited from BaseTokeniser.)
Top
See Also