Show / Hide Table of Contents

Class BaseTokenQueue

Abstract base implementation of a Token Queue.

Inheritance
object
BaseTokenQueue
TokenQueue
Implements
ITokenQueue
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Tokens
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseTokenQueue : ITokenQueue

Fields

| Edit this page View Source

_lasttokentype

Type of Last Token dequeued.

Declaration
protected int _lasttokentype
Field Value
Type Description
int
| Edit this page View Source

_tokeniser

Tokeniser used to fill the Token Queue.

Declaration
protected ITokeniser _tokeniser
Field Value
Type Description
ITokeniser
| Edit this page View Source

_tracing

Variable indicating whether Tokeniser Tracing is enabled.

Declaration
protected bool _tracing
Field Value
Type Description
bool

Properties

| Edit this page View Source

Count

Abstract Definition of Interface Property.

Declaration
public abstract int Count { get; }
Property Value
Type Description
int
| Edit this page View Source

LastTokenType

Gets the Token Type of the last Token dequeued.

Declaration
public int LastTokenType { get; }
Property Value
Type Description
int
| Edit this page 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.

| Edit this page View Source

Tokens

Abstract Definition of Interface Property.

Declaration
public abstract Queue<IToken> Tokens { get; }
Property Value
Type Description
Queue<IToken>
| Edit this page View Source

Tracing

Gets/Sets Tracing for the Token Queue.

Declaration
public bool Tracing { get; set; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

Clear()

Abstract Definition of Interface Method.

Declaration
public abstract void Clear()
| Edit this page View Source

Dequeue()

Abstract Definition of Interface Method.

Declaration
public abstract IToken Dequeue()
Returns
Type Description
IToken
| Edit this page View Source

Enqueue(IToken)

Abstract Definition of Interface Method.

Declaration
public abstract void Enqueue(IToken t)
Parameters
Type Name Description
IToken t
| Edit this page View Source

InitialiseBuffer()

Abstract Definition of Interface Method.

Declaration
public abstract void InitialiseBuffer()
| Edit this page View Source

InitialiseBuffer(int)

Abstract Definition of Interface Method.

Declaration
public abstract void InitialiseBuffer(int amount)
Parameters
Type Name Description
int amount

Buffering Amount.

| Edit this page View Source

Peek()

Abstract Definition of Interface Method.

Declaration
public abstract IToken Peek()
Returns
Type Description
IToken

Implements

ITokenQueue

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Fields
    • _lasttokentype
    • _tokeniser
    • _tracing
  • Properties
    • Count
    • LastTokenType
    • Tokeniser
    • Tokens
    • Tracing
  • Methods
    • Clear()
    • Dequeue()
    • Enqueue(IToken)
    • InitialiseBuffer()
    • InitialiseBuffer(int)
    • Peek()
  • Implements
  • Extension Methods
Back to top Generated by DocFX