[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


Hello

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...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20151109/60177af9/attachment.html>


More information about the cfe-users mailing list