Пример #1
0
        public Generator(Translator translator, Logger logger)
        {
            _pythonCache = new PythonCache(this);

            this.Logger     = logger;
            this.Translator = translator;
        }
Пример #2
0
 public ClassGeneratorRewriter(Generator generator, SemanticModel semanticModel, PythonCache pythonCache)
 {
     this._generator     = generator;
     this._semanticModel = semanticModel;
     this._pythonCache   = pythonCache;
 }