blockly > ASTNode > createFieldNode
ASTNode.createFieldNode() method
Create an AST node pointing to a field.
Signature:
static createFieldNode(field: Field): ASTNode | null;
Parameters
Parameter | Type | Description |
---|---|---|
field | Field | The location of the AST node. |
Returns:
ASTNode | null
An AST node pointing to a field.