renamed "awaitexpr" to "await_expr"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:54:32 +02:00
parent 0785b9b81d
commit 45e6797a27
3 changed files with 3 additions and 3 deletions

View File

@@ -2560,7 +2560,7 @@ class ImmediatelyInvokedFunctionExpr extends Function {
* await p()
* ```
*/
class AwaitExpr extends @awaitexpr, Expr {
class AwaitExpr extends @await_expr, Expr {
/** Gets the operand of this `await` expression. */
Expr getOperand() { result = getChildExpr(0) }

View File

@@ -327,7 +327,7 @@ case @expr.kind of
| 89 = @jsx_element
| 90 = @jsx_qualified_name
| 91 = @jsx_empty_expr
| 92 = @awaitexpr
| 92 = @await_expr
| 93 = @functionsentexpr
| 94 = @decorator
| 95 = @exportdefaultspecifier

View File

@@ -1382,7 +1382,7 @@
<v>100</v>
</e>
<e>
<k>@awaitexpr</k>
<k>@await_expr</k>
<v>100</v>
</e>
<e>