This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GRpc options (#61) / fully implement options
Fully implement (and otherwise fix) option statements and option annotations on messages, fields, maps, services, rpc, etc,, including alternate syntax. Now fully supports gRPC option annotations. Squashed the following commits: * Attempt to parse proto3 option maps. * Got simple parsing working. * More unit-tests. * Unit-tests for grpc with options are green. * Cleanup * Changed aggregate options as per feedback. * Implemented aggregated option parser. * Added tests and support for recursive literals. * Handle empty literals. * Refactor options parsing to better handle empty statements. * Minor refactor of RPC parser to improve readability. * Mark skipEmpty as internal. * Remove superfluous empty_ws. * Refactor to eliminate duplication via new manyBetweenCurlySkippingEmpty, add unit test for Service options, and fixed bugs related to parsing options. * Support options on map field, add more option unit tests, move/rename unit tests for consistency.
- Loading branch information
Showing
8 changed files
with
425 additions
and
61 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.