Example #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);
 }
Example #2
0
 public CParser(IFactory factory)
 {
     _DB         = factory.Fac_getDataBase();
     _typeParser = factory.fac_getTypeParser();
 }
Example #3
0
 public CTypeParser(IFactory factory)
 {
     _DB      = factory.Fac_getDataBase();
     _Factory = factory;
 }