mirror of
https://github.com/danog/parser.git
synced 2024-12-13 17:37:20 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
240 lines
3.3 KiB
Plaintext
240 lines
3.3 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: Public,
|
|
span: (
|
|
4,
|
|
5,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Function,
|
|
span: (
|
|
4,
|
|
12,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"__construct",
|
|
),
|
|
span: (
|
|
4,
|
|
21,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftParen,
|
|
span: (
|
|
4,
|
|
32,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Public,
|
|
span: (
|
|
5,
|
|
9,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"string",
|
|
),
|
|
span: (
|
|
5,
|
|
16,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Variable(
|
|
"a",
|
|
),
|
|
span: (
|
|
5,
|
|
23,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Comma,
|
|
span: (
|
|
5,
|
|
25,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Public,
|
|
span: (
|
|
6,
|
|
9,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Readonly,
|
|
span: (
|
|
6,
|
|
16,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"int",
|
|
),
|
|
span: (
|
|
6,
|
|
25,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Variable(
|
|
"b",
|
|
),
|
|
span: (
|
|
6,
|
|
29,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Comma,
|
|
span: (
|
|
6,
|
|
31,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Public,
|
|
span: (
|
|
7,
|
|
9,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Readonly,
|
|
span: (
|
|
7,
|
|
16,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"float",
|
|
),
|
|
span: (
|
|
7,
|
|
25,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Ampersand,
|
|
span: (
|
|
7,
|
|
31,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Variable(
|
|
"c",
|
|
),
|
|
span: (
|
|
7,
|
|
32,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Comma,
|
|
span: (
|
|
7,
|
|
34,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Ampersand,
|
|
span: (
|
|
8,
|
|
9,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Ellipsis,
|
|
span: (
|
|
8,
|
|
10,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Variable(
|
|
"e",
|
|
),
|
|
span: (
|
|
8,
|
|
13,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Comma,
|
|
span: (
|
|
8,
|
|
15,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightParen,
|
|
span: (
|
|
9,
|
|
5,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftBrace,
|
|
span: (
|
|
9,
|
|
7,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightBrace,
|
|
span: (
|
|
9,
|
|
8,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightBrace,
|
|
span: (
|
|
10,
|
|
1,
|
|
),
|
|
},
|
|
]
|