parser/tests/0127/ast.txt

45 lines
1.1 KiB
Plaintext
Raw Normal View History

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