mirror of
https://github.com/danog/parser.git
synced 2024-12-04 18:38:11 +01:00
c93634a62b
Signed-off-by: azjezz <azjezz@protonmail.com> Signed-off-by: azjezz <azjezz@protonmail.com>
82 lines
2.3 KiB
Plaintext
82 lines
2.3 KiB
Plaintext
[
|
|
Class(
|
|
Class {
|
|
start: (
|
|
3,
|
|
1,
|
|
),
|
|
end: (
|
|
7,
|
|
1,
|
|
),
|
|
name: Identifier {
|
|
start: (
|
|
3,
|
|
7,
|
|
),
|
|
name: "Foo",
|
|
end: (
|
|
3,
|
|
11,
|
|
),
|
|
},
|
|
extends: None,
|
|
implements: None,
|
|
attributes: [],
|
|
members: [
|
|
Method(
|
|
Method {
|
|
start: (
|
|
4,
|
|
5,
|
|
),
|
|
end: (
|
|
6,
|
|
5,
|
|
),
|
|
name: Identifier {
|
|
start: (
|
|
4,
|
|
14,
|
|
),
|
|
name: "bar",
|
|
end: (
|
|
4,
|
|
17,
|
|
),
|
|
},
|
|
attributes: [],
|
|
parameters: MethodParameterList {
|
|
start: (
|
|
4,
|
|
17,
|
|
),
|
|
end: (
|
|
4,
|
|
20,
|
|
),
|
|
members: [],
|
|
},
|
|
body: Some(
|
|
[
|
|
Echo {
|
|
values: [
|
|
LiteralInteger {
|
|
i: "1",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
),
|
|
modifiers: MethodModifierGroup {
|
|
modifiers: [],
|
|
},
|
|
return_type: None,
|
|
by_ref: false,
|
|
},
|
|
),
|
|
],
|
|
},
|
|
),
|
|
]
|