mirror of
https://github.com/danog/parser.git
synced 2024-12-13 09:37:18 +01:00
236 lines
3.3 KiB
Plaintext
236 lines
3.3 KiB
Plaintext
|
[
|
||
|
Token {
|
||
|
kind: OpenTag(
|
||
|
Full,
|
||
|
),
|
||
|
span: (
|
||
|
1,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Function,
|
||
|
span: (
|
||
|
3,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"a",
|
||
|
),
|
||
|
span: (
|
||
|
3,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftParen,
|
||
|
span: (
|
||
|
3,
|
||
|
11,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightParen,
|
||
|
span: (
|
||
|
3,
|
||
|
12,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Colon,
|
||
|
span: (
|
||
|
3,
|
||
|
13,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Null,
|
||
|
span: (
|
||
|
3,
|
||
|
15,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftBrace,
|
||
|
span: (
|
||
|
3,
|
||
|
20,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Echo,
|
||
|
span: (
|
||
|
4,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LiteralString(
|
||
|
"looping..\n",
|
||
|
),
|
||
|
span: (
|
||
|
4,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: SemiColon,
|
||
|
span: (
|
||
|
4,
|
||
|
23,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Return,
|
||
|
span: (
|
||
|
6,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Null,
|
||
|
span: (
|
||
|
6,
|
||
|
12,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: SemiColon,
|
||
|
span: (
|
||
|
6,
|
||
|
16,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightBrace,
|
||
|
span: (
|
||
|
7,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Variable(
|
||
|
"bar",
|
||
|
),
|
||
|
span: (
|
||
|
9,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Equals,
|
||
|
span: (
|
||
|
9,
|
||
|
6,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"a",
|
||
|
),
|
||
|
span: (
|
||
|
9,
|
||
|
8,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftParen,
|
||
|
span: (
|
||
|
9,
|
||
|
9,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Ellipsis,
|
||
|
span: (
|
||
|
9,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightParen,
|
||
|
span: (
|
||
|
9,
|
||
|
13,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: SemiColon,
|
||
|
span: (
|
||
|
9,
|
||
|
14,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"foo",
|
||
|
),
|
||
|
span: (
|
||
|
11,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Colon,
|
||
|
span: (
|
||
|
11,
|
||
|
4,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Variable(
|
||
|
"bar",
|
||
|
),
|
||
|
span: (
|
||
|
12,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftParen,
|
||
|
span: (
|
||
|
12,
|
||
|
9,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightParen,
|
||
|
span: (
|
||
|
12,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: SemiColon,
|
||
|
span: (
|
||
|
12,
|
||
|
11,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Goto,
|
||
|
span: (
|
||
|
13,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"foo",
|
||
|
),
|
||
|
span: (
|
||
|
13,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: SemiColon,
|
||
|
span: (
|
||
|
13,
|
||
|
13,
|
||
|
),
|
||
|
},
|
||
|
]
|