* 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

@@ -51,11 +51,15 @@ foo = ( true ? false : true ) ? "yes" : "no"
(expression
(literal_value
(string_lit
(template_literal))))
(quoted_template_start)
(template_literal)
(quoted_template_end))))
(expression
(literal_value
(string_lit
(template_literal)))))))))
(quoted_template_start)
(template_literal)
(quoted_template_end)))))))))
================================================================================
nested conditional expression expression without parentheses
@@ -85,8 +89,12 @@ foo = true ? false : true ? "yes" : "no"
(expression
(literal_value
(string_lit
(template_literal))))
(quoted_template_start)
(template_literal)
(quoted_template_end))))
(expression
(literal_value
(string_lit
(template_literal)))))))))
(quoted_template_start)
(template_literal)
(quoted_template_end)))))))))