Beta
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.
Beta
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.
Beta
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.
Beta
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.
Beta
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.
Beta
Optional
children: never[]Beta
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.
Beta
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.
Beta
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.
Beta
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.
Beta
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.
Beta
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.
Beta
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.
This interface provides a method for creating an Abstract Syntax Tree (AST) for a given type.