parser/tests/0005/tokens.txt

144 lines
2.0 KiB
Plaintext
Raw Normal View History

[
Token {
kind: OpenTag(
Full,
),
span: (
1,
1,
),
},
Token {
kind: Function,
span: (
3,
1,
),
},
Token {
kind: Identifier(
"foo",
),
span: (
3,
10,
),
},
Token {
kind: LeftParen,
span: (
3,
13,
),
},
Token {
kind: RightParen,
span: (
3,
14,
),
},
Token {
kind: Colon,
span: (
3,
15,
),
},
Token {
kind: Identifier(
"never",
),
span: (
3,
17,
),
},
Token {
kind: LeftBrace,
span: (
3,
23,
),
},
Token {
kind: Try,
span: (
4,
5,
),
},
Token {
kind: LeftBrace,
span: (
4,
9,
),
},
Token {
kind: Identifier(
"bar",
),
span: (
5,
9,
),
},
Token {
kind: LeftParen,
span: (
5,
12,
),
},
Token {
kind: RightParen,
span: (
5,
13,
),
},
Token {
kind: SemiColon,
span: (
5,
14,
),
},
Token {
kind: RightBrace,
span: (
6,
5,
),
},
Token {
kind: Catch,
span: (
6,
7,
),
},
Token {
kind: LeftBrace,
span: (
6,
13,
),
},
Token {
kind: RightBrace,
span: (
8,
5,
),
},
Token {
kind: RightBrace,
span: (
9,
1,
),
},
]