mirror of
https://github.com/danog/parser.git
synced 2025-01-05 20:28:29 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
143 lines
2.0 KiB
Plaintext
143 lines
2.0 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: Colon,
|
|
span: (
|
|
5,
|
|
9,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"int",
|
|
),
|
|
span: (
|
|
5,
|
|
11,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftBrace,
|
|
span: (
|
|
5,
|
|
15,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Case,
|
|
span: (
|
|
6,
|
|
6,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"Bar",
|
|
),
|
|
span: (
|
|
6,
|
|
11,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Equals,
|
|
span: (
|
|
6,
|
|
15,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LiteralInteger(
|
|
1,
|
|
),
|
|
span: (
|
|
6,
|
|
17,
|
|
),
|
|
},
|
|
Token {
|
|
kind: SemiColon,
|
|
span: (
|
|
6,
|
|
18,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Case,
|
|
span: (
|
|
7,
|
|
6,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"Baz",
|
|
),
|
|
span: (
|
|
7,
|
|
11,
|
|
),
|
|
},
|
|
Token {
|
|
kind: SemiColon,
|
|
span: (
|
|
7,
|
|
14,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightBrace,
|
|
span: (
|
|
8,
|
|
1,
|
|
),
|
|
},
|
|
]
|