mirror of
https://github.com/danog/parser.git
synced 2024-11-26 20:04:57 +01:00
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
[
|
|
Class {
|
|
name: Identifier {
|
|
name: "foo",
|
|
},
|
|
extends: None,
|
|
implements: [],
|
|
body: [
|
|
Method {
|
|
name: Identifier {
|
|
name: "__construct",
|
|
},
|
|
params: [
|
|
Param {
|
|
name: Variable {
|
|
name: "s",
|
|
},
|
|
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: [],
|
|
},
|
|
]
|