[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.cdt] Insert comments in existing source files

I've loaded a CPP source file into a IASTTranslationUnit and would like to add now programmatically an IASTComment.

I've found factory methods for nearly all AST nodes but not for comment.

Does anyone know how to programmatically add comments to a AST Model and write the result back to disc.

Thanks in advance