* add field names to object elements

* dont hide template interpolation start/end and quoted template start/end tokens
This commit is contained in:
mhoffm
2021-07-01 23:57:52 +02:00
parent 7cf85f1046
commit 380571cc1a
15 changed files with 696 additions and 429 deletions

View File

@@ -40,16 +40,22 @@ block_1 "strlit1" "strlit2" {
(block
(identifier)
(string_lit
(template_literal))
(quoted_template_start)
(template_literal)
(quoted_template_end))
(string_lit
(template_literal))
(quoted_template_start)
(template_literal)
(quoted_template_end))
(body
(attribute
(identifier)
(expression
(literal_value
(string_lit
(template_literal)))))))))
(quoted_template_start)
(template_literal)
(quoted_template_end)))))))))
================================================================================
nested block
@@ -135,7 +141,11 @@ locals { timestamp = regex_replace(timestamp(), "[- TZ:]", "") }
(expression
(literal_value
(string_lit
(template_literal))))
(quoted_template_start)
(template_literal)
(quoted_template_end))))
(expression
(template_expr
(quoted_template)))))))))))
(quoted_template
(quoted_template_start)
(quoted_template_end))))))))))))