2022-12-03 20:31:10 +01:00
|
|
|
[
|
|
|
|
Class {
|
|
|
|
name: Identifier {
|
2022-12-05 17:53:41 +01:00
|
|
|
start: (
|
|
|
|
3,
|
|
|
|
7,
|
|
|
|
),
|
2022-12-03 20:31:10 +01:00
|
|
|
name: "bar",
|
2022-12-05 17:53:41 +01:00
|
|
|
end: (
|
|
|
|
3,
|
|
|
|
11,
|
|
|
|
),
|
2022-12-03 20:31:10 +01:00
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-12-03 20:31:10 +01:00
|
|
|
extends: None,
|
|
|
|
implements: [],
|
|
|
|
body: [],
|
2022-12-06 09:33:29 +01:00
|
|
|
modifiers: ClassModifierGroup {
|
|
|
|
flags: [],
|
|
|
|
},
|
2022-12-03 20:31:10 +01:00
|
|
|
},
|
|
|
|
Noop,
|
|
|
|
Expression {
|
|
|
|
expr: Infix {
|
2022-12-05 17:53:41 +01:00
|
|
|
lhs: Variable(
|
|
|
|
Variable {
|
|
|
|
start: (
|
|
|
|
5,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "e",
|
|
|
|
end: (
|
|
|
|
5,
|
|
|
|
4,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
),
|
2022-12-03 20:31:10 +01:00
|
|
|
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 {
|
2022-12-05 17:53:41 +01:00
|
|
|
start: (
|
|
|
|
5,
|
|
|
|
24,
|
|
|
|
),
|
2022-12-03 20:31:10 +01:00
|
|
|
name: "bar",
|
2022-12-05 17:53:41 +01:00
|
|
|
end: (
|
|
|
|
5,
|
|
|
|
28,
|
|
|
|
),
|
2022-12-03 20:31:10 +01:00
|
|
|
},
|
|
|
|
),
|
|
|
|
implements: [],
|
|
|
|
body: [
|
2022-12-06 09:33:29 +01:00
|
|
|
Method(
|
|
|
|
Method {
|
2022-12-05 17:53:41 +01:00
|
|
|
start: (
|
|
|
|
6,
|
2022-12-06 09:33:29 +01:00
|
|
|
12,
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
|
|
|
end: (
|
2022-12-06 09:33:29 +01:00
|
|
|
9,
|
|
|
|
1,
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
2022-12-06 09:33:29 +01:00
|
|
|
name: Identifier {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
21,
|
|
|
|
),
|
|
|
|
name: "bar",
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
24,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
parameters: MethodParameterList {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
24,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
26,
|
|
|
|
),
|
|
|
|
members: [],
|
|
|
|
},
|
|
|
|
body: Some(
|
|
|
|
[
|
|
|
|
Return {
|
|
|
|
value: Some(
|
|
|
|
New {
|
|
|
|
target: Identifier(
|
|
|
|
Identifier {
|
|
|
|
start: (
|
|
|
|
7,
|
|
|
|
20,
|
|
|
|
),
|
|
|
|
name: "bar",
|
|
|
|
end: (
|
|
|
|
7,
|
|
|
|
23,
|
|
|
|
),
|
|
|
|
},
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
2022-12-06 09:33:29 +01:00
|
|
|
args: [],
|
2022-12-05 17:53:41 +01:00
|
|
|
},
|
|
|
|
),
|
2022-12-03 20:31:10 +01:00
|
|
|
},
|
2022-12-06 09:33:29 +01:00
|
|
|
],
|
|
|
|
),
|
|
|
|
flags: MethodModifierGroup {
|
|
|
|
flags: [
|
|
|
|
Public {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
5,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
12,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
],
|
2022-12-03 20:31:10 +01:00
|
|
|
},
|
2022-12-06 09:33:29 +01:00
|
|
|
return_type: Some(
|
|
|
|
ParentReference,
|
|
|
|
),
|
|
|
|
by_ref: false,
|
|
|
|
},
|
|
|
|
),
|
2022-12-03 20:31:10 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|