Click or drag to resize

SyntaxTree class

Generic tree with parsed logical or arithmetic expression. Function: Evaluates expressions and creates suitable syntax trees.
Inheritance hierarchy
SystemObject
  NetEti.GlobalsGenericTreeSyntaxTree
    NetEti.ExpressionParserSyntaxTree

Namespace: NetEti.ExpressionParser
Assembly: NetEti.ExpressionParser (in NetEti.ExpressionParser.dll) Version: 1.0.0+20609015c2da6e03a80f381a46b367814c82f34b
Syntax
public class SyntaxTree : GenericTree<SyntaxTree>

The SyntaxTree Type exposes the following members.

Properties
 NameDescription of the
Public PropertyChildren List of the children of a node.
(Inherited from GenericTreeT)
Public PropertyNodeName The name of the node.
Public PropertyNodeType The type of node.
Back to the top
Methods
 NameDescription of the
Public MethodClimb2Top Shimmies up through the tree (up to the root) and calls up the action for each node.
(Inherited from GenericTreeT)
Public MethodParse Creates a text expression from a text expression with pre-parsed tokens. equivalent syntax tree.
Public MethodShow Places the SyntaxTree as a tree representation in a StringList.
Public MethodShowFlat Represents the SyntaxTree as a normalised text expression.
Public MethodTraverse(ActionInt32, T) Goes recursively through the tree and calls the action for each node.
(Inherited from GenericTreeT)
Public MethodTraverse(FuncInt32, T, Object, Object) Goes recursively through the tree and calls the action for each node.
(Inherited from GenericTreeT)
Protected MethodTraverse(Int32, ActionInt32, T) Recursive auxiliary routine for the public routine 'Traverse'.
(Inherited from GenericTreeT)
Protected MethodTraverse(Int32, FuncInt32, T, Object, Object, Object) Recursive auxiliary routine for the public routine 'Traverse'.
(Inherited from GenericTreeT)
Back to the top
Fields
 NameDescription of the
Public FieldMother The owner of the node.
(Inherited from GenericTreeT)
Back to the top
Remarks
File: SyntaxTree.cs Author: Erik Nagel, NetEti 17 Oct 2012 Erik Nagel, NetEti: created. 2016-07-09 Erik Nagel, NetEti: If the operator is missing, the identity operator "IS" is inserted.
See also