Skip to content

Class: Variable

Represents a variable usage or reference in an expression.

Constructors

Constructor

new Variable(identifier, expression, variableType?, loc?): Variable

Parameters

ParameterType
identifierSymbolPrimitive
expressionExpression
variableType?Type
loc?SourceLocation

Returns

Variable

Overrides

ASTNode.constructor