Class for an AST node. It is recommended that you use one of the createNode methods instead of creating a node directly.
The type of the location. Must be in Blockly.ASTNode.types.
The position in the AST.
Optionalopt_params: ParamsOptional dictionary of options.
Gets the value pointed to by this node. It is the callers responsibility to check the node type to figure out what type of object they get back from this.
The current field, connection, workspace, or block the cursor is on.
The type of the current location. One of Blockly.ASTNode.types
The type of the location.
The coordinate on the workspace.
The workspace coordinate or null if the location is not a workspace.
Fake class which should be extended to avoid inheriting static properties