Click or drag to resize

BufferedTreeNodeStream Class

A buffered stream of tree nodes. Nodes can be from a tree of ANY kind.
Inheritance Hierarchy
SystemObject
  Stimulsoft.Data.Expressions.Antlr.Runtime.TreeBufferedTreeNodeStream

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
public class BufferedTreeNodeStream : ITreeNodeStream, 
	IIntStream, ITokenStreamInformation

The BufferedTreeNodeStream type exposes the following members.

Constructors
  NameDescription
Public methodBufferedTreeNodeStream(Object)
Initializes a new instance of the BufferedTreeNodeStream class
Public methodBufferedTreeNodeStream(ITreeAdaptor, Object)
Initializes a new instance of the BufferedTreeNodeStream class
Public methodBufferedTreeNodeStream(ITreeAdaptor, Object, Int32)
Initializes a new instance of the BufferedTreeNodeStream class
Top
Properties
Methods
  NameDescription
Protected methodAddNavigationNode
Public methodConsume
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFillBuffer
Public methodFillBuffer(Object)
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 methodGetCurrentSymbol
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetNodeIndex
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIterator
Public methodLA
Protected methodLB
Look backwards k nodes
Public methodLT
Public methodMark
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPop
Seek back to previous index saved during last push() call. Return top of stack (return index).
Public methodPush
Make stream jump to a new location, saving old location. Switch back with pop().
Public methodRelease
Public methodReplaceChildren
Public methodReset
Public methodRewind
Public methodRewind(Int32)
Public methodSeek
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToString(Object, Object)
Public methodToTokenString
Debugging
Public methodToTokenTypeString
Used for testing, just return the token type stream
Top
Fields
  NameDescription
Protected fieldcalls
Stack of indexes used for push/pop calls
Public fieldStatic memberDEFAULT_INITIAL_BUFFER_SIZE
Protected fielddown
Protected fieldeof
Public fieldStatic memberINITIAL_CALL_STACK_SIZE
Protected fieldlastMarker
Track the last mark() call result value for use in rewind().
Protected fieldnodes
The complete mapping from stream index to tree node. This buffer includes pointers to DOWN, UP, and EOF nodes. It is built upon ctor invocation. The elements are type Object as we don't what the trees look like.
Protected fieldp
The index into the nodes list of the current node (next node to consume). If -1, nodes array not filled yet.
Protected fieldroot
Pull nodes from which tree?
Protected fieldtokens
IF this tree (root) was created from a token stream, track it.
Protected fieldup
Top
See Also