Class NonTokenisedTokenQueue
Token Queue which is not backed by a Tokeniser.
Implements
Inherited Members
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
| Edit this page View SourceNonTokenisedTokenQueue()
Creates a new non-Tokenised Queue.
Declaration
public NonTokenisedTokenQueue()
Methods
| Edit this page View SourceDequeue()
Removed and returns the first Token from the Queue.
Declaration
public override IToken Dequeue()
Returns
Type | Description |
---|---|
IToken |
Overrides
| Edit this page View SourceInitialiseBuffer()
Initialises the Buffer by doing nothing since there is no buffering on this Queue.
Declaration
public override void InitialiseBuffer()
Overrides
| Edit this page 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. |