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

feat(api): support MarkedSource MODIFIER type #5778

Merged
merged 2 commits into from Aug 7, 2023

Conversation

schroederc
Copy link
Contributor

Support having modifiers such as "public", "func", etc. in MarkedSource without relying on the generic BOX kind.

Support having modifiers such as "public", "func", etc. in MarkedSource
without relying on the generic BOX kind.
@schroederc schroederc requested review from zrlk and a team August 7, 2023 19:41
// - LTFunc.pre_text "func "
// - LTFunc.kind "MODIFIER"
// - LTFunc.pre_text "func"
// - LTFunc.post_text " "
Copy link
Contributor

Choose a reason for hiding this comment

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

My understanding is that eventually we want to make this space part of the post_child_text of the enclosing BOX (but that's a larger refactoring that doesn't belong in this change).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure it matters in this particular case.

@schroederc schroederc merged commit 721031f into kythe:master Aug 7, 2023
5 checks passed
@schroederc schroederc deleted the ms-modifier branch August 7, 2023 21:18
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

Successfully merging this pull request may close these issues.

None yet

2 participants