[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] CDT: Add new IAStComment to an IASTTranslationunit
|
The AST returned by the parser is immutable. To make changes you need to use the ASTRewrite API.
|
![]() |
Mike Kucera | 8200 Warden Ave | |
Rational Multicore Tooling | Markham, ON, L6G 1C7 |
IBM Software Group | Canada |
mkucera@xxxxxxxxxx | | ![]() |
|
|
Helko Glathe ---11/16/2010 08:58:55 AM---Hello,
![]()
From: | ![]()
Helko Glathe <glathe.helko@xxxxxxxxxxxxxx> |
![]()
To: | ![]()
"CDT General developers list." <cdt-dev@xxxxxxxxxxx> |
![]()
Date: | ![]()
11/16/2010 08:58 AM |
![]()
Subject: | ![]()
[cdt-dev] CDT: Add new IAStComment to an IASTTranslationunit |
Hello,
I would like to add a new IASTComment to the set of already existing
IASTComment of a particular IASTTranslationUnit.
IASTTranslationUnit provides a method for getting all existing
IASTComment - getComments(). It returns an IASTComment[]. No way to
add the new IASTComment to this array.
The method IASTTranslationUnit.setComments() does not exist.
Could anyone be so kind and tell me the "how to do" to solve this issue?
Many thanks in advance, Helko
Sincerely,
Helko Glathe
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


