Click or drag to resize

TokenQueue Class

Basic Token Queue which provides no Buffering except in the sense that it queues all possible Tokens when the InitialiseBuffer method is called.
Inheritance Hierarchy

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

The TokenQueue type exposes the following members.

Constructors
  NameDescription
Public methodTokenQueue
Creates a new Token Queue.
Public methodTokenQueue(ITokeniser)
Creates a new Token Queue with the given Tokeniser.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of Tokens in the Queue.
(Overrides BaseTokenQueueCount.)
Public propertyLastTokenType
Gets the Token Type of the last Token dequeued.
(Inherited from BaseTokenQueue.)
Public propertyTokeniser
Sets the Tokeniser used by the Queue.
(Inherited from BaseTokenQueue.)
Public propertyTokens
Gets the underlying Queue of Tokens.
(Overrides BaseTokenQueueTokens.)
Public propertyTracing
Gets/Sets Tracing for the Token Queue.
(Inherited from BaseTokenQueue.)
Top
Methods
  NameDescription
Public methodClear
Empties the Token Queue.
(Overrides BaseTokenQueueClear.)
Public methodDequeue
Removes and returns the first Token from the Queue.
(Overrides BaseTokenQueueDequeue.)
Public methodEnqueue
Adds a Token to the end of the Queue.
(Overrides BaseTokenQueueEnqueue(IToken).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialiseBuffer
Initialises the Token Queue Buffer.
(Overrides BaseTokenQueueInitialiseBuffer.)
Public methodInitialiseBuffer(Int32)
Initialises the Token Queue Buffer to the set Buffer Amount.
(Overrides BaseTokenQueueInitialiseBuffer(Int32).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPeek
Gets the first Token from the Queue without removing it.
(Overrides BaseTokenQueuePeek.)
Protected methodPrintTrace
Internal Helper Method for Tokeniser Tracing.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_lasttokentype
Type of Last Token dequeued.
(Inherited from BaseTokenQueue.)
Protected field_tokeniser
Tokeniser used to fill the Token Queue.
(Inherited from BaseTokenQueue.)
Protected field_tokens
Internal Queue object which this class is a wrapper around.
Protected field_tracing
Variable indicating whether Tokeniser Tracing is enabled.
(Inherited from BaseTokenQueue.)
Top
See Also