I would probably start in
org.eclipse.php.internal.core.ast.rewrite.ASTRewrite (see the comments
in this class)

Roy
-----Original Message-----
From: pdt-dev-boun...@eclipse.org [mailto:pdt-dev-boun...@eclipse.org]
On Behalf Of Raphael Pigulla
Sent: Friday, December 04, 2009 12:06 PM
To: pdt-dev@eclipse.org
Subject: [pdt-dev] 'unparsing' the AST

Hi everyone,

I'm looking for a way to 'unparse' the AST of a PHP program back into 
source code. I've looked around the source and found the 
org.eclipse.php.internal.core.format package which is probably what I 
need to use, but I haven't figured out yet how to wire everything up.

Any help is appreciated.

Thanks a lot in advance
Raphael
_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev
_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Reply via email to