Lines Matching defs:info
19 #include "src/objects/scope-info.h"
21 #include "src/parsing/parse-info.h"
442 // scope info of this script context onto the existing script scope to
679 bool DeclarationScope::Analyze(ParseInfo* info) {
680 RCS_SCOPE(info->runtime_call_stats(),
683 DCHECK_NOT_NULL(info->literal());
684 DeclarationScope* scope = info->literal()->scope();
694 AstNodeFactory factory(info->ast_value_factory(), info->zone());
713 info->consumed_preparse_data()->RestoreScopeAllocationData(
714 scope, info->ast_value_factory(), info->zone());
717 if (!scope->AllocateVariables(info)) return false;
1350 bool DeclarationScope::AllocateVariables(ParseInfo* info) {
1357 !private_name_scope_iter.GetScope()->ResolvePrivateNames(info)) {
1358 DCHECK(info->pending_error_handler()->has_pending_error());
1362 if (!ResolveVariablesRecursively(info->scope())) {
1363 DCHECK(info->pending_error_handler()->has_pending_error());
1933 // Scope info.
2081 // up dynamically. Debug-evaluate doesn't properly create scope info for the
2693 void DeclarationScope::AllocateScopeInfos(ParseInfo* info, IsolateT* isolate) {
2694 DeclarationScope* scope = info->literal()->scope();
2696 // No one else should have allocated a scope info for this scope yet.
2710 // The debugger expects all shared function infos to contain a scope info.
2711 // Since the top-most scope will end up in a shared function info, make sure
2712 // it has one, even if it doesn't need a scope info.
2719 // Ensuring that the outer script scope has a scope info avoids having
2721 if (info->script_scope() && info->script_scope()->scope_info_.is_null()) {
2722 info->script_scope()->scope_info_ = isolate->factory()->empty_scope_info();
2727 ParseInfo* info, Isolate* isolate);
2729 ParseInfo* info, LocalIsolate* isolate);
2948 // try the deseralized scope info.
2960 bool ClassScope::ResolvePrivateNames(ParseInfo* info) {
2972 DCHECK(info->flags().is_eval() || outer_scope_->is_script_scope());
2974 info->pending_error_handler()->ReportMessageAt(