Adapt SourceLocation

This commit is contained in:
Jeong YunWon
2023-05-09 18:30:35 +09:00
parent a14e43e03a
commit 09a6afdd04
117 changed files with 1606 additions and 1676 deletions

View File

@@ -3,19 +3,19 @@ source: parser/src/parser.rs
expression: "parse_program(source, \"<test>\").unwrap()"
---
[
Located {
Attributed {
range: 0..11,
custom: (),
node: Assign(
StmtAssign {
targets: [
Located {
Attributed {
range: 0..4,
custom: (),
node: Tuple(
ExprTuple {
elts: [
Located {
Attributed {
range: 0..1,
custom: (),
node: Name(
@@ -25,7 +25,7 @@ expression: "parse_program(source, \"<test>\").unwrap()"
},
),
},
Located {
Attributed {
range: 3..4,
custom: (),
node: Name(
@@ -41,13 +41,13 @@ expression: "parse_program(source, \"<test>\").unwrap()"
),
},
],
value: Located {
value: Attributed {
range: 7..11,
custom: (),
node: Tuple(
ExprTuple {
elts: [
Located {
Attributed {
range: 7..8,
custom: (),
node: Constant(
@@ -59,7 +59,7 @@ expression: "parse_program(source, \"<test>\").unwrap()"
},
),
},
Located {
Attributed {
range: 10..11,
custom: (),
node: Constant(