parser/tests/0217/tokens.txt

199 lines
2.8 KiB
Plaintext
Raw Normal View History

2022-12-03 20:31:10 +01:00
[
Token {
kind: OpenTag(
Full,
),
span: (
1,
1,
),
},
Token {
kind: Class,
span: (
3,
1,
),
},
Token {
kind: Identifier(
"s",
),
span: (
3,
7,
),
},
Token {
kind: LeftBrace,
span: (
3,
9,
),
},
Token {
kind: RightBrace,
span: (
3,
10,
),
},
Token {
kind: Class,
span: (
5,
1,
),
},
Token {
kind: Identifier(
"foo",
),
span: (
5,
7,
),
},
Token {
kind: Extends,
span: (
5,
11,
),
},
Token {
kind: Identifier(
"s",
),
span: (
5,
19,
),
},
Token {
kind: LeftBrace,
span: (
5,
21,
),
},
Token {
kind: Public,
span: (
6,
5,
),
},
Token {
kind: Function,
span: (
6,
12,
),
},
Token {
kind: Identifier(
"bar",
),
span: (
6,
21,
),
},
Token {
kind: LeftParen,
span: (
6,
24,
),
},
Token {
kind: RightParen,
span: (
6,
25,
),
},
Token {
kind: Colon,
span: (
6,
26,
),
},
Token {
kind: Identifier(
"parent",
),
span: (
6,
28,
),
},
Token {
kind: LeftBrace,
span: (
6,
35,
),
},
Token {
kind: Return,
span: (
7,
9,
),
},
Token {
kind: New,
span: (
7,
16,
),
},
Token {
kind: Identifier(
"s",
),
span: (
7,
20,
),
},
Token {
kind: LeftParen,
span: (
7,
21,
),
},
Token {
kind: RightParen,
span: (
7,
22,
),
},
Token {
kind: SemiColon,
span: (
7,
23,
),
},
Token {
kind: RightBrace,
span: (
8,
5,
),
},
Token {
kind: RightBrace,
span: (
9,
1,
),
},
]