void Add(SyntaxNode child) |
Adds a child node. |
void Clear() |
Removes all children and words associated with this node. |
object ICloneable.Clone() |
duplicates SyntaxNode |
SyntaxNode Find(Predicate<SyntaxNode> match) |
Finds first node, matching the predicate, down the tree graph. |
SyntaxNode Find(Traverse traverse, Predicate<SyntaxNode> match) |
Finds first node, matching the predicate.
Traverses the tree graph beginning from this node as specified in the first parameter.
|
SyntaxNode[] FindAll(Predicate<SyntaxNode> match) |
Finds all nodes, matching the predicate, down the tree graph. |
SyntaxNode[] FindAll(Traverse traverse, Predicate<SyntaxNode> match) |
Finds all nodes matching the predicate.
Traverses the tree graph beginning from this node as specified in the first parameter. |
void ForEach(Action<SyntaxNode> action) |
Executes the action down the tree graph. |
void ForEach(Traverse traverse, Action<SyntaxNode> action) |
Executes the action going through tree graph as specified by traverse parameter. |
(IEnumerator<SyntaxNode> GetEnumerator() |
Enumerates direct children. |
void Insert(int index, SyntaxNode child) |
Inserts a child node at specified index. |
bool Remove(SyntaxNode child) |
Removes the child node, returns true if node was found. |
void RemoveAt(int index) |
Removes child node at zero-based index. |
void Sort(IComparer<SyntaxNode> comparer) |
Sorts underlying tree graph. |
void Sort(Traverse traverse, IComparer<SyntaxNode> comparer) |
Sorts tree graph in the direction specified by traverse parameter. |
void Sort(Comparison<SyntaxNode> comparison) |
Sorts underlying tree graph. |
void Sort(Traverse traverse, Comparison<SyntaxNode> comparison) |
Sorts tree graph in the direction specified by traverse parameter. |