UnaryOperationToken
Implements

Description

Token that represents the unary operations for expressions.

Constructor

UnaryOperationToken( operator: "!" | "+" | "-", operand: PrimaryExpressionToken )

Parameters

NameTypeDescription
"!" | "+" | "-"
PrimaryExpressionToken

Properties

token: "unaryOperation"
operator: "!" | "+" | "-"

Methods

toString( spaces?: number ): string

Parameters

NameTypeDescription
number