Click or drag to resize

TreeVisitor Class

Do a depth first walk of a tree, applying pre() and post() actions as we go.
Inheritance Hierarchy
SystemObject
  Stimulsoft.Data.Expressions.Antlr.Runtime.TreeTreeVisitor

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
public class TreeVisitor

The TreeVisitor type exposes the following members.

Constructors
  NameDescription
Public methodTreeVisitor
Initializes a new instance of the TreeVisitor class
Public methodTreeVisitor(ITreeAdaptor)
Initializes a new instance of the TreeVisitor class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVisit(Object, ITreeVisitorAction)
Visit every node in tree t and trigger an action for each node before/after having visited all of its children. Bottom up walk. Execute both actions even if t has no children. Ignore return results from transforming children since they will have altered the child list of this node (their parent). Return result of applying post action to this node.
Public methodVisit(Object, FuncObject, Object, FuncObject, Object)
Top
Fields
  NameDescription
Protected fieldadaptor
Top
See Also