Click or drag to resize

UnbufferedTokenStream Methods

The UnbufferedTokenStream type exposes the following members.

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
See Also