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); }
public CParser(IFactory factory) { _DB = factory.Fac_getDataBase(); _typeParser = factory.fac_getTypeParser(); }