AdditiveExpr

Represents an arithmetic addition or subtraction expression

Properties

Link copied to clipboard
abstract val left: Expression

The left value being compared

Link copied to clipboard

The type of additive operation (i.e., the operator)

Link copied to clipboard
abstract val right: Expression

The right value being compared

Functions

Link copied to clipboard
open override fun <T> accept(visitor: ExpressionVisitor<T>): T

Accepts a visitor that is traversing an expression tree by dispatching to a subtype implementation. Subtype implementations MUST call the ExpressionVisitor.visit overload for their concrete type (effectively forming a double dispatch) and MUST return the resulting value.