parser/tests/fixtures/0145/ast.txt
Saif Eddin Gmati 5127b2116d
chore: refactor interface ast (#187)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-09 14:42:46 +01:00

92 lines
2.8 KiB
Plaintext

[
Interface(
Interface {
start: (
3,
1,
),
end: (
5,
1,
),
name: Identifier {
start: (
3,
11,
),
name: "foo",
end: (
3,
15,
),
},
attributes: [],
extends: [],
members: [
Method(
Method {
start: (
4,
21,
),
end: (
4,
35,
),
name: Identifier {
start: (
4,
30,
),
name: "bar",
end: (
4,
33,
),
},
attributes: [],
parameters: MethodParameterList {
start: (
4,
33,
),
end: (
4,
35,
),
members: [],
},
body: None,
modifiers: MethodModifierGroup {
modifiers: [
Public {
start: (
4,
6,
),
end: (
4,
14,
),
},
Static {
start: (
4,
14,
),
end: (
4,
21,
),
},
],
},
return_type: None,
by_ref: false,
},
),
],
},
),
]