Class: ArithmeticUnaryOperation
Represents a unary arithmetic operation like negation (-x).
Constructors
Constructor
new ArithmeticUnaryOperation(
operator,operand,loc?):ArithmeticUnaryOperation
Parameters
| Parameter | Type |
|---|---|
operator | ArithmeticUnaryOperator |
operand | Expression |
loc? | SourceLocation |
Returns
ArithmeticUnaryOperation
Overrides
ASTNode.constructor