Interface GeneralStatementSyntaxNode<T, S>

Syntax node representing an execution keyword such as return, break, continue, etc.s

interface GeneralStatementSyntaxNode<T, S extends SyntaxNode<T> = SyntaxNode<T>> {
    argument?: S;
    name?: string;
    type: ReturnStatement | BreakStatement | ContinueStatement;
}

Type Parameters

Hierarchy (View Summary)

Properties

Properties

argument?: S

The argument of the statement.

name?: string

A descriptive name for the syntax node.

The type of the syntax node.