예제 #1
0
 public ClangFactory()
 {
     _DB           = new AstDataBase(this);
     _TypeParser   = new CTypeParser(this);
     _parser       = new CParser(this);
     _SourceGroups = new Dictionary <string, string>();
     _SWCType      = new Dictionary <string, SWCType>();
     _Clang        = new ClangInterface.ClangInterface(this);
 }
예제 #2
0
 public ClangInterface(IFactory factory)
 {
     _Index  = new Index(true, true);
     _Parser = factory.fac_getCParser();
 }