-
Notifications
You must be signed in to change notification settings - Fork 13.4k
syntax: cleanup param, method, and misc parsing #64910
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f290467
syntax: cleanup method parsing.
Centril 378cc98
syntax: `is_named_argument` -> `is_named_param`.
Centril 4fa9c3b
syntax refactor `parse_fn_params`
Centril 40dc9da
syntax refactor `parse_self_param` (1)
Centril f688f8a
syntax refactor `parse_self_param` (2)
Centril ac454e9
syntax refactor `parse_self_param` (3)
Centril 4306d00
syntax refactor `parse_self_param` (4)
Centril 0492302
syntax refactor `parse_self_param` (5)
Centril 347deac
syntax: reorder param parsing to make more sense.
Centril d9d0e5d
syntax: cleanup `parse_fn_decl`.
Centril 5b80ead
syntax: misc cleanup
Centril 66bf323
syntax: cleanup `parse_visibility`.
Centril 573a8d8
syntax: extract `error_on_invalid_abi`.
Centril 258e86a
syntax: fuse more code paths together.
Centril bea404f
syntax: stylistic cleanup in item parsing.
Centril 151ce96
syntax: reduce repetition in fn parsing.
Centril df298b4
syntax: document some methods.
Centril 30647d1
syntax: put helpers of `parse_self_param` in the method.
Centril 49780d2
syntax: merge things back into `parse_visibility`.
Centril e046904
syntax: de-closure-ify `check_or_expected`.
Centril 5c5dd80
syntax: reformat passing of `FnHeader` to `parse_item_fn`.
Centril File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.