示例#1
0
 internal TranslationUnit(Index idx, string filename, ITranslationUnitItemStore itemStore)
 {
     _index = idx;
     _filename = filename;
     _itemStore = itemStore;
     _headerFiles = new HashSet<HeaderInfo>();
 }
示例#2
0
 public TranslationUnit(Index idx, string filename)
 {
     _index = idx;
     _filename = filename;
     _itemStore = new TranslationUnitItemStore();
     _headerFiles = new HashSet<HeaderInfo>();
 }
示例#3
0
 public ProjectIndex()
 {
     _lock = new object();
     _libClangIndex = new LibClang.Index(false, true);
     _parseResults = new Dictionary<FilePath, ParseResult>();
     _fileSymbolMappings = new Symbols.FileMapping.ProjectFileMaps();
     _symbols = new Symbols.ProjectSymbolTable(_fileSymbolMappings);
 }
示例#4
0
 static TranslationUnits()
 {
     Index = new LibClang.Index(false, true);
 }