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

Method analyze_node

src/jinja2/idtracking.py:49–51  ·  view source on GitHub ↗
(self, node: nodes.Node, **kwargs: t.Any)

Source from the content-addressed store, hash-verified

47 self.stores: t.Set[str] = set()
48
49 def analyze_node(self, node: nodes.Node, **kwargs: t.Any) -> None:
50 visitor = RootVisitor(self)
51 visitor.visit(node, **kwargs)
52
53 def _define_ref(
54 self, name: str, load: t.Optional[t.Tuple[str, t.Optional[str]]] = None

Callers 9

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

Calls 2

RootVisitorClass · 0.85
visitMethod · 0.80

Tested by

no test coverage detected