Class NonTokenisedTokenQueue
Token Queue which is not backed by a Tokeniser.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing.Tokens
Assembly: dotNetRDF.dll
Syntax
public class NonTokenisedTokenQueue : TokenQueue, ITokenQueue
Remarks
Designed to be explicitly populated with Tokens for when a Parser needs to be invoked on a subset of the overall Tokens.
Constructors
| Improve this Doc View SourceNonTokenisedTokenQueue()
Creates a new non-Tokenised Queue.
Declaration
public NonTokenisedTokenQueue()
Methods
| Improve this Doc View SourceDequeue()
Removed and returns the first Token from the Queue.
Declaration
public override IToken Dequeue()
Returns
Type | Description |
---|---|
IToken |
Overrides
| Improve this Doc View SourceInitialiseBuffer()
Initialises the Buffer by doing nothing since there is no buffering on this Queue.
Declaration
public override void InitialiseBuffer()
Overrides
| Improve this Doc View SourcePeek()
Gets the first Token from the Queue without removing it.
Declaration
public override IToken Peek()
Returns
Type | Description |
---|---|
IToken | First Token in the Queue. |