Class UnaryOperatorNode
- Namespace
- OpenLanguage.SpreadsheetML.Formula.Ast
- Assembly
- OpenLanguage.dll
public abstract class UnaryOperatorNode : ExpressionNode
- Inheritance
-
UnaryOperatorNode
- Derived
- Inherited Members
Constructors
UnaryOperatorNode(ExpressionNode, ExpressionNode, List<Node>?, List<Node>?)
protected UnaryOperatorNode(ExpressionNode op, ExpressionNode operand, List<Node>? leadingWhitespace = null, List<Node>? trailingWhitespace = null)
Parameters
op
ExpressionNodeoperand
ExpressionNodeleadingWhitespace
List<Node>trailingWhitespace
List<Node>
Properties
Operand
public ExpressionNode Operand { get; set; }
Property Value
Operator
public ExpressionNode Operator { get; set; }
Property Value
Methods
Children<O>()
public override IEnumerable<O> Children<O>() where O : Node
Returns
- IEnumerable<O>
Type Parameters
O
ReplaceChild(int, Node)
public override Node? ReplaceChild(int index, Node replacement)
Parameters
Returns
ToRawString()
Renders the core content of the node without its own leading/trailing whitespace.
public override string ToRawString()
Returns
- string
The raw string representation of this node's specific content.