parser/tests/fixtures/0153/ast.txt
azjezz 479f51913c
chore: remove build script
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-05 18:36:04 +01:00

90 lines
2.7 KiB
Plaintext

[
Namespace {
name: Identifier {
start: (
3,
11,
),
name: "Foo\Bar",
end: (
3,
18,
),
},
body: [
Noop,
Class {
name: Identifier {
start: (
5,
13,
),
name: "Baz",
end: (
5,
17,
),
},
attributes: [],
extends: None,
implements: [],
body: [
Method {
name: Identifier {
start: (
6,
22,
),
name: "__construct",
end: (
6,
33,
),
},
attributes: [],
params: [
Param {
name: Variable {
start: (
7,
34,
),
name: "name",
end: (
7,
40,
),
},
attributes: [],
type: Some(
String,
),
variadic: false,
default: Some(
LiteralString {
value: "foo",
},
),
flags: [
Public,
Readonly,
],
by_ref: false,
},
],
body: [],
flags: [
Public,
],
return_type: None,
by_ref: false,
},
],
flags: [
Final,
],
},
],
},
]