[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Expressions.NonTerminalNode.Children

Children Property

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 null.

Declaration
public override IList<SyntaxNode> Children { get; }
Public Overrides ReadOnly Property Children As IList(Of SyntaxNode)
Property Value
Type Description
IList<SyntaxNode>

A list containing the immediate child nodes of this non-terminal node.

Overrides
Examples
SyntaxNode node = SyntaxNode.Parse("SUM(A1,B1)");
NonTerminalNode nonTerminalNode = (NonTerminalNode) node;
IList<SyntaxNode> children = nonTerminalNode.Children;
SyntaxNode firstChild = children[0];
string firstArgument = firstChild.ToString();