parser/tests/0168/tokens.txt
2022-12-04 08:56:53 +00:00

157 lines
2.2 KiB
Plaintext

[
Token {
kind: OpenTag(
Full,
),
span: (
1,
1,
),
},
Token {
kind: Class,
span: (
3,
1,
),
},
Token {
kind: Identifier(
"Foo",
),
span: (
3,
7,
),
},
Token {
kind: LeftBrace,
span: (
3,
11,
),
},
Token {
kind: Public,
span: (
4,
5,
),
},
Token {
kind: Function,
span: (
4,
12,
),
},
Token {
kind: Identifier(
"__construct",
),
span: (
4,
21,
),
},
Token {
kind: LeftParen,
span: (
4,
32,
),
},
Token {
kind: Public,
span: (
5,
9,
),
},
Token {
kind: Identifier(
"string",
),
span: (
5,
16,
),
},
Token {
kind: Pipe,
span: (
5,
22,
),
},
Token {
kind: Identifier(
"int",
),
span: (
5,
23,
),
},
Token {
kind: Pipe,
span: (
5,
26,
),
},
Token {
kind: Identifier(
"callable",
),
span: (
5,
27,
),
},
Token {
kind: Variable(
"s",
),
span: (
5,
36,
),
},
Token {
kind: Comma,
span: (
5,
38,
),
},
Token {
kind: RightParen,
span: (
6,
5,
),
},
Token {
kind: LeftBrace,
span: (
6,
7,
),
},
Token {
kind: RightBrace,
span: (
6,
8,
),
},
Token {
kind: RightBrace,
span: (
7,
1,
),
},
]