ruff/crates/ruff_python_formatter/src/pattern
konsti 2cbe1733c8
Use CommentRanges in backwards lexing (#7360)
## Summary

The tokenizer was split into a forward and a backwards tokenizer. The
backwards tokenizer uses the same names as the forwards ones (e.g.
`next_token`). The backwards tokenizer gets the comment ranges that we
already built to skip comments.

---------

Co-authored-by: Micha Reiser <micha@reiser.io>
2023-09-16 03:21:45 +00:00
..
mod.rs Use CommentRanges in backwards lexing (#7360) 2023-09-16 03:21:45 +00:00
pattern_arguments.rs Move Ranged into ruff_text_size (#6919) 2023-08-27 14:12:51 -04:00
pattern_keyword.rs Introduce Token element (#7048) 2023-09-02 10:05:47 +02:00
pattern_match_as.rs Introduce Token element (#7048) 2023-09-02 10:05:47 +02:00
pattern_match_class.rs Introduce AST nodes for PatternMatchClass arguments (#6881) 2023-08-26 14:45:44 +00:00
pattern_match_mapping.rs Introduce Token element (#7048) 2023-09-02 10:05:47 +02:00
pattern_match_or.rs Introduce Token element (#7048) 2023-09-02 10:05:47 +02:00
pattern_match_sequence.rs Move Ranged into ruff_text_size (#6919) 2023-08-27 14:12:51 -04:00
pattern_match_singleton.rs Introduce Token element (#7048) 2023-09-02 10:05:47 +02:00
pattern_match_star.rs Introduce Token element (#7048) 2023-09-02 10:05:47 +02:00
pattern_match_value.rs Use the formatter prelude in more files (#6882) 2023-08-25 16:51:07 -04:00