Lines Matching refs:scope_info

53     ScopeInfo closure_info = context_->closure_context().scope_info();
210 Handle<ScopeInfo> scope_info(shared_info->scope_info(), isolate_);
252 (scope_info->scope_type() == FUNCTION_SCOPE &&
259 if (scope_info->scope_type() == EVAL_SCOPE || script->is_wrapped()) {
262 maybe_outer_scope = handle(context_->scope_info(), isolate_);
267 } else if (scope_info->scope_type() == MODULE_SCOPE) {
271 DCHECK(scope_info->scope_type() == SCRIPT_SCOPE ||
272 scope_info->scope_type() == FUNCTION_SCOPE);
299 closure_scope_ = scope_info->scope_type() == FUNCTION_SCOPE
373 return context_->closure_context().scope_info().StartPosition();
379 return context_->closure_context().scope_info().EndPosition();
745 Handle<ScopeInfo> scope_info(context->scope_info(), isolate_);
746 if (VisitContextLocals(visitor, scope_info, context, ScopeTypeScript))
754 Handle<ScopeInfo> scope_info(context_->scope_info(), isolate_);
755 if (VisitContextLocals(visitor, scope_info, context_, ScopeTypeModule))
758 int module_variable_count = scope_info->ModuleVariableCount();
767 scope_info->ModuleVariable(i, &raw_name, &index);
779 Handle<ScopeInfo> scope_info,
783 for (auto it : ScopeInfo::IterateLocalNames(scope_info)) {
786 int context_index = scope_info->ContextHeaderLength() + it->index();
865 function_->shared().scope_info().ParameterCount();
947 Handle<ScopeInfo> scope_info(context_->scope_info(), isolate_);
948 if (VisitContextLocals(visitor, scope_info, context_, scope_type)) return;
955 if (!context_->scope_info().SloppyEvalCanExtendVars()) return;
1016 function_->shared().scope_info().ParameterCount();
1066 int slot_index = context_->scope_info().ContextSlotIndex(variable_name);
1079 cell_index = context_->scope_info().ModuleIndex(