internal static void BindAst(PythonAst ast, CompilerContext context) { Assert.NotNull(ast, context); PythonNameBinder binder = new PythonNameBinder(context); binder.Bind(ast); }
/// <summary> /// Binds an AST and makes it capable of being reduced and compiled. Before calling Bind an AST cannot successfully /// be reduced. /// </summary> public void Bind() { PythonNameBinder.BindAst(this, _compilerContext); }