MCPcopy Index your code
hub / github.com/nodejs/node / LoadAutomaticVariablesFromDict

Function LoadAutomaticVariablesFromDict

tools/gyp/pylib/gyp/input.py:1248–1253  ·  view source on GitHub ↗
(variables, the_dict)

Source from the content-addressed store, hash-verified

1246
1247
1248def LoadAutomaticVariablesFromDict(variables, the_dict):
1249 # Any keys with plain string values in the_dict become automatic variables.
1250 # The variable name is the key name with a "_" character prepended.
1251 for key, value in the_dict.items():
1252 if type(value) in (str, int, list):
1253 variables["_" + key] = value
1254
1255
1256def LoadVariablesFromVariablesDict(variables, the_dict, the_dict_key):

Callers 1

Calls 2

typeFunction · 0.50
itemsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…