2021-11-03 16:34:05 +08:00
|
|
|
---
|
2021-11-04 15:03:34 +08:00
|
|
|
source: nac3parser/src/parser.rs
|
2021-12-26 00:23:54 +08:00
|
|
|
assertion_line: 111
|
2021-11-03 16:34:05 +08:00
|
|
|
expression: parse_ast
|
|
|
|
|
|
|
|
---
|
|
|
|
[
|
|
|
|
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: 8,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Call {
|
|
|
|
func: 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: Name {
|
|
|
|
id: "my_func",
|
|
|
|
ctx: Load,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
args: [
|
|
|
|
Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 10,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Constant {
|
|
|
|
value: Str(
|
|
|
|
"positional",
|
|
|
|
),
|
|
|
|
kind: None,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
keywords: [
|
|
|
|
Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 23,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: KeywordData {
|
|
|
|
arg: Some(
|
|
|
|
"keyword",
|
|
|
|
),
|
|
|
|
value: Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 31,
|
2021-12-28 01:38:16 +08:00
|
|
|
file: FileName(
|
|
|
|
"unknown",
|
|
|
|
),
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Constant {
|
|
|
|
value: Int(
|
2022-03-08 02:36:40 +08:00
|
|
|
2,
|
2021-11-03 16:34:05 +08:00
|
|
|
),
|
|
|
|
kind: None,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2021-11-04 15:03:34 +08:00
|
|
|
config_comment: [],
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|