Hi,
I'm trying to fill a treeview with the statements found in a embedded 
python script. How do I traverse through the tree of parsed statements?

using IronPython;
using IronPython.Compiler;
using IronPython.Compiler.Ast;

void doparse(string txt) {
   SystemState ss = new SystemState(engineOptions);
   CompilerContext cc = new CompilerContext();
   Parser parser = Parser.FromString (ss, cc, txt);
   Statement stmt = parser.ParseFileInput();
   IAstWalker walker = new ??;
   stmt.Walk(walker);
}

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to