-
-
Notifications
You must be signed in to change notification settings - Fork 397
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
Type explainer can't parse methods ending in '?' and '!' #1077
Comments
For context, I opened this issue because I am currently using the type explainer for backus/yardcheck. I realize it is private API and I intend on replacing it with my own parser, but I figured this would still be something YARD might want to fix |
You can actually probably use |
Cool. I can open a PR in the future to support that. Any interest in making the type explainer API public at some point? |
I don't see where it's marked private. You should be able to use it already. |
Oh I assumed that it was private I guess because all of the namespaces within it are marked |
Ah ok I see what I was concerned about before. |
Root issue is fixed. As far as making it public I'd be more open to it if it were documented. If you wanted to contribute docs that would help. |
It would be nice to be able to document methods as
@param foo [#all?]
but the type explainer currently fails on methods like this. I realize it is really hard to parse ruby methods so I'm definitely not asking for something comprehensive, but adding?
and!
would be nice.Steps to reproduce
I would be happy to do a PR fixing this
The text was updated successfully, but these errors were encountered: