parser/tests/0219/tokens.txt

148 lines
2.1 KiB
Plaintext
Raw Normal View History

2022-12-03 20:31:10 +01:00
[
Token {
kind: OpenTag(
Full,
),
span: (
1,
1,
),
},
Token {
kind: Enum,
span: (
3,
1,
),
},
Token {
kind: Identifier(
"foo",
),
span: (
3,
6,
),
},
Token {
kind: LeftBrace,
span: (
3,
10,
),
},
Token {
kind: Public,
span: (
4,
5,
),
},
Token {
kind: Function,
span: (
4,
12,
),
},
Token {
kind: Identifier(
"bar",
),
span: (
4,
21,
),
},
Token {
kind: LeftParen,
span: (
4,
24,
),
},
Token {
kind: RightParen,
span: (
4,
25,
),
},
Token {
kind: Colon,
span: (
4,
26,
),
},
Token {
kind: Identifier(
"parent",
),
span: (
4,
28,
),
},
Token {
kind: LeftBrace,
span: (
4,
35,
),
},
Token {
kind: Identifier(
"exit",
),
span: (
5,
9,
),
},
Token {
kind: LeftParen,
span: (
5,
13,
),
},
Token {
kind: LiteralInteger(
1,
),
span: (
5,
14,
),
},
Token {
kind: RightParen,
span: (
5,
15,
),
},
Token {
kind: SemiColon,
span: (
5,
16,
),
},
Token {
kind: RightBrace,
span: (
6,
5,
),
},
Token {
kind: RightBrace,
span: (
7,
1,
),
},
]