Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] Generate PHP code

Yep, I recommend using the ASTRewriter functionality.

See org.eclipse.php.core.tests.dom_ast.rewrite.ASTRewriteTests

Roy
-----Original Message-----
From: pdt-dev-bounces@xxxxxxxxxxx [mailto:pdt-dev-bounces@xxxxxxxxxxx] 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@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev


Back to the top