Class UnaryExpression

Unary operation expression (e.g., -x, !flag).

class UnaryExpression
  : Expression;

Constructors

NameDescription
this (operator, operand, line, column) Creates a unary expression.

Fields

NameTypeDescription
operand ExpressionOperand expression
operator TokenTypeOperator token
column ulongColumn number where this node starts in source
line ulongLine number where this node appears in source