Table of Contents

Class BinaryOperatorNode

Namespace
OpenLanguage.SpreadsheetML.Formula.Ast
Assembly
OpenLanguage.dll
public abstract class BinaryOperatorNode : ExpressionNode
Inheritance
BinaryOperatorNode
Derived
Inherited Members

Constructors

BinaryOperatorNode(ExpressionNode, ExpressionNode, ExpressionNode, List<Node>?, List<Node>?)

protected BinaryOperatorNode(ExpressionNode left, ExpressionNode op, ExpressionNode right, List<Node>? leadingWhitespace = null, List<Node>? trailingWhitespace = null)

Parameters

left ExpressionNode
op ExpressionNode
right ExpressionNode
leadingWhitespace List<Node>
trailingWhitespace List<Node>

Properties

Left

public ExpressionNode Left { get; set; }

Property Value

ExpressionNode

Operator

public ExpressionNode Operator { get; set; }

Property Value

ExpressionNode

Right

public ExpressionNode Right { get; set; }

Property Value

ExpressionNode

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

index int
replacement Node

Returns

Node

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.