Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 791 Bytes

blockly.astnode_class.createconnectionnode_1_method.md

File metadata and controls

21 lines (13 loc) · 791 Bytes

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.