Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
        public static void Check(PythonAst ast, CompilerContext context)
        {
            var finder = new StarredExpressionChecker(context);

            ast.Walk(finder);
        }