diff options
Diffstat (limited to 'lib/ast.js')
-rw-r--r-- | lib/ast.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -551,7 +551,7 @@ function is_function(node) { return node instanceof AST_AsyncFunction || node instanceof AST_Function; } -var AST_AsyncFunction = DEFNODE("AsyncFunction", null, { +var AST_AsyncFunction = DEFNODE("AsyncFunction", "inlined", { $documentation: "An asynchronous function expression", _validate: function() { if (this.name != null) { @@ -573,7 +573,7 @@ function is_defun(node) { return node instanceof AST_AsyncDefun || node instanceof AST_Defun; } -var AST_AsyncDefun = DEFNODE("AsyncDefun", null, { +var AST_AsyncDefun = DEFNODE("AsyncDefun", "inlined", { $documentation: "An asynchronous function definition", _validate: function() { if (!(this.name instanceof AST_SymbolDefun)) throw new Error("name must be AST_SymbolDefun"); |