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

89 lines
2.9 KiB
Plaintext

[
Class(
Class {
start: (
4,
1,
),
end: (
4,
12,
),
name: Identifier {
start: (
4,
7,
),
name: "Bar",
end: (
4,
11,
),
},
extends: None,
implements: None,
attributes: [
AttributeGroup {
start: (
3,
1,
),
end: (
3,
20,
),
members: [
Attribute {
start: (
3,
3,
),
end: (
3,
20,
),
expression: Call {
target: Identifier(
Identifier {
start: (
3,
3,
),
name: "Foo",
end: (
3,
6,
),
},
),
args: [
Arg {
name: Some(
Identifier {
start: (
3,
7,
),
name: "public",
end: (
3,
13,
),
},
),
value: Bool {
value: true,
},
unpack: false,
},
],
},
},
],
},
],
members: [],
},
),
]