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
|
|
@ -11,24 +11,24 @@ TemplateAst {
|
|||
if_block: Block {
|
||||
prev_whitespace_content: None,
|
||||
expression: VariableAccess(
|
||||
"test" (6..10),
|
||||
[Ident]"test" (6..10),
|
||||
),
|
||||
post_whitespace_content: Some(
|
||||
"\n " (13..18),
|
||||
[Whitespace]"\n " (13..18),
|
||||
),
|
||||
},
|
||||
content: [
|
||||
StaticContent(
|
||||
"Hello World!" (18..30),
|
||||
[Content]"Hello World!" (18..30),
|
||||
),
|
||||
],
|
||||
end_block: Block {
|
||||
prev_whitespace_content: Some(
|
||||
"\n" (30..31),
|
||||
[Whitespace]"\n" (30..31),
|
||||
),
|
||||
expression: EndBlock,
|
||||
post_whitespace_content: Some(
|
||||
"\n\n" (40..42),
|
||||
[Whitespace]"\n\n" (40..42),
|
||||
),
|
||||
},
|
||||
},
|
||||
|
|
@ -37,7 +37,7 @@ TemplateAst {
|
|||
Interpolation {
|
||||
prev_whitespace_content: None,
|
||||
expression: VariableAccess(
|
||||
"stuff" (46..51),
|
||||
[Ident]"stuff" (46..51),
|
||||
),
|
||||
post_whitespace_content: None,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue