parser/tests/fixtures/0022/tokens.txt

266 lines
3.7 KiB
Plaintext
Raw Normal View History

[
Token {
kind: OpenTag(
Full,
),
span: (
1,
1,
),
},
Token {
kind: Foreach,
span: (
3,
1,
),
},
Token {
kind: LeftParen,
span: (
3,
9,
),
},
Token {
kind: Variable(
"a",
),
span: (
3,
10,
),
},
Token {
kind: As,
span: (
3,
13,
),
},
Token {
kind: Variable(
"b",
),
span: (
3,
16,
),
},
Token {
kind: RightParen,
span: (
3,
18,
),
},
Token {
kind: Colon,
span: (
3,
19,
),
},
Token {
kind: Echo,
span: (
4,
5,
),
},
Token {
kind: Variable(
"a",
),
span: (
4,
10,
),
},
Token {
kind: SemiColon,
span: (
4,
12,
),
},
Token {
kind: EndForeach,
span: (
5,
1,
),
},
Token {
kind: SemiColon,
span: (
5,
11,
),
},
Token {
kind: While,
span: (
7,
1,
),
},
Token {
kind: LeftParen,
span: (
7,
7,
),
},
Token {
kind: True,
span: (
7,
8,
),
},
Token {
kind: RightParen,
span: (
7,
12,
),
},
Token {
kind: Colon,
span: (
7,
13,
),
},
Token {
kind: Variable(
"a",
),
span: (
8,
5,
),
},
Token {
kind: SemiColon,
span: (
8,
7,
),
},
Token {
kind: EndWhile,
span: (
9,
1,
),
},
Token {
kind: SemiColon,
span: (
9,
9,
),
},
Token {
kind: For,
span: (
11,
1,
),
},
Token {
kind: LeftParen,
span: (
11,
5,
),
},
Token {
kind: Variable(
"a",
),
span: (
11,
6,
),
},
Token {
kind: SemiColon,
span: (
11,
8,
),
},
Token {
kind: Variable(
"b",
),
span: (
11,
10,
),
},
Token {
kind: SemiColon,
span: (
11,
12,
),
},
Token {
kind: Variable(
"c",
),
span: (
11,
14,
),
},
Token {
kind: RightParen,
span: (
11,
16,
),
},
Token {
kind: Colon,
span: (
11,
17,
),
},
Token {
kind: Variable(
"d",
),
span: (
12,
5,
),
},
Token {
kind: SemiColon,
span: (
12,
7,
),
},
Token {
kind: EndFor,
span: (
13,
1,
),
},
Token {
kind: SemiColon,
span: (
13,
7,
),
},
]