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
|
|
@ -6,23 +6,23 @@ input_file: tests/cases/multiple.nomo
|
|||
TemplateAst {
|
||||
root: [
|
||||
StaticContent(
|
||||
"Hi there! My name is" (0..20),
|
||||
[Content]"Hi there! My name is" (0..20),
|
||||
),
|
||||
Interpolation {
|
||||
prev_whitespace_content: Some(
|
||||
" " (20..21),
|
||||
[Whitespace]" " (20..21),
|
||||
),
|
||||
expression: VariableAccess(
|
||||
"name" (25..29),
|
||||
[Ident]"name" (25..29),
|
||||
),
|
||||
post_whitespace_content: Some(
|
||||
" " (32..33),
|
||||
[Whitespace]" " (32..33),
|
||||
),
|
||||
},
|
||||
Interpolation {
|
||||
prev_whitespace_content: None,
|
||||
expression: VariableAccess(
|
||||
"lastname" (37..45),
|
||||
[Ident]"lastname" (37..45),
|
||||
),
|
||||
post_whitespace_content: None,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue