Package ast.variable

Types

Link copied to clipboard
class Assignment(val lhs: Expression, val rhs: Expression) : Statement

The assignment of a value to a location. The assignment target can be a variable or field, and can be indexed.

Link copied to clipboard
class VariableDeclaration(    val identifier: Identifier,     val type: Type,     val expression: Expression,     val isConst: Boolean) : Statement

Declares an initialises a variable or constant in the current scope.