122 lines
3.1 KiB
Plaintext
122 lines
3.1 KiB
Plaintext
---
|
|
source: compiler/parser/src/parser.rs
|
|
expression: parse_ast
|
|
---
|
|
Located {
|
|
location: Location {
|
|
row: 1,
|
|
column: 0,
|
|
},
|
|
end_location: Some(
|
|
Location {
|
|
row: 1,
|
|
column: 25,
|
|
},
|
|
),
|
|
custom: (),
|
|
node: Dict {
|
|
keys: [
|
|
Some(
|
|
Located {
|
|
location: Location {
|
|
row: 1,
|
|
column: 1,
|
|
},
|
|
end_location: Some(
|
|
Location {
|
|
row: 1,
|
|
column: 4,
|
|
},
|
|
),
|
|
custom: (),
|
|
node: Constant {
|
|
value: Str(
|
|
"a",
|
|
),
|
|
kind: None,
|
|
},
|
|
},
|
|
),
|
|
None,
|
|
Some(
|
|
Located {
|
|
location: Location {
|
|
row: 1,
|
|
column: 16,
|
|
},
|
|
end_location: Some(
|
|
Location {
|
|
row: 1,
|
|
column: 19,
|
|
},
|
|
),
|
|
custom: (),
|
|
node: Constant {
|
|
value: Str(
|
|
"d",
|
|
),
|
|
kind: None,
|
|
},
|
|
},
|
|
),
|
|
],
|
|
values: [
|
|
Located {
|
|
location: Location {
|
|
row: 1,
|
|
column: 6,
|
|
},
|
|
end_location: Some(
|
|
Location {
|
|
row: 1,
|
|
column: 9,
|
|
},
|
|
),
|
|
custom: (),
|
|
node: Constant {
|
|
value: Str(
|
|
"b",
|
|
),
|
|
kind: None,
|
|
},
|
|
},
|
|
Located {
|
|
location: Location {
|
|
row: 1,
|
|
column: 13,
|
|
},
|
|
end_location: Some(
|
|
Location {
|
|
row: 1,
|
|
column: 14,
|
|
},
|
|
),
|
|
custom: (),
|
|
node: Name {
|
|
id: "c",
|
|
ctx: Load,
|
|
},
|
|
},
|
|
Located {
|
|
location: Location {
|
|
row: 1,
|
|
column: 21,
|
|
},
|
|
end_location: Some(
|
|
Location {
|
|
row: 1,
|
|
column: 24,
|
|
},
|
|
),
|
|
custom: (),
|
|
node: Constant {
|
|
value: Str(
|
|
"e",
|
|
),
|
|
kind: None,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
}
|