Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for plumbing comments through? #128

Open
EricCousineau-TRI opened this issue Jul 30, 2020 · 3 comments
Open

Request for plumbing comments through? #128

EricCousineau-TRI opened this issue Jul 30, 2020 · 3 comments

Comments

@EricCousineau-TRI
Copy link
Contributor

EricCousineau-TRI commented Jul 30, 2020

Per the merge in CastXML/CastXML#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

@wabscale
Copy link

Do you know if this ever made it through? I can see places in this codebase that seem to reference support for comments, but the objects seem to always remain unpopulated.

See src/pygccxml/declarations/comment.py

@iMichka
Copy link
Contributor

iMichka commented Jul 20, 2024

Yes it was implemented with #130.

Do you have a reproducible example I could try to help debug your issue?

@iMichka
Copy link
Contributor

iMichka commented Jul 20, 2024

(and I think we forgot to close this issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants