parser/tests/0217/ast.txt

51 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-12-03 20:31:10 +01:00
[
Class {
name: Identifier {
name: "s",
},
extends: None,
implements: [],
body: [],
flags: [],
},
Class {
name: Identifier {
name: "foo",
},
extends: Some(
Identifier {
name: "s",
},
),
implements: [],
body: [
Method {
name: Identifier {
name: "bar",
},
params: [],
body: [
Return {
value: Some(
New {
target: Identifier {
name: "s",
},
args: [],
},
),
},
],
flags: [
Public,
],
return_type: Some(
ParentReference,
),
by_ref: false,
},
],
flags: [],
},
]