mirror of
https://github.com/danog/parser.git
synced 2024-12-12 00:59:37 +01:00
eed02aa4e2
Signed-off-by: azjezz <azjezz@protonmail.com>
83 lines
2.2 KiB
Plaintext
83 lines
2.2 KiB
Plaintext
[
|
|
BackedEnum(
|
|
BackedEnum {
|
|
start: (
|
|
3,
|
|
1,
|
|
),
|
|
end: (
|
|
6,
|
|
1,
|
|
),
|
|
name: Identifier {
|
|
start: (
|
|
3,
|
|
6,
|
|
),
|
|
name: "Foo",
|
|
end: (
|
|
3,
|
|
9,
|
|
),
|
|
},
|
|
attributes: [],
|
|
implements: [],
|
|
backed_type: Int,
|
|
members: [
|
|
Case(
|
|
BackedEnumCase {
|
|
start: (
|
|
4,
|
|
5,
|
|
),
|
|
end: (
|
|
5,
|
|
5,
|
|
),
|
|
name: Identifier {
|
|
start: (
|
|
4,
|
|
10,
|
|
),
|
|
name: "Bar",
|
|
end: (
|
|
4,
|
|
14,
|
|
),
|
|
},
|
|
value: LiteralInteger {
|
|
i: 2,
|
|
},
|
|
},
|
|
),
|
|
Case(
|
|
BackedEnumCase {
|
|
start: (
|
|
5,
|
|
5,
|
|
),
|
|
end: (
|
|
6,
|
|
1,
|
|
),
|
|
name: Identifier {
|
|
start: (
|
|
5,
|
|
10,
|
|
),
|
|
name: "Baz",
|
|
end: (
|
|
5,
|
|
14,
|
|
),
|
|
},
|
|
value: LiteralInteger {
|
|
i: 4,
|
|
},
|
|
},
|
|
),
|
|
],
|
|
},
|
|
),
|
|
]
|