Creates a LiteralASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: never[]The children of the AST node.
A LiteralASTNode with the given type, properties, and children.
Creates a LiteralASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: never[]The children of the AST node.
A LiteralASTNode with the given type, properties, and children.
Creates a DotASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: StatementASTNode[]The children of the AST node.
A DotASTNode with the given type, properties, and children.
Creates a GraphASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: ClusterStatementASTNode[]The children of the AST node.
A {GraphASTNode} with the given type, properties, and children.
Creates an AttributeASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: never[]The children of the AST node.
An AttributeASTNode with the given type, properties, and children.
Optional
children: never[]Creates a CommentASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: never[]The children of the AST node.
A CommentASTNode with the given type, properties, and children.
Creates an AttributeListASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: (CommentASTNode | AttributeASTNode<AttributeKey>)[]The children of the AST node.
An AttributeListASTNode with the given type, properties, and children.
Creates a NodeRefASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: never[]The children of the AST node.
A NodeRefASTNode with the given type, properties, and children.
Creates a NodeRefGroupASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: NodeRefASTNode[]The children of the AST node.
A NodeRefGroupASTNode with the given type, properties, and children.
Creates an EdgeASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: (CommentASTNode | AttributeASTNode<AttributeKey>)[]The children of the AST node.
An EdgeASTNode with the given type, properties, and children.
Creates a NodeASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: (CommentASTNode | AttributeASTNode<AttributeKey>)[]The children of the AST node.
A NodeASTNode with the given type, properties, and children.
Creates a SubgraphASTNode with the given type, properties, and children.
The type of the AST node.
The properties of the AST node.
Optional
children: ClusterStatementASTNode[]The children of the AST node.
A SubgraphASTNode with the given type, properties, and children.
Generated using TypeDoc
This interface provides a method for creating an Abstract Syntax Tree (AST) for a given type.