# ASTNode.createConnectionNode() method
Creates an AST node pointing to a connection. If the connection has a parent input then create an AST node of type input that will hold the connection.
Signature:
static createConnectionNode(connection: Connection): ASTNode | null;
# Parameters
Parameter | Type | Description |
---|---|---|
connection | Connection | This is the connection the node will point to. |
Returns:
ASTNode | null
An AST node pointing to a connection.