Click or drag to resize

CommonTreeNodeStream Class

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

Inheritance Hierarchy
SystemObject
  Stimulsoft.Data.Expressions.Antlr.Runtime.MiscFastQueueObject
    Stimulsoft.Data.Expressions.Antlr.Runtime.MiscLookaheadStreamObject
      Stimulsoft.Data.Expressions.Antlr.Runtime.TreeCommonTreeNodeStream

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
[SerializableAttribute]
public class CommonTreeNodeStream : LookaheadStream<Object>, 
	ITreeNodeStream, IIntStream, IPositionTrackingStream

The CommonTreeNodeStream type exposes the following members.

Constructors
  NameDescription
Public methodCommonTreeNodeStream(Object)
Initializes a new instance of the CommonTreeNodeStream class
Public methodCommonTreeNodeStream(ITreeAdaptor, Object)
Initializes a new instance of the CommonTreeNodeStream 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 propertyPreviousElement (Inherited from LookaheadStreamT.)
Public propertyRange
How deep have we gone?
(Inherited from FastQueueT.)
Public propertySourceName
Public propertyTokenStream
Public propertyTreeAdaptor
Public propertyTreeSource
Public propertyUniqueNavigationNodes
Top
Methods
  NameDescription
Public methodClear (Inherited from FastQueueT.)
Public methodConsume
Make sure we have at least one element to remove, even if EOF
(Inherited from LookaheadStreamT.)
Public methodDequeue (Overrides LookaheadStreamTDequeue.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetKnownPositionElement
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasPositionInformation
Public methodIsEndOfFile (Overrides LookaheadStreamTIsEndOfFile(T).)
Public methodLA
Protected methodLB (Inherited from LookaheadStreamT.)
Public methodLT (Inherited from LookaheadStreamT.)
Public methodMark (Inherited from LookaheadStreamT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNextElement (Overrides LookaheadStreamTNextElement.)
Public methodPeek (Inherited from FastQueueT.)
Public methodPop
Public methodPush
Public methodRelease (Inherited from LookaheadStreamT.)
Public methodReplaceChildren
Public methodReset (Overrides LookaheadStreamTReset.)
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(Object, Object)
Public methodToTokenTypeString
For debugging; destructive: moves tree iterator to end.
Top
Fields
  NameDescription
Public fieldStatic memberDEFAULT_INITIAL_BUFFER_SIZE
Public fieldStatic memberINITIAL_CALL_STACK_SIZE
Protected fieldtokens
If this tree (root) was created from a token stream, track it.
Top
See Also