Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Modifying the AST on the fly


        I am working on some form of code generation where i have to generate new method definitions that have to be added to the C source file, on some action. Is there a way to directly add code snippets into the AST and then update the source file, or do i have to use the IDocument approach for the source file to do perform the above functionality.


Back to the top