mirror of
https://github.com/danog/parser.git
synced 2025-01-09 14:18:26 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
72 lines
1.9 KiB
Plaintext
72 lines
1.9 KiB
Plaintext
[
|
|
Class {
|
|
name: Identifier {
|
|
start: (
|
|
3,
|
|
7,
|
|
),
|
|
name: "foo",
|
|
end: (
|
|
3,
|
|
11,
|
|
),
|
|
},
|
|
attributes: [],
|
|
extends: None,
|
|
implements: [],
|
|
body: [
|
|
Method {
|
|
name: Identifier {
|
|
start: (
|
|
4,
|
|
21,
|
|
),
|
|
name: "__construct",
|
|
end: (
|
|
4,
|
|
32,
|
|
),
|
|
},
|
|
attributes: [],
|
|
params: [
|
|
Param {
|
|
name: Variable {
|
|
start: (
|
|
5,
|
|
32,
|
|
),
|
|
name: "s",
|
|
end: (
|
|
5,
|
|
35,
|
|
),
|
|
},
|
|
attributes: [],
|
|
type: Some(
|
|
String,
|
|
),
|
|
variadic: false,
|
|
default: Some(
|
|
LiteralString {
|
|
value: "h",
|
|
},
|
|
),
|
|
flags: [
|
|
Readonly,
|
|
Public,
|
|
],
|
|
by_ref: false,
|
|
},
|
|
],
|
|
body: [],
|
|
flags: [
|
|
Public,
|
|
],
|
|
return_type: None,
|
|
by_ref: false,
|
|
},
|
|
],
|
|
flags: [],
|
|
},
|
|
]
|