Skip to content

Class: Assignment ​

Represents an assignment operation, binding a value to a variable.

Example ​

ts
count = count + 1

Constructors ​

Constructor ​

new Assignment(identifier, expression, loc?): Assignment

Parameters ​

ParameterType
identifierSymbolPrimitive
expressionExpression
loc?SourceLocation

Returns ​

Assignment

Overrides ​

ASTNode.constructor