parser/tests/0215/ast.txt
2022-12-04 08:56:53 +00:00

41 lines
1.1 KiB
Plaintext

[
Trait {
name: Identifier {
name: "foo",
},
body: [
Method {
name: Identifier {
name: "bar",
},
params: [],
body: [
Expression {
expr: Call {
target: Identifier {
name: "exit",
},
args: [
Arg {
name: None,
value: LiteralInteger {
i: 1,
},
unpack: false,
},
],
},
},
],
flags: [
Public,
],
return_type: Some(
ParentReference,
),
by_ref: false,
},
],
},
]