2021-11-03 16:34:05 +08:00
|
|
|
---
|
2021-11-04 15:03:34 +08:00
|
|
|
source: nac3parser/src/parser.rs
|
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,
|
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Expr {
|
|
|
|
value: Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 6,
|
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Call {
|
|
|
|
func: Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 1,
|
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Name {
|
|
|
|
id: "print",
|
|
|
|
ctx: Load,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
args: [
|
|
|
|
Located {
|
|
|
|
location: Location {
|
|
|
|
row: 1,
|
|
|
|
column: 8,
|
|
|
|
},
|
|
|
|
custom: (),
|
|
|
|
node: Constant {
|
|
|
|
value: Str(
|
|
|
|
"Hello world",
|
|
|
|
),
|
|
|
|
kind: None,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
keywords: [],
|
|
|
|
},
|
|
|
|
},
|
2021-11-04 15:03:34 +08:00
|
|
|
config_comment: [],
|
2021-11-03 16:34:05 +08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|