parser/tests/fixtures/0130/tokens.txt
Saif Eddin Gmati 9a2a903fb9
chore: refactor ast (#162)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-06 09:33:29 +01:00

100 lines
1.4 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: Foreach,
span: (
4,
21,
),
},
Token {
kind: LeftParen,
span: (
4,
28,
),
},
Token {
kind: RightParen,
span: (
4,
29,
),
},
Token {
kind: LeftBrace,
span: (
4,
31,
),
},
Token {
kind: SingleLineComment(
"//",
),
span: (
5,
9,
),
},
Token {
kind: RightBrace,
span: (
6,
5,
),
},
Token {
kind: RightBrace,
span: (
7,
1,
),
},
]