Parser p=Parser.FromString(new IronPython.Runtime.SystemState(),new CompilerContext(),"a=5+10");
Statement e=p.ParseSingleStatement();
e.Walk(new ExpressionWalker());
public class ExpressionWalker : IronPython.Compiler.Ast.AstWalker
{
public override void PostWalk(NameExpression node)
{
base.PostWalk(node);
}
}
No comments:
Post a Comment