parser/tests/fixtures/0158/ast.txt
Saif Eddin Gmati 9a2a903fb9
chore: refactor ast (#162)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-06 09:33:29 +01:00

111 lines
2.8 KiB
Plaintext

[
Namespace {
name: Identifier {
start: (
3,
11,
),
name: "Foo\Bar",
end: (
3,
18,
),
},
body: [
Noop,
Function(
Function {
start: (
5,
1,
),
end: (
7,
1,
),
name: Identifier {
start: (
5,
10,
),
name: "foo",
end: (
5,
13,
),
},
attributes: [],
parameters: FunctionParameterList {
start: (
5,
13,
),
end: (
5,
16,
),
members: [],
},
return_type: None,
by_ref: false,
body: [],
},
),
],
},
Namespace {
name: Identifier {
start: (
7,
11,
),
name: "Foo\Baz",
end: (
7,
18,
),
},
body: [
Noop,
Function(
Function {
start: (
9,
1,
),
end: (
0,
0,
),
name: Identifier {
start: (
9,
10,
),
name: "foo",
end: (
9,
13,
),
},
attributes: [],
parameters: FunctionParameterList {
start: (
9,
13,
),
end: (
9,
16,
),
members: [],
},
return_type: None,
by_ref: false,
body: [],
},
),
],
},
]