[]
        
(Showing Draft Content)

GC.Spread.CalcEngine.Expression

类: Expression

Spread.CalcEngine.Expression

Table of contents

构造方法

属性

构造方法

constructor

new Expression(type)

表达树节点的抽象基类 代码示例

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

参数

属性名 类型
type ExpressionType

属性

type

type: ExpressionType

表达式类型 代码示例

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