MCPcopy Create free account
hub / github.com/nodejs/node / dump_local_context

Method dump_local_context

deps/v8/third_party/jinja2/compiler.py:713–718  ·  view source on GitHub ↗
(self, frame: Frame)

Source from the content-addressed store, hash-verified

711 return rv
712
713 def dump_local_context(self, frame: Frame) -> str:
714 items_kv = ", ".join(
715 f"{name!r}: {target}"
716 for name, target in frame.symbols.dump_stores().items()
717 )
718 return f"{{{items_kv}}}"
719
720 def write_commons(self) -> None:
721 """Writes a common preamble that is used by root and block functions.

Callers 3

derive_contextMethod · 0.95
visit_IncludeMethod · 0.95
_import_commonMethod · 0.95

Calls 3

joinMethod · 0.45
itemsMethod · 0.45
dump_storesMethod · 0.45

Tested by

no test coverage detected