ruff/crates/ruff_python_ast
Douglas Creager fa546b20a6
Separate grouped and ungrouped nodes more clearly in AST generator (#15646)
This is a minor cleanup to the AST generation script to make a clearer
separation between nodes that do appear in a group enum, and those that
don't. There are some types and methods that we create for every syntax
node, and others that refer to the group that the syntax node belongs
to, and which therefore don't make sense for ungrouped nodes. This new
separation makes it clearer which category each definition is in, since
you're either inside of a `for group in ast.groups` loop, or a `for node
in ast.all_nodes` loop.
2025-01-21 13:37:18 -05:00
..
src Separate grouped and ungrouped nodes more clearly in AST generator (#15646) 2025-01-21 13:37:18 -05:00
ast.toml Remove AstNode and AnyNode (#15479) 2025-01-17 17:11:00 -05:00
Cargo.toml Remove the optional salsa dependency from the AST crate (#14363) 2024-11-15 16:46:04 +00:00
generate.py Separate grouped and ungrouped nodes more clearly in AST generator (#15646) 2025-01-21 13:37:18 -05:00