Interface UnaryExpressionSyntaxNode<T, S>

Syntax node representing a unary expression.

interface UnaryExpressionSyntaxNode<T, S extends SyntaxNode<T> = SyntaxNode<T>> {
    argument: S;
    name?: string;
    operator: UnaryOperator;
    type: UnaryExpression;
}

Type Parameters

Hierarchy (View Summary)

Properties

argument: S

The argument of the unary expression.

name?: string

A descriptive name for the syntax node.

operator: UnaryOperator

The operator of the unary expression.

The type of the syntax node.