ruff/crates/ruff_python_formatter/src/comments
Charlie Marsh 5f3da9955a
Rename ruff_python_whitespace to ruff_python_trivia (#5886)
## Summary

This crate now contains utilities for dealing with trivia more broadly:
whitespace, newlines, "simple" trivia lexing, etc. So renaming it to
reflect its increased responsibilities.

To avoid conflicts, I've also renamed `Token` and `TokenKind` to
`SimpleToken` and `SimpleTokenKind`.
2023-07-19 11:48:27 -04:00
..
snapshots Refactor StmtIf: Formatter and Linter (#5459) 2023-07-18 13:40:15 +02:00
debug.rs Extend formatter IR to support Black's expression formatting (#5596) 2023-07-11 11:20:04 +00:00
format.rs Rename ruff_python_whitespace to ruff_python_trivia (#5886) 2023-07-19 11:48:27 -04:00
map.rs Correctly associate own-line comments in bodies (#4671) 2023-06-01 08:12:53 +02:00
mod.rs Format ExpressionStarred nodes (#5654) 2023-07-11 06:08:08 +00:00
node_key.rs Correctly associate own-line comments in bodies (#4671) 2023-06-01 08:12:53 +02:00
placement.rs Rename ruff_python_whitespace to ruff_python_trivia (#5886) 2023-07-19 11:48:27 -04:00
visitor.rs Rename ruff_python_whitespace to ruff_python_trivia (#5886) 2023-07-19 11:48:27 -04:00