2022-12-03 20:31:10 +01:00
|
|
|
[
|
|
|
|
Class {
|
|
|
|
name: Identifier {
|
|
|
|
name: "bar",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-12-03 20:31:10 +01:00
|
|
|
extends: None,
|
|
|
|
implements: [],
|
|
|
|
body: [],
|
|
|
|
flags: [],
|
|
|
|
},
|
|
|
|
Noop,
|
|
|
|
Expression {
|
|
|
|
expr: Infix {
|
|
|
|
lhs: Variable {
|
|
|
|
name: "e",
|
|
|
|
},
|
|
|
|
op: Assign,
|
|
|
|
rhs: New {
|
|
|
|
target: AnonymousClass {
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-12-03 20:31:10 +01:00
|
|
|
extends: Some(
|
|
|
|
Identifier {
|
|
|
|
name: "bar",
|
|
|
|
},
|
|
|
|
),
|
|
|
|
implements: [],
|
|
|
|
body: [
|
|
|
|
Method {
|
|
|
|
name: Identifier {
|
|
|
|
name: "bar",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-12-03 20:31:10 +01:00
|
|
|
params: [],
|
|
|
|
body: [
|
|
|
|
Return {
|
|
|
|
value: Some(
|
|
|
|
New {
|
|
|
|
target: Identifier {
|
|
|
|
name: "bar",
|
|
|
|
},
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
flags: [
|
|
|
|
Public,
|
|
|
|
],
|
|
|
|
return_type: Some(
|
|
|
|
ParentReference,
|
|
|
|
),
|
|
|
|
by_ref: false,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|