parser/tests/0159/tokens.txt
Saif Eddin Gmati 974c04db85 fix: namespace parser
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-04 08:56:53 +00:00

153 lines
2.2 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: Function,
span: (
5,
1,
),
},
Token {
kind: Identifier(
"foo",
),
span: (
5,
10,
),
},
Token {
kind: LeftParen,
span: (
5,
13,
),
},
Token {
kind: RightParen,
span: (
5,
14,
),
},
Token {
kind: LeftBrace,
span: (
5,
16,
),
},
Token {
kind: RightBrace,
span: (
5,
17,
),
},
Token {
kind: Namespace,
span: (
7,
1,
),
},
Token {
kind: QualifiedIdentifier(
"Foo\Baz",
),
span: (
7,
11,
),
},
Token {
kind: LeftBrace,
span: (
7,
19,
),
},
Token {
kind: Function,
span: (
8,
5,
),
},
Token {
kind: Identifier(
"foo",
),
span: (
8,
14,
),
},
Token {
kind: LeftParen,
span: (
8,
17,
),
},
Token {
kind: RightParen,
span: (
8,
18,
),
},
Token {
kind: LeftBrace,
span: (
8,
20,
),
},
Token {
kind: RightBrace,
span: (
8,
21,
),
},
Token {
kind: RightBrace,
span: (
9,
1,
),
},
]