[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Expressions.OperatorNode

OperatorNode Class

Represents an operator call expression in a formula syntax tree.

An OperatorNode is a non-terminal syntax node whose operator type is defined by an OperatorKind. Use this class to inspect or modify the operator associated with an expression node.

Inheritance
OperatorNode
Implements
Namespace: GrapeCity.Documents.Excel.Expressions
Assembly: DS.Documents.Excel.dll
Syntax
public class OperatorNode : NonTerminalNode, ICloneable
Public Class OperatorNode
    Inherits NonTerminalNode
    Implements ICloneable
Examples
OperatorNode node = new OperatorNode(OperatorKind.Addition);
node.Kind = OperatorKind.Subtraction;
OperatorKind kind = node.Kind;

Constructors

Name Description
OperatorNode(OperatorKind)

Creates a new OperatorNode from the type of the operator.

This constructor initializes the node with the specified OperatorKind.

Properties

Name Description
Kind

Gets or sets the type of the operator.

This property stores the OperatorKind associated with this OperatorNode.