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

60 lines
1.6 KiB
Plaintext

[
Class(
Class {
start: (
3,
1,
),
end: (
5,
1,
),
name: Identifier {
start: (
3,
7,
),
name: "foo",
end: (
3,
11,
),
},
extends: None,
implements: None,
attributes: [],
members: [
TraitUsage(
TraitUsage {
traits: [
Identifier {
start: (
4,
9,
),
name: "a",
end: (
4,
10,
),
},
Identifier {
start: (
4,
12,
),
name: "b",
end: (
4,
13,
),
},
],
adaptations: [],
},
),
],
},
),
]