mirror of
https://github.com/danog/parser.git
synced 2024-12-12 09:09:37 +01:00
205 lines
2.8 KiB
Plaintext
205 lines
2.8 KiB
Plaintext
|
[
|
||
|
Token {
|
||
|
kind: OpenTag(
|
||
|
Full,
|
||
|
),
|
||
|
span: (
|
||
|
1,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Function,
|
||
|
span: (
|
||
|
3,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"bar",
|
||
|
),
|
||
|
span: (
|
||
|
3,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftParen,
|
||
|
span: (
|
||
|
3,
|
||
|
13,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"A",
|
||
|
),
|
||
|
span: (
|
||
|
4,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Pipe,
|
||
|
span: (
|
||
|
4,
|
||
|
6,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftParen,
|
||
|
span: (
|
||
|
4,
|
||
|
7,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"B",
|
||
|
),
|
||
|
span: (
|
||
|
4,
|
||
|
8,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Ampersand,
|
||
|
span: (
|
||
|
4,
|
||
|
9,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"C",
|
||
|
),
|
||
|
span: (
|
||
|
4,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightParen,
|
||
|
span: (
|
||
|
4,
|
||
|
11,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Variable(
|
||
|
"i",
|
||
|
),
|
||
|
span: (
|
||
|
4,
|
||
|
13,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightParen,
|
||
|
span: (
|
||
|
5,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Colon,
|
||
|
span: (
|
||
|
5,
|
||
|
2,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftParen,
|
||
|
span: (
|
||
|
5,
|
||
|
4,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"B",
|
||
|
),
|
||
|
span: (
|
||
|
5,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Ampersand,
|
||
|
span: (
|
||
|
5,
|
||
|
6,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"C",
|
||
|
),
|
||
|
span: (
|
||
|
5,
|
||
|
7,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightParen,
|
||
|
span: (
|
||
|
5,
|
||
|
8,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Pipe,
|
||
|
span: (
|
||
|
5,
|
||
|
9,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"A",
|
||
|
),
|
||
|
span: (
|
||
|
5,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftBrace,
|
||
|
span: (
|
||
|
5,
|
||
|
12,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Return,
|
||
|
span: (
|
||
|
6,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Variable(
|
||
|
"i",
|
||
|
),
|
||
|
span: (
|
||
|
6,
|
||
|
12,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: SemiColon,
|
||
|
span: (
|
||
|
6,
|
||
|
14,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightBrace,
|
||
|
span: (
|
||
|
7,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
]
|