blockly > VariableMap > (constructor)
VariableMap.(constructor)
Constructs a new instance of the VariableMap class
Signature:
constructor(workspace: Workspace, potentialMap?: boolean);
Parameters
Parameter | Type | Description |
|---|---|---|
workspace | The workspace this map belongs to. | |
potentialMap | boolean | (Optional) True if this holds variables that don't exist in the workspace yet. |