SubgraphASTNode is a type of AST node that represents a subgraph.

interface SubgraphASTNode {
    children: ClusterStatementASTNode[];
    id?: LiteralASTNode<string>;
    location?: FileRange;
    type: "Subgraph";
}

Hierarchy (view full)

Properties

id?: LiteralASTNode<string>

id is an optional LiteralASTNode that represents the identifier of the subgraph.

location?: FileRange

The start and end location of the AST object.

type: "Subgraph"

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

Generated using TypeDoc