HUCTLp / com.github.sybila.huctl / Expression / Add

Add

data class Add : Expression, Binary<Add, Expression>

Addition: A + B

Constructors

<init> Add(left: Expression, right: Expression)

Addition: A + B

Properties

left val left: Expression

The child of this element which is the root of the left subtree.

right val right: Expression

The child of this element which is the root of the right subtree.

Inherited Properties

node open val node: Expression

Expression is also the node in the tree, so node == this

Functions

toString fun toString(): String

Return string which uniquely represents this expression and can be parsed to create an equivalent object.