/// <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); StarredExpressionChecker.Check(this, _compilerContext); }
public static void Check(PythonAst ast, CompilerContext context) { var finder = new StarredExpressionChecker(context); ast.Walk(finder); }