regenerating analyzed c++ code
Maarten de Boer <[email protected]>
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Organization | IUA |
| Message-ID | <[email protected]> |
Hello, I am looking for an application that can parse c++, store it in a AST, and regenerate the original c++ code. Obviously, the interesting part would be to apply some modification to the AST before regenerating. For example, I want to remove all constructors that match a certain pattern (first argument contains the word Foo), from classes that are derived from class Bar. Would the synopsis parser be suitable for something like this? It seems there is no C++ formatter... Or maybe you can suggest some other project that would be suitable for such tasks? Kind regards, Maarten