Home | History | Annotate | Download | only in parsing

Lines Matching refs:Scope

112   Scope* top_scope = NewScope(scope_, SCRIPT_SCOPE);
117 Scope* function_scope = NewScope(scope_, FUNCTION_SCOPE, kind);
295 Scope* body_scope = NewScope(scope_, BLOCK_SCOPE);
466 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE);
544 // The scope of a var/const declared variable anywhere inside a function
545 // is the entire function (ECMA-262, 3rd, 10.1.3, and 12.2). The scope
546 // of a let declared variable is the scope of the immediately enclosing
780 Scope* with_scope = NewScope(scope_, WITH_SCOPE);
796 Scope* cases_scope = NewScope(scope_, BLOCK_SCOPE);
856 // Create an in-between scope for let-bound iteration variables.
857 Scope* for_scope = NewScope(scope_, BLOCK_SCOPE);
948 Scope* body_scope = NewScope(scope_, BLOCK_SCOPE);
962 // for loop must be parsed in a new scope.
963 Scope* inner_scope = scope_;
1032 Scope* catch_scope = NewScope(scope_, CATCH_SCOPE);
1042 Scope* block_scope = NewScope(scope_, BLOCK_SCOPE);
1099 Scope* function_scope = NewScope(scope_, FUNCTION_SCOPE, kind);
1131 // Parsing the body may change the language mode in our scope.
1219 Scope* scope = NewScope(scope_, BLOCK_SCOPE);
1220 BlockState block_state(&scope_, scope);
1223 // TODO(marja): Make PreParser use scope names too.
1301 Scope* scope = pre_parser_->scope_;
1302 scope->ForceContextAllocation();