[cfe-users] libclang python bindings access to FullComment AST node
Søren Vinther Poulsen via cfe-users
cfe-users at lists.llvm.org
Mon Nov 9 01:15:53 PST 2015
My goal is to parse C++-code with inlined doxygen-like comments, and to
produce/generate some additional from the parsed source.
Ideally I'd like to use libclang + Python bindings for this purpose, and it
works just fine for the raw C++ source. However, it seems that the Python
bindings does not parse the doxygen comments, but only provide raw_comments
and brief_comments. Meanwhile, the clang executable itself produces a
FullComment node in the AST, with command nodes etc.
Does anyone know if the Python bindings can somehow be coerced to also
parse the Doxygen-like comments?
Best regards, Søren
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-users