MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / load_tree

Method load_tree

aura/analyzers/python/jinja.py:137–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135 return v
136
137 def load_tree(self):
138 if self.path:
139 with self.path.open("r") as fd:
140 raw_template = fd.read()
141
142 self.tree = parse_jinja_template(raw_template)
143
144 def _visit_node(self, context: Context):
145 # Check if it is an AST node in the Jinja template

Callers 1

from_templateMethod · 0.45

Calls 2

parse_jinja_templateFunction · 0.85
readMethod · 0.80

Tested by

no test coverage detected