2022-11-30 15:38:07 +01:00
|
|
|
[
|
|
|
|
Class {
|
|
|
|
name: Identifier {
|
|
|
|
name: "foo",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-11-30 15:38:07 +01:00
|
|
|
extends: None,
|
|
|
|
implements: [],
|
|
|
|
body: [
|
|
|
|
Method {
|
|
|
|
name: Identifier {
|
|
|
|
name: "__construct",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-11-30 15:38:07 +01:00
|
|
|
params: [
|
|
|
|
Param {
|
|
|
|
name: Variable {
|
|
|
|
name: "s",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-11-30 15:38:07 +01:00
|
|
|
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: [],
|
|
|
|
},
|
|
|
|
]
|