NodeRefASTNode is a type of AST node that represents a reference to a node.

interface NodeRefASTNode {
    children: never[];
    compass?: LiteralASTNode<values>;
    id: LiteralASTNode<string>;
    location?: FileRange;
    port?: LiteralASTNode<string>;
    type: "NodeRef";
}

Hierarchy (view full)

Properties

children: never[]
compass?: LiteralASTNode<values>
id: LiteralASTNode<string>
location?: FileRange

The start and end location of the AST object.

port?: LiteralASTNode<string>
type: "NodeRef"

Every leaf interface that extends ASTBaseNode must specify a type property.

Generated using TypeDoc