Lines Matching refs:scope_info
25 Handle<ScopeInfo> scope_info(script_context->scope_info(cage_base), isolate);
26 int local_count = scope_info->ContextLocalCount();
28 for (auto it : ScopeInfo::IterateLocalNames(scope_info)) {
67 ScopeInfo scope_info = this->scope_info();
68 int header = scope_info.ContextHeaderLength();
69 for (int var = 0; var < scope_info.ContextLocalCount(); var++) {
70 if (scope_info.ContextLocalInitFlag(var) == kNeedsInitialization) {
85 int slot_index = context.scope_info().ContextSlotIndex(name, result);
100 return scope_info().language_mode() == LanguageMode::kStrict;
103 return scope_info().is_declaration_scope();
313 ScopeInfo scope_info = context->scope_info();
315 int slot_index = scope_info.ContextSlotIndex(name, &lookup_result);
323 if (scope_info.IsReplModeScope() &&
344 int function_index = scope_info.FunctionContextSlotIndex(*name);
355 is_sloppy(scope_info.language_mode())) {
368 scope_info.ModuleIndex(*name, &mode, &flag, &maybe_assigned_flag);
397 ScopeInfo scope_info = context->scope_info();
398 if (scope_info.HasLocalsBlockList() &&
399 scope_info.LocalsBlockList().Has(isolate, name)) {
482 CHECK(scope_info().HasContextExtensionSlot());
486 CHECK((IsBlockContext() && scope_info().is_declaration_scope()) ||
504 DCHECK(scope_info().HasContextExtensionSlot());