Home
last modified time | relevance | path

Searched refs:script_scope (Results 1 – 4 of 4) sorted by relevance

/third_party/node/deps/v8/src/parsing/
Dparse-info.h298 DeclarationScope* script_scope() const { return script_scope_; } in script_scope() function
299 void set_script_scope(DeclarationScope* script_scope) { in set_script_scope() argument
300 script_scope_ = script_scope; in set_script_scope()
Dparser.cc483 DCHECK_NULL(info->script_scope()); in InitializeEmptyScopeChain()
484 DeclarationScope* script_scope = in InitializeEmptyScopeChain() local
486 info->set_script_scope(script_scope); in InitializeEmptyScopeChain()
487 original_scope_ = script_scope; in InitializeEmptyScopeChain()
500 isolate, zone(), *outer_scope_info, info->script_scope(), in DeserializeScopeChain()
595 DCHECK_EQ(outer, info->script_scope()); in DoParseProgram()
596 outer = NewModuleScope(info->script_scope()); in DoParseProgram()
876 DCHECK_EQ(original_scope_, info->script_scope()); in ParseFunction()
877 Scope::SetScriptScopeInfo(isolate, info->script_scope()); in ParseFunction()
/third_party/node/deps/v8/src/ast/
Dscopes.cc167 ModuleScope::ModuleScope(DeclarationScope* script_scope, in ModuleScope() argument
169 : DeclarationScope(avfactory->single_parse_zone(), script_scope, in ModuleScope()
419 DeclarationScope* script_scope, in DeserializeScopeChain() argument
445 script_scope->SetScriptScopeInfo(handle(scope_info, isolate)); in DeserializeScopeChain()
447 if (scope_info.IsReplModeScope()) script_scope->set_is_repl_mode_scope(); in DeserializeScopeChain()
512 SetScriptScopeInfo(isolate, script_scope); in DeserializeScopeChain()
515 if (innermost_scope == nullptr) return script_scope; in DeserializeScopeChain()
516 script_scope->AddInnerScope(current_scope); in DeserializeScopeChain()
522 DeclarationScope* script_scope) { in SetScriptScopeInfo() argument
523 if (script_scope->scope_info_.is_null()) { in SetScriptScopeInfo()
[all …]
Dscopes.h155 DeclarationScope* script_scope,
162 DeclarationScope* script_scope);
1382 ModuleScope(DeclarationScope* script_scope, AstValueFactory* avfactory);