class

Sheety::AST::BinaryOp

Inherits Sheety::AST::Node < Reference < Object

Binary operation node (e.g., 1 + 2, A1 * B1)

Constructors

new(operator : String, left : Node, right : Node)
Source

Instance methods

expr

Get the expression string for this node

Source
left
Source
left=(left : Node)
Source
operator
Source
operator=(operator : String)
Source
right
Source
right=(right : Node)
Source