UnaryOperationTokenImplements
Implements
Description
Token that represents the unary operations for expressions.
Constructor
UnaryOperationToken( operator: "!" | "+" | "-", operand: PrimaryExpressionToken )
Parameters
Name | Type | Description |
---|---|---|
"!" | "+" | "-" | ||
PrimaryExpressionToken |
Properties
token: "unaryOperation"
operator: "!" | "+" | "-"
operand: PrimaryExpressionToken
Methods
toString( spaces?: number ): string
Parameters
Name | Type | Description |
---|---|---|
number |