Construct a new Expression object given an ID and reference.
Without an ID, you can still call getExpressionInfo(expr), which will compute the ID and construct an Expression object from there.
getExpressionInfo(expr)
the expression “kind” id
the expression reference
Protected
Readonly
The underlying C-API pointer of the wrapped expression.
Adds to this object enumerable own properties that are computed from getter methods. Useful when calling JSON.stringify:
JSON.stringify
JSON.stringify(exprInfo.toJson()); Copy
JSON.stringify(exprInfo.toJson());
Construct a new Expression object given an ID and reference.
Without an ID, you can still call
getExpressionInfo(expr), which will compute the ID and construct an Expression object from there.