parser/tests/0208/tokens.txt
2022-12-04 08:56:53 +00:00

175 lines
2.4 KiB
Plaintext

[
Token {
kind: OpenTag(
Full,
),
span: (
1,
1,
),
},
Token {
kind: Class,
span: (
3,
1,
),
},
Token {
kind: Identifier(
"foo",
),
span: (
3,
7,
),
},
Token {
kind: LeftBrace,
span: (
3,
11,
),
},
Token {
kind: Use,
span: (
4,
5,
),
},
Token {
kind: Identifier(
"a",
),
span: (
4,
9,
),
},
Token {
kind: Comma,
span: (
4,
10,
),
},
Token {
kind: Identifier(
"b",
),
span: (
4,
12,
),
},
Token {
kind: Comma,
span: (
4,
13,
),
},
Token {
kind: Identifier(
"c",
),
span: (
4,
15,
),
},
Token {
kind: Comma,
span: (
4,
16,
),
},
Token {
kind: LeftBrace,
span: (
4,
18,
),
},
Token {
kind: Identifier(
"a",
),
span: (
5,
9,
),
},
Token {
kind: DoubleColon,
span: (
5,
10,
),
},
Token {
kind: Identifier(
"s",
),
span: (
5,
12,
),
},
Token {
kind: Insteadof,
span: (
5,
14,
),
},
Token {
kind: Identifier(
"b",
),
span: (
5,
24,
),
},
Token {
kind: Comma,
span: (
5,
25,
),
},
Token {
kind: Identifier(
"c",
),
span: (
5,
27,
),
},
Token {
kind: SemiColon,
span: (
5,
28,
),
},
Token {
kind: RightBrace,
span: (
6,
5,
),
},
Token {
kind: RightBrace,
span: (
7,
1,
),
},
]