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

Method set_environment

tools/inspector_protocol/jinja2/nodes.py:219–226  ·  view source on GitHub ↗

Set the environment for all nodes.

(self, environment)

Source from the content-addressed store, hash-verified

217 return self
218
219 def set_environment(self, environment):
220 """Set the environment for all nodes."""
221 todo = deque([self])
222 while todo:
223 node = todo.popleft()
224 node.environment = environment
225 todo.extend(node.iter_child_nodes())
226 return self
227
228 def __eq__(self, other):
229 return type(self) is type(other) and \

Callers 2

compile_expressionMethod · 0.45
parseMethod · 0.45

Calls 3

popleftMethod · 0.80
extendMethod · 0.45
iter_child_nodesMethod · 0.45

Tested by

no test coverage detected