ruff/crates/ruff_python_formatter/src/pattern
Charlie Marsh fc89976c24
Move `Ranged` into `ruff_text_size` (#6919)
## Summary

The motivation here is that this enables us to implement `Ranged` in
crates that don't depend on `ruff_python_ast`.

Largely a mechanical refactor with a lot of regex, Clippy help, and
manual fixups.

## Test Plan

`cargo test`
2023-08-27 14:12:51 -04:00
..
mod.rs Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
pattern_arguments.rs Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
pattern_keyword.rs Introduce AST nodes for `PatternMatchClass` arguments (#6881) 2023-08-26 14:45:44 +00:00
pattern_match_as.rs Use the formatter prelude in more files (#6882) 2023-08-25 16:51:07 -04:00
pattern_match_class.rs Introduce AST nodes for `PatternMatchClass` arguments (#6881) 2023-08-26 14:45:44 +00:00
pattern_match_mapping.rs Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
pattern_match_or.rs Use the formatter prelude in more files (#6882) 2023-08-25 16:51:07 -04:00
pattern_match_sequence.rs Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
pattern_match_singleton.rs Use the formatter prelude in more files (#6882) 2023-08-25 16:51:07 -04:00
pattern_match_star.rs Use the formatter prelude in more files (#6882) 2023-08-25 16:51:07 -04:00
pattern_match_value.rs Use the formatter prelude in more files (#6882) 2023-08-25 16:51:07 -04:00