The following forum message was posted by fabioz at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3840430:

It's something as:

Tuple<SimpleNode, Throwable> objects = PyParser.reparseDocument(new
PyParser.ParserInfo(doc, false,
                IPythonNature.PYTHON_VERSION_2_7);

And then you can traverse the AST (SimpleNode) as needed. Although, it really
depends on what you want (there may be better APIs depending on what you want
to achieve, with AST caches for modules in the pythonpath, etc).

Cheers,

Fabio


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to