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

144 lines
2.0 KiB
Plaintext

[
Token {
kind: OpenTag(
Full,
),
span: (
1,
1,
),
},
Token {
kind: Namespace,
span: (
3,
1,
),
},
Token {
kind: LeftBrace,
span: (
3,
11,
),
},
Token {
kind: Function,
span: (
4,
5,
),
},
Token {
kind: Identifier(
"foo",
),
span: (
4,
14,
),
},
Token {
kind: LeftParen,
span: (
4,
17,
),
},
Token {
kind: RightParen,
span: (
4,
18,
),
},
Token {
kind: LeftBrace,
span: (
4,
20,
),
},
Token {
kind: RightBrace,
span: (
4,
21,
),
},
Token {
kind: RightBrace,
span: (
5,
1,
),
},
Token {
kind: Namespace,
span: (
7,
1,
),
},
Token {
kind: QualifiedIdentifier(
"Foo\Bar",
),
span: (
7,
11,
),
},
Token {
kind: SemiColon,
span: (
7,
18,
),
},
Token {
kind: Function,
span: (
9,
1,
),
},
Token {
kind: Identifier(
"foo",
),
span: (
9,
10,
),
},
Token {
kind: LeftParen,
span: (
9,
13,
),
},
Token {
kind: RightParen,
span: (
9,
14,
),
},
Token {
kind: LeftBrace,
span: (
9,
16,
),
},
Token {
kind: RightBrace,
span: (
9,
17,
),
},
]