Stay organized with collections Save and categorize content based on your preferences.

blockly > ASTNode > createWorkspaceNode

ASTNode.createWorkspaceNode() method

Creates an AST node pointing to a workspace.


static createWorkspaceNode(workspace: Workspace | null, wsCoordinate: Coordinate | null): ASTNode | null;


Parameter Type Description
workspace Workspace | null The workspace that we are on.
wsCoordinate Coordinate | null The position on the workspace for this node.


ASTNode | null

An AST node pointing to a workspace and a position on the workspace.