[]
        
(Showing Draft Content)

GC.Spread.CalcEngine.Expression

Class: Expression

Spread.CalcEngine.Expression

Table of contents

Constructors

Properties

Constructors

constructor

new Expression(type)

Provides the base class from which the classes that represent expression tree nodes are derived. This is an abstract class.

example

// the below code will return a Expression
GC.Spread.Sheets.CalcEngine.formulaToExpression(sheet, "=1");

Parameters

Name Type
type ExpressionType

Properties

type

type: ExpressionType

Indicates the expression type

example

console.log(GC.Spread.Sheets.CalcEngine.formulaToExpression(sheet, "=1").type === GC.Spread.CalcEngine.ExpressionType.number);