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

Method leave_frame

deps/v8/third_party/jinja2/compiler.py:597–603  ·  view source on GitHub ↗
(self, frame: Frame, with_python_scope: bool = False)

Source from the content-addressed store, hash-verified

595 self.writeline(f"{' = '.join(undefs)} = missing")
596
597 def leave_frame(self, frame: Frame, with_python_scope: bool = False) -> None:
598 if not with_python_scope:
599 undefs = []
600 for target in frame.symbols.loads:
601 undefs.append(target)
602 if undefs:
603 self.writeline(f"{' = '.join(undefs)} = missing")
604
605 def choose_async(self, async_value: str = "async ", sync_value: str = "") -> str:
606 return async_value if self.environment.is_async else sync_value

Callers 8

macro_bodyMethod · 0.95
visit_TemplateMethod · 0.95
visit_ForMethod · 0.95
visit_FilterBlockMethod · 0.95
visit_WithMethod · 0.95
visit_AssignBlockMethod · 0.95
visit_ScopeMethod · 0.95
visit_OverlayScopeMethod · 0.95

Calls 3

writelineMethod · 0.95
appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected