Show / Hide Table of Contents

Class BaseTokenQueue

Abstract base implementation of a Token Queue.
Inheritance
System.Object
BaseTokenQueue
TokenQueue
Implements
ITokenQueue
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 abstract class BaseTokenQueue : ITokenQueue

Fields

| Improve this Doc View Source

_lasttokentype

Type of Last Token dequeued.
Declaration
protected int _lasttokentype
Field Value
Type Description
System.Int32
| Improve this Doc View Source

_tokeniser

Tokeniser used to fill the Token Queue.
Declaration
protected ITokeniser _tokeniser
Field Value
Type Description
ITokeniser
| Improve this Doc View Source

_tracing

Variable indicating whether Tokeniser Tracing is enabled.
Declaration
protected bool _tracing
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

Count

Abstract Definition of Interface Property.
Declaration
public abstract int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

LastTokenType

Gets the Token Type of the last Token dequeued.
Declaration
public int LastTokenType { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Tokeniser

Sets the Tokeniser used by the Queue.
Declaration
public ITokeniser Tokeniser { get; set; }
Property Value
Type Description
ITokeniser
Remarks
Setting the Tokeniser causes the Queue to clear itself.
| Improve this Doc View Source

Tokens

Abstract Definition of Interface Property.
Declaration
public abstract Queue<IToken> Tokens { get; }
Property Value
Type Description
System.Collections.Generic.Queue<IToken>
| Improve this Doc View Source

Tracing

Gets/Sets Tracing for the Token Queue.
Declaration
public bool Tracing { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Clear()

Abstract Definition of Interface Method.
Declaration
public abstract void Clear()
| Improve this Doc View Source

Dequeue()

Abstract Definition of Interface Method.
Declaration
public abstract IToken Dequeue()
Returns
Type Description
IToken
| Improve this Doc View Source

Enqueue(IToken)

Abstract Definition of Interface Method.
Declaration
public abstract void Enqueue(IToken t)
Parameters
Type Name Description
IToken t
| Improve this Doc View Source

InitialiseBuffer()

Abstract Definition of Interface Method.
Declaration
public abstract void InitialiseBuffer()
| Improve this Doc View Source

InitialiseBuffer(Int32)

Abstract Definition of Interface Method.
Declaration
public abstract void InitialiseBuffer(int amount)
Parameters
Type Name Description
System.Int32 amount Buffering Amount.
| Improve this Doc View Source

Peek()

Abstract Definition of Interface Method.
Declaration
public abstract IToken Peek()
Returns
Type Description
IToken

Implements

ITokenQueue

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Fields
    • _lasttokentype
    • _tokeniser
    • _tracing
  • Properties
    • Count
    • LastTokenType
    • Tokeniser
    • Tokens
    • Tracing
  • Methods
    • Clear()
    • Dequeue()
    • Enqueue(IToken)
    • InitialiseBuffer()
    • InitialiseBuffer(Int32)
    • Peek()
  • Implements
  • Extension Methods
Back to top Generated by DocFX