Repository navigation
A way to tag code like class or functions #127
|
Whats the best way to tag certain classes or functions that cxxheaderparser could pick up. I want to tag certain functions and classes so when parsing I can do things like ignore them. I tried using attributes like below at first but later saw that they are not used. The only option I can think of is to add something to doxygen and then parse the doxygen but this seemed clumsy. |
Replies: 1 comment 3 replies
|
It's not great, but you could use preprocessor macros and have your preprocessor filter the undesired content out? There is code in cxxheaderparser to parse attributes, but as you've observed it just throws them away. I don't really know what I would want to do with attributes, so I haven't bothered implementing support for them. If you want to fix #31 and make a pull request so it meets your needs I'm likely to accept it if it seems reasonable and there are tests. |
Attributes are stored as of #136