CastXML / pygccxml

pygccxml is a specialized XML reader that reads the output from CastXML or GCCXML. It provides a simple framework to navigate C++ declarations, using Python classes.
Boost Software License 1.0
129 stars 44 forks source link

Request for plumbing comments through? #128

Open EricCousineau-TRI opened 3 years ago

EricCousineau-TRI commented 3 years ago

Per the merge in https://github.com/CastXML/CastXML/pull/175, would it be possible to expose this here?

Similar to clang.cindex (relates #123), would it be possible to expose the API to get the source location (and possibly the source itself) for the comment?

See example usage here: https://github.com/RobotLocomotion/drake/blob/6afa9365ad7d873c8c272fe8b5cc5a5c47ada6f8/tools/workspace/pybind11/mkdoc.py#L200-L201