parser/tests/fixtures/0130/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

78 lines
2.1 KiB
Plaintext

[
Class {
name: Identifier {
start: (
3,
7,
),
name: "foo",
end: (
3,
11,
),
},
attributes: [],
extends: None,
implements: [],
body: [
Method(
Method {
start: (
4,
12,
),
end: (
7,
1,
),
name: Identifier {
start: (
4,
21,
),
name: "foreach",
end: (
4,
28,
),
},
attributes: [],
parameters: MethodParameterList {
start: (
4,
28,
),
end: (
4,
31,
),
members: [],
},
body: Some(
[],
),
flags: MethodModifierGroup {
flags: [
Public {
start: (
4,
5,
),
end: (
4,
12,
),
},
],
},
return_type: None,
by_ref: false,
},
),
],
modifiers: ClassModifierGroup {
flags: [],
},
},
]