Example #1
0
 public NodeFactory(CompilerTypeSystemContext context, bool cppCodeGen)
 {
     _target          = context.Target;
     _context         = context;
     _cppCodeGen      = cppCodeGen;
     DispatchMapTable = new InterfaceDispatchMapTableNode(this.Target);
     CreateNodeCaches();
 }
Example #2
0
 public NodeFactory(CompilerTypeSystemContext context, TypeInitialization typeInitManager, bool cppCodeGen)
 {
     _target     = context.Target;
     _context    = context;
     _cppCodeGen = cppCodeGen;
     TypeInitializationManager = typeInitManager;
     DispatchMapTable          = new InterfaceDispatchMapTableNode(this.Target);
     CreateNodeCaches();
 }