Dhruv Manilawala
549cc1e437
Build CommentRanges outside the parser ( #11792 )
...
## Summary
This PR updates the parser to remove building the `CommentRanges` and
instead it'll be built by the linter and the formatter when it's
required.
For the linter, it'll be built and owned by the `Indexer` while for the
formatter it'll be built from the `Tokens` struct and passed as an
argument.
## Test Plan
`cargo insta test`
2024-06-09 09:55:17 +00:00
..
2024-02-29 09:30:54 +01:00
2024-05-03 12:46:21 +00:00
2023-11-17 12:24:19 -05:00
2024-05-03 12:46:21 +00:00
2023-10-18 00:01:18 +00:00
2023-10-30 12:13:23 +05:30
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-05-07 11:46:10 +00:00
2023-10-30 12:13:23 +05:30
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-03-04 12:55:01 +01:00
2023-10-25 14:01:50 +00:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-06-03 18:23:50 +05:30
2024-05-03 12:46:21 +00:00
2023-10-30 12:13:23 +05:30
2024-02-02 17:56:25 +01:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2024-05-03 12:46:21 +00:00
2023-10-18 00:01:18 +00:00
2023-11-03 05:12:59 +00:00
2024-06-07 17:01:58 +00:00
2023-09-08 06:51:26 +00:00
2024-06-09 09:55:17 +00:00