Esempio n. 1
0
 private PythonNameBinder(PythonLanguageVersion langVersion, PythonAst ast, ErrorSink context, bool bindReferences)
 {
     _ast         = ast;
     _define      = new DefineBinder(this);
     _delete      = new DeleteBinder(this);
     _parameter   = new ParameterBinder(this);
     _errorSink   = context;
     _langVersion = langVersion;
     _bindRefs    = bindReferences;
 }
Esempio n. 2
0
 private PythonNameBinder(PythonLanguageVersion langVersion, PythonAst ast, ErrorSink context, bool bindReferences) {
     _ast = ast;
     _define = new DefineBinder(this);
     _delete = new DeleteBinder(this);
     _parameter = new ParameterBinder(this);
     _errorSink = context;
     _langVersion = langVersion;
     _bindRefs = bindReferences;
 }