Skip to content

Class: ArithmeticUnaryOperation

Represents a unary arithmetic operation like negation (-x).

Constructors

Constructor

new ArithmeticUnaryOperation(operator, operand, loc?): ArithmeticUnaryOperation

Parameters

ParameterType
operatorArithmeticUnaryOperator
operandExpression
loc?SourceLocation

Returns

ArithmeticUnaryOperation

Overrides

ASTNode.constructor