Class: Assignment
Represents an assignment operation, binding a value to a variable.
Example
ts
count = count + 1Constructors
Constructor
new Assignment(
identifier,expression,loc?):Assignment
Parameters
| Parameter | Type |
|---|---|
identifier | SymbolPrimitive |
expression | Expression |
loc? | SourceLocation |
Returns
Assignment
Overrides
ASTNode.constructor