Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » Using PDT's parser outside of the IDE
Using PDT's parser outside of the IDE [message #501546] Wed, 02 December 2009 12:43 Go to next message
Eclipse UserFriend
Hello everyone,

I was wondering if PDT's PHP parser can be used outside of the IDE? In particular I want to access the AST of a PHP programm, modify it, and 'unparse' it back into PHP code.

I've read this article but there's no ASTParser.VERSION_PHP5 constant, and it is my impression that it is simply a 'PHPized' version of the original article and not really meant as a "'how-to'.

Any help is appreciated!

regards
raph
Re: Using PDT's parser outside of the IDE [message #501593 is a reply to message #501546] Wed, 02 December 2009 18:26 Go to previous message
Eclipse UserFriend
It would be great if you take a look at our unit tests.
under org.eclipse.php.core.tests

Also there is a code builder class that takes an ast and builds a php script.


In general you should address these questions to the pdt-dev@eclipse.org

Regards,
Roy
Previous Topic:HTML and PHP mixed content
Next Topic:Keyboard Shortcut for phpDoc Tooltip?
Goto Forum:
  


Current Time: Sat Jul 05 02:23:33 EDT 2025

Powered by FUDForum. Page generated in 0.05028 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top