Click or drag to resize

UnbufferedTokenStream Class

[Missing <summary> documentation for "T:Stimulsoft.Data.Expressions.Antlr.Runtime.UnbufferedTokenStream"]

Inheritance Hierarchy
SystemObject
  Stimulsoft.Data.Expressions.Antlr.Runtime.MiscFastQueueIToken
    Stimulsoft.Data.Expressions.Antlr.Runtime.MiscLookaheadStreamIToken
      Stimulsoft.Data.Expressions.Antlr.RuntimeUnbufferedTokenStream

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
public class UnbufferedTokenStream : LookaheadStream<IToken>, 
	ITokenStream, IIntStream, ITokenStreamInformation

The UnbufferedTokenStream type exposes the following members.

Constructors
  NameDescription
Public methodUnbufferedTokenStream
Initializes a new instance of the UnbufferedTokenStream class
Top
Properties
  NameDescription
Public propertyCount
Size of entire stream is unknown; we only know buffer size from FastQueue
(Inherited from LookaheadStreamT.)
Public propertyEndOfFile (Inherited from LookaheadStreamT.)
Public propertyIndex (Inherited from LookaheadStreamT.)
Public propertyItem
Return element {@code i} elements ahead of current element. {@code i==0} gets current element. This is not an absolute index into {@link #data} since {@code p} defines the start of the real list.
(Inherited from FastQueueT.)
Public propertyLastRealToken
Public propertyLastToken
Public propertyMaxLookBehind
Public propertyPreviousElement (Inherited from LookaheadStreamT.)
Public propertyRange
How deep have we gone?
(Inherited from FastQueueT.)
Public propertySourceName
Public propertyTokenSource
Top
Methods
  NameDescription
Public methodClear (Overrides FastQueueTClear.)
Public methodConsume (Overrides LookaheadStreamTConsume.)
Public methodDequeue
Get and remove first element in queue; override {@link FastQueue#remove()}; it's the same, just checks for backtracking.
(Inherited from LookaheadStreamT.)
Public methodEnqueue (Inherited from FastQueueT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFill
add n elements to buffer
(Inherited from LookaheadStreamT.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsEndOfFile (Overrides LookaheadStreamTIsEndOfFile(T).)
Public methodLA
Protected methodLB (Inherited from LookaheadStreamT.)
Public methodLT (Inherited from LookaheadStreamT.)
Public methodMark (Overrides LookaheadStreamTMark.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNextElement (Overrides LookaheadStreamTNextElement.)
Public methodPeek (Inherited from FastQueueT.)
Public methodRelease (Overrides LookaheadStreamTRelease(Int32).)
Public methodReset (Inherited from LookaheadStreamT.)
Public methodRewind (Inherited from LookaheadStreamT.)
Public methodRewind(Int32) (Inherited from LookaheadStreamT.)
Public methodSeek
Seek to a 0-indexed absolute token index. Normally used to seek backwards in the buffer. Does not force loading of nodes.
(Inherited from LookaheadStreamT.)
Protected methodSyncAhead
Make sure we have 'need' elements from current position p. Last valid p index is data.size()-1. p+need-1 is the data index 'need' elements ahead. If we need 1 element, (p+1-1)==p must be < data.size().
(Inherited from LookaheadStreamT.)
Public methodToString
Return string of current buffer contents; non-destructive
(Inherited from FastQueueT.)
Public methodToString(Int32, Int32)
Public methodToString(IToken, IToken)
Top
Fields
See Also