[]
Spread.CalcEngine.Expression
• 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");
Name | Type |
---|---|
type |
ExpressionType |
• type: ExpressionType
Indicates the expression type
example
console.log(GC.Spread.Sheets.CalcEngine.formulaToExpression(sheet, "=1").type === GC.Spread.CalcEngine.ExpressionType.number);