LookaheadStreamT Class |
Namespace: Stimulsoft.Data.Expressions.Antlr.Runtime.Misc
[Missing <typeparam name="T"/> documentation for "T:Stimulsoft.Data.Expressions.Antlr.Runtime.Misc.LookaheadStream`1"]
The LookaheadStreamT type exposes the following members.
| Name | Description | |
|---|---|---|
| LookaheadStreamT | Initializes a new instance of the LookaheadStreamT class |
| Name | Description | |
|---|---|---|
| Count | Size of entire stream is unknown; we only know buffer size from FastQueue (Overrides FastQueueTCount.) | |
| EndOfFile | ||
| Index | ||
| Item |
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.) | |
| PreviousElement | ||
| Range |
How deep have we gone?
(Inherited from FastQueueT.) |
| Name | Description | |
|---|---|---|
| Clear | (Inherited from FastQueueT.) | |
| Consume | Make sure we have at least one element to remove, even if EOF | |
| Dequeue |
Get and remove first element in queue; override
{@link FastQueue#remove()}; it's the same, just checks for backtracking.
(Overrides FastQueueTDequeue.) | |
| Enqueue | (Inherited from FastQueueT.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Fill | add n elements to buffer | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsEndOfFile | ||
| LB | ||
| LT | ||
| Mark | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NextElement |
Implement nextElement to supply a stream of elements to this
lookahead buffer. Return EOF upon end of the stream we're pulling from.
| |
| Peek | (Inherited from FastQueueT.) | |
| Release | ||
| Reset | ||
| Rewind | ||
| Rewind(Int32) | ||
| Seek |
Seek to a 0-indexed absolute token index. Normally used to seek backwards
in the buffer. Does not force loading of nodes.
| |
| SyncAhead |
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().
| |
| ToString | Return string of current buffer contents; non-destructive (Inherited from FastQueueT.) |