Yep, I recommend using the ASTRewriter functionality. See org.eclipse.php.core.tests.dom_ast.rewrite.ASTRewriteTests
Roy -----Original Message----- From: pdt-dev-boun...@eclipse.org [mailto:pdt-dev-boun...@eclipse.org] On Behalf Of Robert Gruendler Sent: Friday, September 16, 2011 1:57 PM To: PDT Developers Subject: [pdt-dev] Generate PHP code Hi, i'm wondering what's the best way to generate PHP code from within a PDT extension. Is it possible to manually create an AST and "dump" it to a file somewhere? Or should i simply use template files and fill them with variables? cheers -robert _______________________________________________ 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