mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
* Move `range` from `Attributed` to `Node`s * No Attributed + custom for Range PoC * Generate all located variants, generate enum implementations * Implement `Copy` on simple enums * Move `Suite` to `ranged` and `located` * Update tests --------- Co-authored-by: Jeong YunWon <jeong@youknowone.org>
21 lines
383 B
Plaintext
Generated
21 lines
383 B
Plaintext
Generated
---
|
|
source: parser/src/string.rs
|
|
expression: parse_ast
|
|
---
|
|
[
|
|
Expr(
|
|
StmtExpr {
|
|
range: 0..9,
|
|
value: Constant(
|
|
ExprConstant {
|
|
range: 0..9,
|
|
value: Str(
|
|
"\u{88}",
|
|
),
|
|
kind: None,
|
|
},
|
|
),
|
|
},
|
|
),
|
|
]
|