mirror of
https://github.com/danog/parser.git
synced 2024-12-11 16:49:47 +01:00
152 lines
2.1 KiB
Plaintext
152 lines
2.1 KiB
Plaintext
|
[
|
||
|
Token {
|
||
|
kind: OpenTag(
|
||
|
Full,
|
||
|
),
|
||
|
span: (
|
||
|
1,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Namespace,
|
||
|
span: (
|
||
|
3,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: QualifiedIdentifier(
|
||
|
"A\B\C\D\E",
|
||
|
),
|
||
|
span: (
|
||
|
3,
|
||
|
11,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: SemiColon,
|
||
|
span: (
|
||
|
3,
|
||
|
20,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Function,
|
||
|
span: (
|
||
|
5,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"foo",
|
||
|
),
|
||
|
span: (
|
||
|
5,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftParen,
|
||
|
span: (
|
||
|
5,
|
||
|
13,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"string",
|
||
|
),
|
||
|
span: (
|
||
|
5,
|
||
|
14,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Variable(
|
||
|
"s",
|
||
|
),
|
||
|
span: (
|
||
|
5,
|
||
|
21,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightParen,
|
||
|
span: (
|
||
|
5,
|
||
|
23,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Colon,
|
||
|
span: (
|
||
|
5,
|
||
|
24,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"parent",
|
||
|
),
|
||
|
span: (
|
||
|
5,
|
||
|
26,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftBrace,
|
||
|
span: (
|
||
|
5,
|
||
|
33,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: Identifier(
|
||
|
"exit",
|
||
|
),
|
||
|
span: (
|
||
|
6,
|
||
|
6,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LeftParen,
|
||
|
span: (
|
||
|
6,
|
||
|
10,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: LiteralInteger(
|
||
|
0,
|
||
|
),
|
||
|
span: (
|
||
|
6,
|
||
|
11,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightParen,
|
||
|
span: (
|
||
|
6,
|
||
|
12,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: SemiColon,
|
||
|
span: (
|
||
|
6,
|
||
|
13,
|
||
|
),
|
||
|
},
|
||
|
Token {
|
||
|
kind: RightBrace,
|
||
|
span: (
|
||
|
7,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
]
|