parser/tests/fixtures/0155/ast.txt

100 lines
3.4 KiB
Plaintext
Raw Normal View History

[
Namespace {
name: Identifier {
start: (
3,
11,
),
name: "Foo\Bar",
end: (
3,
18,
),
},
body: [
Noop(
(
3,
18,
),
),
Class(
Class {
start: (
5,
7,
),
end: (
7,
1,
),
name: Identifier {
start: (
5,
13,
),
name: "Baz",
end: (
5,
17,
),
},
extends: None,
implements: None,
attributes: [],
members: [
Property(
Property {
attributes: [],
type: Some(
String,
),
modifiers: PropertyModifierGroup {
modifiers: [
Public {
start: (
6,
6,
),
end: (
6,
13,
),
},
Readonly {
start: (
6,
13,
),
end: (
6,
22,
),
},
],
},
entries: [
PropertyEntry {
variable: Variable {
start: (
6,
29,
),
name: "foo",
end: (
6,
33,
),
},
value: None,
},
],
},
),
],
},
),
],
},
]