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

Extract nodoc into mixin and refactor #2368

Merged
merged 4 commits into from
Oct 1, 2020
Merged

Extract nodoc into mixin and refactor #2368

merged 4 commits into from
Oct 1, 2020

Conversation

jcollins-g
Copy link
Contributor

@jcollins-g jcollins-g commented Sep 30, 2020

To support #2266, extract the nodoc handling into what was CommentProcessable (now DocumentationComment). This also moves all of the directly documentation comment related handling into DocumentationComment, while punting some things that didn't belong back to ModelElement (having the mixin declare some things abstractly if need be).

I think the overall effect is positive, though it has a drawback or two (shadowed "documentationComment" variables, among other things). I can rename those if it will make the PR more clear.

I haven't renamed the file for ease of review; will do that if approved.

@googlebot googlebot added the cla: yes Google CLA check succeeded. label Sep 30, 2020
@jcollins-g jcollins-g marked this pull request as ready for review September 30, 2020 19:35
Copy link
Member

@srawlins srawlins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@coveralls
Copy link

Coverage Status

Coverage increased (+0.007%) to 91.698% when pulling 14eaa6f on nodoc-extraction into 1276e33 on master.

@jcollins-g jcollins-g merged commit f06af8b into master Oct 1, 2020
@jcollins-g jcollins-g deleted the nodoc-extraction branch October 1, 2020 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants