BinaryExpression

data class BinaryExpression(val left: Expression, val operator: BinaryOperator, val right: Expression) : Expression

Binary Expression. Takes an operator and combines two operand Expressions.

Parameters

left

The left Expression operand of the binary expression.

right

The right Expression operand of the binary expression.

operator

The BinaryOperator that applies to the two operands.

Constructors

Link copied to clipboard
constructor(left: Expression, operator: BinaryOperator, right: Expression)

Functions

Link copied to clipboard

Returns a list of strings of the identifiers of all the variables that this expression references.

Link copied to clipboard

Does this expression reference any variables?

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard