MCPcopy
hub / github.com/pallets/jinja / push_assign_tracking

Method push_assign_tracking

src/jinja2/compiler.py:780–782  ·  view source on GitHub ↗

Pushes a new layer for assignment tracking.

(self)

Source from the content-addressed store, hash-verified

778 return target in self._param_def_block[-1]
779
780 def push_assign_tracking(self) -> None:
781 """Pushes a new layer for assignment tracking."""
782 self._assign_stack.append(set())
783
784 def pop_assign_tracking(self, frame: Frame) -> None:
785 """Pops the topmost level for assignment tracking and updates the

Callers 2

visit_AssignMethod · 0.95
visit_AssignBlockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected