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

Super class

DSLite::Node -> BinaryOpNode

Methods

Inherited methods


Method add_child()

Two children

Usage

BinaryOpNode$add_child(val)

Arguments

val

Child Node


Method to_string()

Get the string representation of the BinaryOpNode

Usage

BinaryOpNode$to_string()


Method clone()

The objects of this class are cloneable with this method.

Usage

BinaryOpNode$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.