Fix ast types' _fields and use 0-based column

This commit is contained in:
dvermd
2022-10-17 19:09:15 +02:00
committed by Jeong YunWon
parent 952d70b9d1
commit fa41a1e2f6
56 changed files with 480 additions and 480 deletions

View File

@@ -6,12 +6,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
Located {
location: Location {
row: 1,
column: 1,
column: 0,
},
end_location: Some(
Location {
row: 1,
column: 12,
column: 11,
},
),
custom: (),
@@ -20,12 +20,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
Located {
location: Location {
row: 1,
column: 1,
column: 0,
},
end_location: Some(
Location {
row: 1,
column: 5,
column: 4,
},
),
custom: (),
@@ -34,12 +34,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
Located {
location: Location {
row: 1,
column: 1,
column: 0,
},
end_location: Some(
Location {
row: 1,
column: 2,
column: 1,
},
),
custom: (),
@@ -51,12 +51,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
Located {
location: Location {
row: 1,
column: 4,
column: 3,
},
end_location: Some(
Location {
row: 1,
column: 5,
column: 4,
},
),
custom: (),
@@ -73,12 +73,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
value: Located {
location: Location {
row: 1,
column: 8,
column: 7,
},
end_location: Some(
Location {
row: 1,
column: 12,
column: 11,
},
),
custom: (),
@@ -87,12 +87,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
Located {
location: Location {
row: 1,
column: 8,
column: 7,
},
end_location: Some(
Location {
row: 1,
column: 9,
column: 8,
},
),
custom: (),
@@ -106,12 +106,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
Located {
location: Location {
row: 1,
column: 11,
column: 10,
},
end_location: Some(
Location {
row: 1,
column: 12,
column: 11,
},
),
custom: (),