Class SyntaxTree
Describes syntax structure of code text.
public class SyntaxTree : ISyntaxTree
- Inheritance
-
SyntaxTree
- Implements
Constructors
- SyntaxTree()
Initializes a new instance of the
SyntaxTree
class with default settings.
Properties
- Current
Represents current
ISyntaxNode
(node on top of the stack) in the node collection.
- Root
Represents root level
ISyntaxNode
in this syntax tree.
Methods
- BlockDeleting(Rectangle)
Removes all nodes from the node collection which position in the specified rectangle.
- Clear()
Removes all nodes from
SyntaxTree
node collection.
- FindNode(ISyntaxNode, IComparer<ISyntaxNode>)
Finds specified node.
- FindNodes(ISyntaxNode, IComparer<ISyntaxNode>, ISyntaxNodes)
Locates all nodes matching search criteria.
- Pop()
Removes last added node from the stack of nodes.
- PositionChanged(int, int, int, int)
Changes positions of any syntax nodes and its elements located next to the specified position.
- Push(ISyntaxNode)
Adds specified node to the stack of nodes.
- Sort(IComparer<ISyntaxNode>)
Sorts all
ISyntaxNode
in the node collection using the specified comparer.