Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Sample code for acessing the ast

Hallo,

i want do do a little bit code analysis in c++. Therefore i use the eclipse cdt parser which works fine for me :-) I wrote a few visitor patterns, so i am able to find some nodes on the AST.
Now i want to to delete or insert new Nodes.
This ist not for a PlugIn, I only want to transform the AST.
Is there any sample Code to do this? Or is there any site to start with?

Thanks
Wolfgang





Back to the top