mirror of
https://github.com/danog/parser.git
synced 2024-12-02 09:27:50 +01:00
b6c145f98e
Signed-off-by: azjezz <azjezz@protonmail.com>
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
[
|
|
Class {
|
|
name: Identifier {
|
|
name: "foo",
|
|
},
|
|
attributes: [],
|
|
extends: None,
|
|
implements: [],
|
|
body: [
|
|
Method {
|
|
name: Identifier {
|
|
name: "__construct",
|
|
},
|
|
attributes: [],
|
|
params: [
|
|
Param {
|
|
name: Variable {
|
|
name: "s",
|
|
},
|
|
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: [],
|
|
},
|
|
]
|