[]
Represents a non-terminal node in a formula syntax tree.
A NonTerminalNode is a SyntaxNode that can contain one or more
child nodes. It serves as the base type for composite syntax elements, such as
function calls, operators, and parenthesized expressions, where the expression
structure is represented by nested SyntaxNode instances.
The child collection returned by Children contains the immediate descendants of this node and is used to build and traverse the syntax tree.
public abstract class NonTerminalNode : SyntaxNode, ICloneable
Public MustInherit Class NonTerminalNode
Inherits SyntaxNode
Implements ICloneable
SyntaxNode node = SyntaxNode.Parse("SUM(A1,B1)");
NonTerminalNode nonTerminalNode = (NonTerminalNode)node;
IList<SyntaxNode> children = nonTerminalNode.Children;
SyntaxNode firstChild = children[0];
string firstArgument = firstChild.ToString();
| Name | Description |
|---|---|
| NonTerminalNode() |
| Name | Description |
|---|---|
| Children | Gets the immediate child nodes of this non-terminal node.
Use this property to inspect the nested structure of a composite formula expression,
such as a function call, operator expression, or parenthesized expression. The returned
list is this node's child collection, and its elements are not |