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

Method get_raw_ast

tests/conftest.py:120–127  ·  view source on GitHub ↗
(self, src)

Source from the content-addressed store, hash-verified

118 return result
119
120 def get_raw_ast(self, src):
121 from aura import python_executor
122 from aura.analyzers import python_src_inspector
123
124 INSPECTOR_PATH = os.path.abspath(python_src_inspector.__file__)
125
126 out = python_executor.run_with_interpreters(command = [INSPECTOR_PATH, "-"], stdin=bytes(src, "utf-8"))
127 return out["ast_tree"]["body"]
128
129 def get_full_ast(self, src):
130 """

Callers 2

test_basic_astFunction · 0.80
test_py2kFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected