mirror of
https://github.com/danog/parser.git
synced 2024-11-30 04:29:13 +01:00
175 lines
2.4 KiB
Plaintext
175 lines
2.4 KiB
Plaintext
[
|
|
Token {
|
|
kind: OpenTag(
|
|
Full,
|
|
),
|
|
span: (
|
|
1,
|
|
1,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Class,
|
|
span: (
|
|
3,
|
|
1,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"foo",
|
|
),
|
|
span: (
|
|
3,
|
|
7,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftBrace,
|
|
span: (
|
|
3,
|
|
11,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Use,
|
|
span: (
|
|
4,
|
|
5,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"a",
|
|
),
|
|
span: (
|
|
4,
|
|
9,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Comma,
|
|
span: (
|
|
4,
|
|
10,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"b",
|
|
),
|
|
span: (
|
|
4,
|
|
12,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Comma,
|
|
span: (
|
|
4,
|
|
13,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"c",
|
|
),
|
|
span: (
|
|
4,
|
|
15,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftBrace,
|
|
span: (
|
|
4,
|
|
17,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"a",
|
|
),
|
|
span: (
|
|
5,
|
|
9,
|
|
),
|
|
},
|
|
Token {
|
|
kind: DoubleColon,
|
|
span: (
|
|
5,
|
|
10,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"s",
|
|
),
|
|
span: (
|
|
5,
|
|
12,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Insteadof,
|
|
span: (
|
|
5,
|
|
14,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"b",
|
|
),
|
|
span: (
|
|
5,
|
|
24,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Comma,
|
|
span: (
|
|
5,
|
|
25,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"c",
|
|
),
|
|
span: (
|
|
5,
|
|
27,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Comma,
|
|
span: (
|
|
5,
|
|
28,
|
|
),
|
|
},
|
|
Token {
|
|
kind: SemiColon,
|
|
span: (
|
|
5,
|
|
29,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightBrace,
|
|
span: (
|
|
6,
|
|
5,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightBrace,
|
|
span: (
|
|
7,
|
|
1,
|
|
),
|
|
},
|
|
]
|