parser/tests/0148/tokens.txt
Saif Eddin Gmati c098715da6 fix: enum parser
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-04 08:56:53 +00:00

127 lines
1.8 KiB
Plaintext

[
Token {
kind: OpenTag(
Full,
),
span: (
1,
1,
),
},
Token {
kind: Namespace,
span: (
3,
1,
),
},
Token {
kind: QualifiedIdentifier(
"A\B\C\D\E",
),
span: (
3,
11,
),
},
Token {
kind: SemiColon,
span: (
3,
20,
),
},
Token {
kind: Enum,
span: (
5,
1,
),
},
Token {
kind: Identifier(
"Foo",
),
span: (
5,
6,
),
},
Token {
kind: LeftBrace,
span: (
5,
10,
),
},
Token {
kind: Case,
span: (
6,
6,
),
},
Token {
kind: Identifier(
"Bar",
),
span: (
6,
11,
),
},
Token {
kind: SemiColon,
span: (
6,
14,
),
},
Token {
kind: Case,
span: (
7,
6,
),
},
Token {
kind: Identifier(
"Baz",
),
span: (
7,
11,
),
},
Token {
kind: Equals,
span: (
7,
15,
),
},
Token {
kind: LiteralInteger(
2,
),
span: (
7,
17,
),
},
Token {
kind: SemiColon,
span: (
7,
18,
),
},
Token {
kind: RightBrace,
span: (
8,
1,
),
},
]