Re: AST access to const modifier
Andreas Fester <[email protected]> Mon, 30 Jan 2006 11:50:35 +0100
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Stefan, > [Please don't hijack an existing thread by changing the subject. That will > mess up the list archive. Thanks.] I will try to take care of this ;-) >> def visitOperation(self, operation): >> >> for premod in operation.premodifier(): >> print "PRE[" + premod + "]", >> >> for postmod in operation.postmodifier(): >> print "POST[" + postmod + "]", >> >> premodifier() properly returns (only) the "virtual" modifier, >> but postmodifier() is always empty. >> Is there any other way to check if a method is "const"? > > > That sounds like a bug, as the 'const' qualifier should indeed > be available that way. Can you file a bug report ? See http://synopsis.fresco.org/issues/bug89. It also contains a patch which fixes the issue. I already registered some time ago, but did not log in before submitting the bug report, so it ended up with "anonymous" ... Best Regards, Andreas - -- Andreas Fester mailto:[email protected] WWW: http://www.littletux.net ICQ: 326674288 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD3e97Z3bQVzeW+rsRAtuSAJ0QSNiAv9Sn7T0EtEp4Efqc1y6BcACfZSPx Fhi+VO25oE01BOGf6j3LscM= =2DHs -----END PGP SIGNATURE-----