mirror of
https://github.com/danog/parser.git
synced 2024-11-30 04:29:13 +01:00
109 lines
1.5 KiB
Plaintext
109 lines
1.5 KiB
Plaintext
[
|
|
Token {
|
|
kind: OpenTag(
|
|
Full,
|
|
),
|
|
span: (
|
|
1,
|
|
1,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Function,
|
|
span: (
|
|
3,
|
|
1,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftParen,
|
|
span: (
|
|
3,
|
|
10,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightParen,
|
|
span: (
|
|
3,
|
|
11,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftBrace,
|
|
span: (
|
|
3,
|
|
13,
|
|
),
|
|
},
|
|
Token {
|
|
kind: If,
|
|
span: (
|
|
4,
|
|
5,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftParen,
|
|
span: (
|
|
4,
|
|
8,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Variable(
|
|
"foo",
|
|
),
|
|
span: (
|
|
4,
|
|
9,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightParen,
|
|
span: (
|
|
4,
|
|
13,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Variable(
|
|
"bar",
|
|
),
|
|
span: (
|
|
4,
|
|
15,
|
|
),
|
|
},
|
|
Token {
|
|
kind: SemiColon,
|
|
span: (
|
|
4,
|
|
19,
|
|
),
|
|
},
|
|
Token {
|
|
kind: MultiLineComment(
|
|
"/* means: no statement */",
|
|
),
|
|
span: (
|
|
4,
|
|
21,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightBrace,
|
|
span: (
|
|
5,
|
|
1,
|
|
),
|
|
},
|
|
Token {
|
|
kind: SemiColon,
|
|
span: (
|
|
5,
|
|
2,
|
|
),
|
|
},
|
|
]
|