Also emit TokenKind in debug

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2026-03-08 20:05:54 +01:00
parent 13eb4ca1d0
commit 08b480705b
14 changed files with 205 additions and 205 deletions

View file

@ -5,20 +5,20 @@ input_file: tests/cases/multiple.nomo
---
ParsedTemplate {
tokens: [
"Hi there! My name is" (0..20),
" " (20..21),
"{{" (21..23),
"=" (23..24),
" " (24..25),
"name" (25..29),
" " (29..30),
"}}" (30..32),
" " (32..33),
"{{" (33..35),
"=" (35..36),
" " (36..37),
"lastname" (37..45),
" " (45..46),
"}}" (46..48),
[Content]"Hi there! My name is" (0..20),
[Whitespace]" " (20..21),
[LeftDelim]"{{" (21..23),
[WantsOutput]"=" (23..24),
[Whitespace]" " (24..25),
[Ident]"name" (25..29),
[Whitespace]" " (29..30),
[RightDelim]"}}" (30..32),
[Whitespace]" " (32..33),
[LeftDelim]"{{" (33..35),
[WantsOutput]"=" (35..36),
[Whitespace]" " (36..37),
[Ident]"lastname" (37..45),
[Whitespace]" " (45..46),
[RightDelim]"}}" (46..48),
],
}