AST node that represents a binary operation (such as '+', '-' etc.), and therefore having two child nodes.
DSLite::Node -> BinaryOpNode
add_child()Two children
BinaryOpNode$add_child(val)valChild Node
to_string()Get the string representation of the BinaryOpNode
BinaryOpNode$to_string()
clone()The objects of this class are cloneable with this method.
BinaryOpNode$clone(deep = FALSE)deepWhether to make a deep clone.
Other parser items:
FormulaNode,
FunctionNode,
GroupNode,
Node,
NumericNode,
ParameterNode,
RangeNode,
StringNode,
SymbolNode,
UnaryOpNode