[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Expressions.FunctionNode

FunctionNode Class

Represents a function call expression in a syntax tree.

A FunctionNode stores the function name and inherits child-node support from NonTerminalNode so the function arguments can be represented as nested syntax nodes.

Inheritance
FunctionNode
Implements
Namespace: GrapeCity.Documents.Excel.Expressions
Assembly: DS.Documents.Excel.dll
Syntax
public class FunctionNode : NonTerminalNode, ICloneable
Public Class FunctionNode
    Inherits NonTerminalNode
    Implements ICloneable
Examples
FunctionNode functionNode = new FunctionNode("COUNTIF");
functionNode.Children.Add(SyntaxNode.Parse("A:A"));
functionNode.Children.Add(SyntaxNode.Parse("\"*?\""));
string name = functionNode.Name;
int argumentCount = functionNode.Children.Count;

Constructors

Name Description
FunctionNode(string)

Creates a new FunctionNode a function name.

Properties

Name Description
Name

Gets or sets the name of the function.

This property stores the function identifier represented by this FunctionNode.