blockly > ASTNode > createInputNode
ASTNode.createInputNode() method
Creates an AST node pointing to an input. Stores the input connection as the location.
Signature:
static createInputNode(input: Input): ASTNode | null;
Parameters
Parameter | Type | Description |
---|---|---|
input | Input | The input used to create an AST node. |
Returns:
ASTNode | null
An AST node pointing to a input.