blockly > ASTNode > createBlockNode
ASTNode.createBlockNode() method
Creates an AST node pointing to a block.
Signature:
static createBlockNode(block: Block): ASTNode | null;
Parameters
Parameter | Type | Description |
---|---|---|
block | Block | The block used to create an AST node. |
Returns:
ASTNode | null
An AST node pointing to a block.