parser/tests/fixtures/0155/ast.txt

93 lines
2.8 KiB
Plaintext
Raw Normal View History

[
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: [
Property {
var: Variable {
start: (
6,
29,
),
name: "foo",
end: (
6,
33,
),
},
attributes: [],
value: None,
type: Some(
String,
),
modifiers: PropertyModifierGroup {
modifiers: [
Public {
start: (
6,
6,
),
end: (
6,
13,
),
},
Readonly {
start: (
6,
13,
),
end: (
6,
22,
),
},
],
},
},
],
modifiers: ClassModifierGroup {
modifiers: [
Final {
start: (
5,
1,
),
end: (
5,
7,
),
},
],
},
},
],
},
]