Doxygen C++ comment string parser in python?
- by Sebastian
Does anybody know of a python module to parse a doxygen style C++ comment string? I mean a string like this (simple example):
/**
* A constructor.
* A more elaborate description of the constructor.
* @param param1 test1
* @param param2 test2
*/
and I would like to extract the brief, the long description, the parameters, the return value etc. I'm currently doing this using string methods and regular expressions but my solution is not very robust.
Alternatively does anybody know an easy to use parser lib that I can set up quickly?
Thanks in advance