Lines Matching defs:scope
9 #include "src/logging/runtime-call-stats-scope.h"
127 // If we're in a breakable scope (named block, iteration, or switch), we walk
129 // to assign to .result. If we're not in a breakable scope, only the last
150 BreakableScope scope(this, node->is_breakable());
190 BreakableScope scope(this);
302 BreakableScope scope(this);
392 Scope* scope = function->scope();
393 DCHECK_NOT_NULL(scope);
394 DCHECK_EQ(scope, scope->GetClosureScope());
396 if (scope->is_repl_mode_scope()) return true;
397 if (!(scope->is_script_scope() || scope->is_eval_scope() ||
398 scope->is_module_scope())) {
403 return RewriteBody(info, scope, body).has_value();
407 ParseInfo* info, Scope* scope, ZonePtrList<Statement>* body) {
412 DCHECK_IMPLIES(scope->is_module_scope(), !body->is_empty());
414 Variable* result = scope->AsDeclarationScope()->NewTemporary(
416 Processor processor(info->stack_limit(), scope->AsDeclarationScope(),
420 DCHECK_IMPLIES(scope->is_module_scope(), processor.result_assigned());