MCPcopy
hub / github.com/xavierd/clang_complete / read

Method read

plugin/clang/cindex.py:958–963  ·  view source on GitHub ↗

Load the translation unit from the given AST file.

(self, path)

Source from the content-addressed store, hash-verified

956 Index_dispose(self)
957
958 def read(self, path):
959 """Load the translation unit from the given AST file."""
960 ptr = TranslationUnit_read(self, path)
961 if ptr:
962 return TranslationUnit(ptr)
963 return None
964
965 def parse(self, path, args = [], unsaved_files = [], options = TranslationUnit.Nothing):
966 """

Callers 3

reparseMethod · 0.80
codeCompleteMethod · 0.80
parseMethod · 0.80

Calls 1

TranslationUnitClass · 0.85

Tested by

no test coverage detected