ruff/crates/ruff_python_formatter/src
Douglas Creager ef85c682bd
Remove customizable reference enum names (#15647)
The AST generator creates a reference enum for each syntax group — an
enum where each variant contains a reference to the relevant syntax
node. Previously you could customize the name of the reference enum for
a group — primarily because there was an existing `ExpressionRef` type
that wouldn't have lined up with the auto-derived name `ExprRef`. This
follow-up PR is a simple search/replace to switch over to the
auto-derived name, so that we can remove this customization point.
2025-01-21 13:46:31 -05:00
..
comments Remove AstNode and AnyNode (#15479) 2025-01-17 17:11:00 -05:00
expression Remove customizable reference enum names (#15647) 2025-01-21 13:46:31 -05:00
module Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
other Remove AstNode and AnyNode (#15479) 2025-01-17 17:11:00 -05:00
pattern Remove AstNode and AnyNode (#15479) 2025-01-17 17:11:00 -05:00
snapshots Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
statement Remove AstNode and AnyNode (#15479) 2025-01-17 17:11:00 -05:00
string Fix joining of f-strings with different quotes when using quote style Preserve (#15524) 2025-01-16 12:01:42 +01:00
type_param Remove AstNode and AnyNode (#15479) 2025-01-17 17:11:00 -05:00
builders.rs Fix unstable f-string formatting for expressions containing a trailing comma (#15545) 2025-01-17 10:08:09 +01:00
cli.rs Build CommentRanges outside the parser (#11792) 2024-06-09 09:55:17 +00:00
context.rs Fix unstable f-string formatting for expressions containing a trailing comma (#15545) 2025-01-17 10:08:09 +01:00
generated.rs Auto-generate AST boilerplate (#15544) 2025-01-17 14:23:02 -05:00
lib.rs Remove AstNode and AnyNode (#15479) 2025-01-17 17:11:00 -05:00
main.rs Formatter and parser refactoring (#7569) 2023-09-26 15:29:43 +02:00
options.rs Change default for Python version from 3.8 to 3.9 (#13896) 2024-11-20 13:11:51 +01:00
prelude.rs Accept any Into<AnyNodeRef> as Comments arguments (#5205) 2023-06-20 16:49:21 +00:00
preview.rs Ruff 2025 style guide (#13906) 2025-01-09 10:20:06 +01:00
range.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
shared_traits.rs Upgrade Rust toolchain to 1.83 (#14677) 2024-11-29 12:05:05 +00:00
verbatim.rs Upgrade Rust toolchain to 1.83 (#14677) 2024-11-29 12:05:05 +00:00