MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / parser

Method parser

client/tool/util/loong/astparser.py:43–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 return tool_path
42
43 def parser(self):
44 tool_path = self.get_tool()
45 args = [
46 "path=%s" % self.project_root,
47 "thread=%s" % cpu_count(),
48 "data=%s" % self.ast_db,
49 ]
50 astparser_cmd = __lu__().format_cmd(tool_path, args)
51 SubProcController(astparser_cmd, stdout_line_callback=subprocc_log, stderr_line_callback=subprocc_log).wait()
52
53
54if __name__ == "__main__":

Callers 3

analyzeMethod · 0.95
analyzeMethod · 0.45
analyzeMethod · 0.45

Calls 1

get_toolMethod · 0.95

Tested by

no test coverage detected