parser/tests/fixtures/0143/ast.txt
Saif Eddin Gmati c93634a62b
chore: refactor class and trait ast (#189)
Signed-off-by: azjezz <azjezz@protonmail.com>

Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-09 22:05:03 +01:00

82 lines
2.4 KiB
Plaintext

[
Interface(
Interface {
start: (
3,
1,
),
end: (
5,
1,
),
attributes: [],
name: Identifier {
start: (
3,
11,
),
name: "foo",
end: (
3,
15,
),
},
extends: None,
members: [
Method(
Method {
start: (
4,
13,
),
end: (
4,
27,
),
name: Identifier {
start: (
4,
22,
),
name: "bar",
end: (
4,
25,
),
},
attributes: [],
parameters: MethodParameterList {
start: (
4,
25,
),
end: (
4,
27,
),
members: [],
},
body: None,
modifiers: MethodModifierGroup {
modifiers: [
Public {
start: (
4,
6,
),
end: (
4,
13,
),
},
],
},
return_type: None,
by_ref: false,
},
),
],
},
),
]