mirror of
https://github.com/danog/parser.git
synced 2024-12-03 09:57:45 +01:00
1f4875c802
Signed-off-by: azjezz <azjezz@protonmail.com>
178 lines
2.5 KiB
Plaintext
178 lines
2.5 KiB
Plaintext
[
|
|
Token {
|
|
kind: OpenTag(
|
|
Full,
|
|
),
|
|
span: (
|
|
1,
|
|
1,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Namespace,
|
|
span: (
|
|
3,
|
|
1,
|
|
),
|
|
},
|
|
Token {
|
|
kind: QualifiedIdentifier(
|
|
"Foo\Bar",
|
|
),
|
|
span: (
|
|
3,
|
|
11,
|
|
),
|
|
},
|
|
Token {
|
|
kind: SemiColon,
|
|
span: (
|
|
3,
|
|
18,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Final,
|
|
span: (
|
|
5,
|
|
1,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Class,
|
|
span: (
|
|
5,
|
|
7,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"Baz",
|
|
),
|
|
span: (
|
|
5,
|
|
13,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftBrace,
|
|
span: (
|
|
5,
|
|
17,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Public,
|
|
span: (
|
|
6,
|
|
6,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Function,
|
|
span: (
|
|
6,
|
|
13,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"__construct",
|
|
),
|
|
span: (
|
|
6,
|
|
22,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftParen,
|
|
span: (
|
|
6,
|
|
33,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Public,
|
|
span: (
|
|
7,
|
|
11,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Readonly,
|
|
span: (
|
|
7,
|
|
18,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Identifier(
|
|
"string",
|
|
),
|
|
span: (
|
|
7,
|
|
27,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Variable(
|
|
"name",
|
|
),
|
|
span: (
|
|
7,
|
|
34,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Equals,
|
|
span: (
|
|
7,
|
|
40,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LiteralString(
|
|
"foo",
|
|
),
|
|
span: (
|
|
7,
|
|
42,
|
|
),
|
|
},
|
|
Token {
|
|
kind: Comma,
|
|
span: (
|
|
7,
|
|
47,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightParen,
|
|
span: (
|
|
8,
|
|
6,
|
|
),
|
|
},
|
|
Token {
|
|
kind: LeftBrace,
|
|
span: (
|
|
8,
|
|
8,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightBrace,
|
|
span: (
|
|
8,
|
|
9,
|
|
),
|
|
},
|
|
Token {
|
|
kind: RightBrace,
|
|
span: (
|
|
9,
|
|
1,
|
|
),
|
|
},
|
|
]
|