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

48 lines
1.1 KiB
Plaintext

[
Class(
Class {
start: (
3,
1,
),
end: (
3,
24,
),
name: Identifier {
start: (
3,
7,
),
name: "Foo",
end: (
3,
11,
),
},
extends: Some(
ClassExtends {
span: (
3,
11,
),
parent: Identifier {
start: (
3,
19,
),
name: "Bar",
end: (
3,
23,
),
},
},
),
implements: None,
attributes: [],
members: [],
},
),
]