blockly > Names > setVariableMap
Names.setVariableMap() method
Set the variable map that maps from variable name to variable object.
Signature:
setVariableMap(map: IVariableMap<IVariableModel<IVariableState>>): void;
Parameters
Parameter | Type | Description |
|---|---|---|
map | The map to track. |
Returns:
void