mirror of
https://github.com/danog/parser.git
synced 2024-12-14 01:47:21 +01:00
123 lines
1.7 KiB
Plaintext
123 lines
1.7 KiB
Plaintext
|
[
|
||
|
Token {
|
||
|
kind: OpenTag(
|
||
|
Full,
|
||
|
),
|
||
|
span: (
|
||
|
1,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: If,
|
||
|
span: (
|
||
|
1,
|
||
|
7,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftParen,
|
||
|
span: (
|
||
|
1,
|
||
|
9,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Variable(
|
||
|
"foo",
|
||
|
),
|
||
|
span: (
|
||
|
1,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightParen,
|
||
|
span: (
|
||
|
1,
|
||
|
14,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftBrace,
|
||
|
span: (
|
||
|
1,
|
||
|
16,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Return,
|
||
|
span: (
|
||
|
1,
|
||
|
18,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Variable(
|
||
|
"foo",
|
||
|
),
|
||
|
span: (
|
||
|
1,
|
||
|
25,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: SemiColon,
|
||
|
span: (
|
||
|
1,
|
||
|
29,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightBrace,
|
||
|
span: (
|
||
|
1,
|
||
|
31,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Else,
|
||
|
span: (
|
||
|
1,
|
||
|
33,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftBrace,
|
||
|
span: (
|
||
|
1,
|
||
|
38,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Return,
|
||
|
span: (
|
||
|
1,
|
||
|
40,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Variable(
|
||
|
"foo",
|
||
|
),
|
||
|
span: (
|
||
|
1,
|
||
|
47,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: SemiColon,
|
||
|
span: (
|
||
|
1,
|
||
|
51,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightBrace,
|
||
|
span: (
|
||
|
1,
|
||
|
53,
|
||
|
),
|
||
|
},
|
||
|
]
|