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
| Improve this Doc View SourceNonTokenisedTokenQueue()
Creates a new non-Tokenised Queue.
Declaration
public NonTokenisedTokenQueue()
Remarks
Designed to be explicitly populated with Tokens for when a Parser needs to be invoked on a subset of the overall Tokens.
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
Remarks
Designed to be explicitly populated with Tokens for when a Parser needs to be invoked on a subset of the overall Tokens.
InitialiseBuffer()
Initialises the Buffer by doing nothing since there is no buffering on this Queue.
Declaration
public override void InitialiseBuffer()
Overrides
Remarks
Designed to be explicitly populated with Tokens for when a Parser needs to be invoked on a subset of the overall Tokens.
Peek()
Gets the first Token from the Queue without removing it.
Declaration
public override IToken Peek()
Returns
Type | Description |
---|---|
IToken | First Token in the Queue. |
Overrides
Remarks
Designed to be explicitly populated with Tokens for when a Parser needs to be invoked on a subset of the overall Tokens.