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

Method pull_dependencies

tools/inspector_protocol/jinja2/compiler.py:462–473  ·  view source on GitHub ↗

Pull all the dependencies.

(self, nodes)

Source from the content-addressed store, hash-verified

460 self.visit(node.dyn_kwargs, frame)
461
462 def pull_dependencies(self, nodes):
463 """Pull all the dependencies."""
464 visitor = DependencyFinderVisitor()
465 for node in nodes:
466 visitor.visit(node)
467 for dependency in 'filters', 'tests':
468 mapping = getattr(self, dependency)
469 for name in getattr(visitor, dependency):
470 if name not in mapping:
471 mapping[name] = self.temporary_identifier()
472 self.writeline('%s = environment.%s[%r]' %
473 (mapping[name], dependency, name))
474
475 def enter_frame(self, frame):
476 undefs = []

Callers 1

visit_TemplateMethod · 0.95

Calls 4

temporary_identifierMethod · 0.95
writelineMethod · 0.95
visitMethod · 0.45

Tested by

no test coverage detected