diff options
Diffstat (limited to 'lib/ast.js')
-rw-r--r-- | lib/ast.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -126,7 +126,7 @@ var AST_Debugger = DEFNODE("Debugger", null, { $documentation: "Represents a debugger statement" }, AST_StatementBase); -var AST_Directive = DEFNODE("Directive", "value", { +var AST_Directive = DEFNODE("Directive", "value scope", { $documentation: "Represents a directive, like \"use strict\";" }, AST_StatementBase); @@ -235,7 +235,7 @@ var AST_With = DEFNODE("With", "expression", { /* -----[ scope and functions ]----- */ -var AST_Scope = DEFNODE("Scope", "variables functions uses_with uses_eval parent_scope enclosed cname", { +var AST_Scope = DEFNODE("Scope", "directives variables functions uses_with uses_eval parent_scope enclosed cname", { $documentation: "Base class for all statements introducing a lexical scope", }, AST_Block); |