parser/tests/0152/tokens.txt
Saif Eddin Gmati 1f4875c802 fix: properties parser
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-04 08:56:53 +00:00

153 lines
2.1 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: Variable(
"name",
),
span: (
7,
27,
),
},
Token {
kind: Comma,
span: (
7,
32,
),
},
Token {
kind: RightParen,
span: (
8,
6,
),
},
Token {
kind: LeftBrace,
span: (
8,
8,
),
},
Token {
kind: RightBrace,
span: (
8,
9,
),
},
Token {
kind: RightBrace,
span: (
9,
1,
),
},
]