parser/tests/fixtures/0220/tokens.txt

225 lines
3.1 KiB
Plaintext

[
Token {
kind: OpenTag(
Full,
),
span: (
1,
1,
),
},
Token {
kind: Class,
span: (
3,
1,
),
},
Token {
kind: Identifier(
"bar",
),
span: (
3,
7,
),
},
Token {
kind: LeftBrace,
span: (
3,
11,
),
},
Token {
kind: RightBrace,
span: (
3,
12,
),
},
Token {
kind: SemiColon,
span: (
3,
13,
),
},
Token {
kind: Variable(
"e",
),
span: (
5,
1,
),
},
Token {
kind: Equals,
span: (
5,
4,
),
},
Token {
kind: New,
span: (
5,
6,
),
},
Token {
kind: Class,
span: (
5,
10,
),
},
Token {
kind: Extends,
span: (
5,
16,
),
},
Token {
kind: Identifier(
"bar",
),
span: (
5,
24,
),
},
Token {
kind: LeftBrace,
span: (
5,
28,
),
},
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: 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(
"bar",
),
span: (
7,
20,
),
},
Token {
kind: LeftParen,
span: (
7,
23,
),
},
Token {
kind: RightParen,
span: (
7,
24,
),
},
Token {
kind: SemiColon,
span: (
7,
25,
),
},
Token {
kind: RightBrace,
span: (
8,
5,
),
},
Token {
kind: RightBrace,
span: (
9,
1,
),
},
Token {
kind: SemiColon,
span: (
9,
2,
),
},
]