BinaryOpNode: Binary operation AST node

BinaryOpNodeR Documentation

Binary operation AST node

Description

AST node that represents a binary operation (such as '+', '-' etc.), and therefore having two child nodes.

Super class

Node -> BinaryOpNode

Methods

Public methods

Inherited methods

BinaryOpNode$add_child()

Two children

Usage
BinaryOpNode$add_child(val)
Arguments
val

Child Node


BinaryOpNode$to_string()

Get the string representation of the BinaryOpNode

Usage
BinaryOpNode$to_string()

BinaryOpNode$clone()

The objects of this class are cloneable with this method.

Usage
BinaryOpNode$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other parser items: FormulaNode, FunctionNode, GroupNode, Node, NumericNode, ParameterNode, RangeNode, StringNode, SymbolNode, UnaryOpNode


DSLite documentation built on Nov. 12, 2026, 1:07 a.m.