2021-11-03 16:34:05 +08:00
|
|
|
---
|
2021-11-04 15:03:34 +08:00
|
|
|
source: nac3parser/src/parser.rs
|
2021-12-28 01:38:16 +08:00
|
|
|
assertion_line: 125
|
2021-11-03 16:34:05 +08:00
|
|
|
expression: parse_ast
|
2021-11-04 15:03:34 +08:00
|
|
|
|
2021-11-03 16:34:05 +08:00
|
|
|
---
|
|
|
|
[
|
|
|
|
Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 1,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Expr {
|
|
|
|
value: Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 1,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Lambda {
|
|
|
|
args: Arguments {
|
|
|
|
posonlyargs: [],
|
|
|
|
args: [
|
|
|
|
Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 8,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: ArgData {
|
|
|
|
arg: "x",
|
|
|
|
annotation: None,
|
|
|
|
type_comment: None,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 11,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: ArgData {
|
|
|
|
arg: "y",
|
|
|
|
annotation: None,
|
|
|
|
type_comment: None,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
vararg: None,
|
|
|
|
kwonlyargs: [],
|
|
|
|
kw_defaults: [],
|
|
|
|
kwarg: None,
|
|
|
|
defaults: [],
|
|
|
|
},
|
|
|
|
body: Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 16,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: BinOp {
|
|
|
|
left: Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 14,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Name {
|
|
|
|
id: "x",
|
|
|
|
ctx: Load,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
op: Mult,
|
|
|
|
right: Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 18,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Name {
|
|
|
|
id: "y",
|
|
|
|
ctx: Load,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-11-04 15:03:34 +08:00
|
|
|
config_comment: [],
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|