renamed "templateliteral" to "template_literal"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:54:19 +02:00
parent 16a79a2f03
commit 2edf0b248b
3 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ class TaggedTemplateExpr extends Expr, @tagged_template_expr {
* `Hello, ${user.name}!`
* ```
*/
class TemplateLiteral extends Expr, @templateliteral {
class TemplateLiteral extends Expr, @template_literal {
/**
* Gets the `i`th element of this template literal, which may either
* be an interpolated expression or a constant template element.

View File

@@ -306,7 +306,7 @@ case @expr.kind of
| 68 = @object_pattern
| 69 = @yield_expr
| 70 = @tagged_template_expr
| 71 = @templateliteral
| 71 = @template_literal
| 72 = @templateelement
| 73 = @arraycomprehensionexpr
| 74 = @generatorexpr

View File

@@ -482,7 +482,7 @@
<v>27</v>
</e>
<e>
<k>@templateliteral</k>
<k>@template_literal</k>
<v>408</v>
</e>
<e>