parser/tests/0127/ast.txt
2022-11-30 14:38:07 +00:00

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: [],
},
]