Class ParenthesizedNode
Represents an AST node for a parenthesized expression. 代表括號運算式的 AST 節點。
public class ParenthesizedNode : AstNode
- Inheritance
-
ParenthesizedNode
- Inherited Members
Constructors
ParenthesizedNode(AstNode)
Represents an AST node for a parenthesized expression. 代表括號運算式的 AST 節點。
public ParenthesizedNode(AstNode inner)
Parameters
innerAstNodeThe AST node inside the parentheses. / 括號內部的 AST 節點。
Properties
Inner
Gets the AST node inside the parentheses. 取得括號內部的 AST 節點。
public AstNode Inner { get; }
Property Value
Methods
Evaluate(IEvaluationContext)
Performs evaluate. 執行 Evaluate。
public override object Evaluate(IEvaluationContext context)
Parameters
contextIEvaluationContextThe evaluation context. / 評估內容模型。
Returns
- object
The evaluated result object. / 評估後的結果物件。
GetRanges(IEvaluationContext)
Gets ranges. 取得 Ranges。
public override List<OdfCellRange> GetRanges(IEvaluationContext context)
Parameters
contextIEvaluationContextThe evaluation context. / 評估內容模型。
Returns
- List<OdfCellRange>
The cell range list. / 儲存格範圍清單。
Serialize()
Performs serialize. 執行 Serialize。
public override string Serialize()
Returns
- string
The serialized formula string. / 序列化後的公式字串。