Also emit TokenKind in debug
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
13eb4ca1d0
commit
08b480705b
14 changed files with 205 additions and 205 deletions
|
|
@ -5,46 +5,46 @@ input_file: tests/cases/identifiers.nomo
|
|||
---
|
||||
ParsedTemplate {
|
||||
tokens: [
|
||||
"{{" (0..2),
|
||||
"=" (2..3),
|
||||
" " (3..4),
|
||||
"_name" (4..9),
|
||||
" " (9..10),
|
||||
"}}" (10..12),
|
||||
"\n" (12..13),
|
||||
"{{" (13..15),
|
||||
"=" (15..16),
|
||||
" " (16..17),
|
||||
"a_name" (17..23),
|
||||
" " (23..24),
|
||||
"}}" (24..26),
|
||||
"\n" (26..27),
|
||||
"{{" (27..29),
|
||||
"=" (29..30),
|
||||
" " (30..31),
|
||||
"1name" (31..36),
|
||||
" " (36..37),
|
||||
"}}" (37..39),
|
||||
"\n" (39..40),
|
||||
"{{" (40..42),
|
||||
"=" (42..43),
|
||||
" " (43..44),
|
||||
"_name1" (44..50),
|
||||
" " (50..51),
|
||||
"}}" (51..53),
|
||||
"\n" (53..54),
|
||||
"{{" (54..56),
|
||||
"=" (56..57),
|
||||
" " (57..58),
|
||||
"_namE" (58..63),
|
||||
" " (63..64),
|
||||
"}}" (64..66),
|
||||
"\n" (66..67),
|
||||
"{{" (67..69),
|
||||
"=" (69..70),
|
||||
" " (70..71),
|
||||
"name1" (71..76),
|
||||
" " (76..77),
|
||||
"}}" (77..79),
|
||||
[LeftDelim]"{{" (0..2),
|
||||
[WantsOutput]"=" (2..3),
|
||||
[Whitespace]" " (3..4),
|
||||
[Ident]"_name" (4..9),
|
||||
[Whitespace]" " (9..10),
|
||||
[RightDelim]"}}" (10..12),
|
||||
[Whitespace]"\n" (12..13),
|
||||
[LeftDelim]"{{" (13..15),
|
||||
[WantsOutput]"=" (15..16),
|
||||
[Whitespace]" " (16..17),
|
||||
[Ident]"a_name" (17..23),
|
||||
[Whitespace]" " (23..24),
|
||||
[RightDelim]"}}" (24..26),
|
||||
[Whitespace]"\n" (26..27),
|
||||
[LeftDelim]"{{" (27..29),
|
||||
[WantsOutput]"=" (29..30),
|
||||
[Whitespace]" " (30..31),
|
||||
[Ident]"1name" (31..36),
|
||||
[Whitespace]" " (36..37),
|
||||
[RightDelim]"}}" (37..39),
|
||||
[Whitespace]"\n" (39..40),
|
||||
[LeftDelim]"{{" (40..42),
|
||||
[WantsOutput]"=" (42..43),
|
||||
[Whitespace]" " (43..44),
|
||||
[Ident]"_name1" (44..50),
|
||||
[Whitespace]" " (50..51),
|
||||
[RightDelim]"}}" (51..53),
|
||||
[Whitespace]"\n" (53..54),
|
||||
[LeftDelim]"{{" (54..56),
|
||||
[WantsOutput]"=" (56..57),
|
||||
[Whitespace]" " (57..58),
|
||||
[Ident]"_namE" (58..63),
|
||||
[Whitespace]" " (63..64),
|
||||
[RightDelim]"}}" (64..66),
|
||||
[Whitespace]"\n" (66..67),
|
||||
[LeftDelim]"{{" (67..69),
|
||||
[WantsOutput]"=" (69..70),
|
||||
[Whitespace]" " (70..71),
|
||||
[Ident]"name1" (71..76),
|
||||
[Whitespace]" " (76..77),
|
||||
[RightDelim]"}}" (77..79),
|
||||
],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue