data class Add : Expression, Binary<Add, Expression>
Addition: A + B
<init> |
Add(left: Expression, right: Expression)
Addition: A + B |
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. |
node |
open val node: Expression
Expression is also the node in the tree, so |
toString |
fun toString(): String
Return string which uniquely represents this expression and can be parsed to create an equivalent object. |