mirror of
https://github.com/danog/parser.git
synced 2024-12-15 02:16:56 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
96 lines
2.3 KiB
Plaintext
96 lines
2.3 KiB
Plaintext
[
|
|
Class {
|
|
name: Identifier {
|
|
start: (
|
|
3,
|
|
7,
|
|
),
|
|
name: "s",
|
|
end: (
|
|
3,
|
|
9,
|
|
),
|
|
},
|
|
attributes: [],
|
|
extends: None,
|
|
implements: [],
|
|
body: [],
|
|
flags: [],
|
|
},
|
|
Class {
|
|
name: Identifier {
|
|
start: (
|
|
5,
|
|
7,
|
|
),
|
|
name: "foo",
|
|
end: (
|
|
5,
|
|
11,
|
|
),
|
|
},
|
|
attributes: [],
|
|
extends: Some(
|
|
Identifier {
|
|
start: (
|
|
5,
|
|
19,
|
|
),
|
|
name: "s",
|
|
end: (
|
|
5,
|
|
21,
|
|
),
|
|
},
|
|
),
|
|
implements: [],
|
|
body: [
|
|
Method {
|
|
name: Identifier {
|
|
start: (
|
|
6,
|
|
21,
|
|
),
|
|
name: "bar",
|
|
end: (
|
|
6,
|
|
24,
|
|
),
|
|
},
|
|
attributes: [],
|
|
params: [],
|
|
body: [
|
|
Return {
|
|
value: Some(
|
|
New {
|
|
target: Identifier(
|
|
Identifier {
|
|
start: (
|
|
7,
|
|
20,
|
|
),
|
|
name: "s",
|
|
end: (
|
|
7,
|
|
21,
|
|
),
|
|
},
|
|
),
|
|
args: [],
|
|
},
|
|
),
|
|
},
|
|
],
|
|
flags: [
|
|
Public,
|
|
],
|
|
return_type: Some(
|
|
ParentReference,
|
|
),
|
|
by_ref: false,
|
|
},
|
|
],
|
|
flags: [],
|
|
},
|
|
]
|