parser/tests/0221/tokens.txt
2022-12-04 09:53:18 +00:00

373 lines
5.3 KiB
Plaintext

[
Token {
kind: OpenTag(
Full,
),
span: (
1,
1,
),
},
Token {
kind: Interface,
span: (
3,
1,
),
},
Token {
kind: Identifier(
"A",
),
span: (
3,
11,
),
},
Token {
kind: LeftBrace,
span: (
3,
13,
),
},
Token {
kind: RightBrace,
span: (
3,
14,
),
},
Token {
kind: Interface,
span: (
4,
1,
),
},
Token {
kind: Identifier(
"B",
),
span: (
4,
11,
),
},
Token {
kind: LeftBrace,
span: (
4,
13,
),
},
Token {
kind: RightBrace,
span: (
4,
14,
),
},
Token {
kind: Interface,
span: (
5,
1,
),
},
Token {
kind: Identifier(
"C",
),
span: (
5,
11,
),
},
Token {
kind: LeftBrace,
span: (
5,
13,
),
},
Token {
kind: RightBrace,
span: (
5,
14,
),
},
Token {
kind: Interface,
span: (
6,
1,
),
},
Token {
kind: Identifier(
"D",
),
span: (
6,
11,
),
},
Token {
kind: LeftBrace,
span: (
6,
13,
),
},
Token {
kind: RightBrace,
span: (
6,
14,
),
},
Token {
kind: Function,
span: (
8,
1,
),
},
Token {
kind: Identifier(
"foo",
),
span: (
8,
10,
),
},
Token {
kind: LeftParen,
span: (
8,
13,
),
},
Token {
kind: Identifier(
"A",
),
span: (
8,
14,
),
},
Token {
kind: Pipe,
span: (
8,
15,
),
},
Token {
kind: LeftParen,
span: (
8,
16,
),
},
Token {
kind: Identifier(
"B",
),
span: (
8,
17,
),
},
Token {
kind: Ampersand,
span: (
8,
18,
),
},
Token {
kind: Identifier(
"C",
),
span: (
8,
19,
),
},
Token {
kind: Ampersand,
span: (
8,
20,
),
},
Token {
kind: Identifier(
"D",
),
span: (
8,
21,
),
},
Token {
kind: RightParen,
span: (
8,
22,
),
},
Token {
kind: Variable(
"a",
),
span: (
8,
24,
),
},
Token {
kind: RightParen,
span: (
8,
26,
),
},
Token {
kind: Colon,
span: (
8,
27,
),
},
Token {
kind: Identifier(
"A",
),
span: (
8,
29,
),
},
Token {
kind: Ampersand,
span: (
8,
30,
),
},
Token {
kind: LeftParen,
span: (
8,
31,
),
},
Token {
kind: Identifier(
"B",
),
span: (
8,
32,
),
},
Token {
kind: Pipe,
span: (
8,
33,
),
},
Token {
kind: Identifier(
"C",
),
span: (
8,
34,
),
},
Token {
kind: Pipe,
span: (
8,
35,
),
},
Token {
kind: Identifier(
"D",
),
span: (
8,
36,
),
},
Token {
kind: RightParen,
span: (
8,
37,
),
},
Token {
kind: LeftBrace,
span: (
8,
39,
),
},
Token {
kind: Identifier(
"exit",
),
span: (
9,
5,
),
},
Token {
kind: LeftParen,
span: (
9,
9,
),
},
Token {
kind: LiteralInteger(
0,
),
span: (
9,
10,
),
},
Token {
kind: RightParen,
span: (
9,
11,
),
},
Token {
kind: SemiColon,
span: (
9,
12,
),
},
Token {
kind: RightBrace,
span: (
10,
1,
),
},
]