Skip to main content

Home > blockly > VariableMap > (constructor)

VariableMap.(constructor)

Constructs a new instance of the VariableMap class

Signature:

constructor(workspace: Workspace, potentialMap?: boolean);

Parameters

ParameterTypeDescription
workspaceWorkspaceThe workspace this map belongs to.
potentialMapboolean(Optional) True if this holds variables that don't exist in the workspace yet.