-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor refactor to use try_consume_token(s) in more places
Summary: The use of `try_consume_token(s)` (instead of `peek()` and `advance()`) demonstrates intent more clearly. This includes the addition of `prev` to `parser_scan_window` so that its head can be moved both backwards and forwards. Reviewed By: thedavekwon Differential Revision: D67744259 fbshipit-source-id: 838888a39255f46513052be15f992be06967188a
- Loading branch information
1 parent
1258bc3
commit 48018d0
Showing
1 changed file
with
95 additions
and
85 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