mirror of
https://github.com/danog/parser.git
synced 2024-12-12 17:17:23 +01:00
eed02aa4e2
Signed-off-by: azjezz <azjezz@protonmail.com>
141 lines
5.1 KiB
Plaintext
141 lines
5.1 KiB
Plaintext
[
|
|
Class {
|
|
name: Identifier {
|
|
start: (
|
|
3,
|
|
7,
|
|
),
|
|
name: "bar",
|
|
end: (
|
|
3,
|
|
11,
|
|
),
|
|
},
|
|
attributes: [],
|
|
extends: None,
|
|
implements: [],
|
|
body: [],
|
|
modifiers: ClassModifierGroup {
|
|
modifiers: [],
|
|
},
|
|
},
|
|
Noop,
|
|
Expression {
|
|
expr: Infix {
|
|
lhs: Variable(
|
|
Variable {
|
|
start: (
|
|
5,
|
|
1,
|
|
),
|
|
name: "e",
|
|
end: (
|
|
5,
|
|
4,
|
|
),
|
|
},
|
|
),
|
|
op: Assign,
|
|
rhs: New {
|
|
target: AnonymousClass {
|
|
attributes: [],
|
|
extends: Some(
|
|
Identifier {
|
|
start: (
|
|
5,
|
|
24,
|
|
),
|
|
name: "bar",
|
|
end: (
|
|
5,
|
|
28,
|
|
),
|
|
},
|
|
),
|
|
implements: [],
|
|
body: [
|
|
Method(
|
|
Method {
|
|
start: (
|
|
6,
|
|
5,
|
|
),
|
|
end: (
|
|
8,
|
|
5,
|
|
),
|
|
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,
|
|
),
|
|
},
|
|
),
|
|
args: [],
|
|
},
|
|
),
|
|
},
|
|
],
|
|
),
|
|
modifiers: MethodModifierGroup {
|
|
modifiers: [
|
|
Public {
|
|
start: (
|
|
6,
|
|
5,
|
|
),
|
|
end: (
|
|
6,
|
|
12,
|
|
),
|
|
},
|
|
],
|
|
},
|
|
return_type: Some(
|
|
ParentReference,
|
|
),
|
|
by_ref: false,
|
|
},
|
|
),
|
|
],
|
|
},
|
|
args: [],
|
|
},
|
|
},
|
|
},
|
|
]
|