Home
last modified time | relevance | path

Searched refs:inner_scope (Results 1 - 20 of 20) sorted by relevance

/third_party/node/deps/v8/src/parsing/
H A Dpreparser.cc159 DeclarationScope* inner_scope = function_scope; in PreParseFunction() local
162 inner_scope = NewVarblockScope(); in PreParseFunction()
163 inner_scope->set_start_position(position()); in PreParseFunction()
167 BlockState block_state(&scope_, inner_scope); in PreParseFunction()
172 CheckConflictingVarDeclarations(inner_scope); in PreParseFunction()
183 if (is_sloppy(inner_scope->language_mode())) { in PreParseFunction()
184 inner_scope->HoistSloppyBlockFunctions(nullptr); in PreParseFunction()
187 SetLanguageMode(function_scope, inner_scope->language_mode()); in PreParseFunction()
188 inner_scope->set_end_position(scanner()->peek_location().end_pos); in PreParseFunction()
189 if (inner_scope in PreParseFunction()
[all...]
H A Dparser-base.h4315 DeclarationScope* inner_scope = function_scope; in ParseFunctionBody() local
4328 inner_scope = NewVarblockScope(); in ParseFunctionBody()
4329 inner_scope->set_start_position(scanner()->location().beg_pos); in ParseFunctionBody()
4335 BlockState block_state(&scope_, inner_scope); in ParseFunctionBody()
4362 ParseAsyncFunctionBody(inner_scope, &inner_body); in ParseFunctionBody()
4381 CheckConflictingVarDeclarations(inner_scope); in ParseFunctionBody()
4384 DCHECK_EQ(inner_scope, function_scope); in ParseFunctionBody()
4391 DCHECK_NOT_NULL(inner_scope); in ParseFunctionBody()
4393 DCHECK_EQ(function_scope, inner_scope->outer_scope()); in ParseFunctionBody()
4394 impl()->SetLanguageMode(function_scope, inner_scope in ParseFunctionBody()
5945 Scope* inner_scope = inner_block->scope(); ParseTryStatement() local
6255 Scope* inner_scope = NewScope(BLOCK_SCOPE); ParseStandardForLoopWithLexicalDeclarations() local
[all...]
H A Dpreparse-data.cc279 for (Scope* inner = scope->inner_scope(); inner != nullptr; in ScopeNeedsData()
417 for (Scope* inner = scope->inner_scope(); inner != nullptr; in SaveDataForInnerScopes()
745 for (Scope* inner = scope->inner_scope(); inner != nullptr; in RestoreDataForInnerScopes()
H A Dparser.cc2271 Statement* body, Scope* inner_scope, const ForInfo& for_info) { in DesugarLexicalBindingsInForStatement()
2364 BlockState block_state(&scope_, inner_scope); in DesugarLexicalBindingsInForStatement()
2498 inner_block->set_scope(inner_scope); in DesugarLexicalBindingsInForStatement()
3321 Scope* inner_scope = inner_block->scope(); in InsertShadowingVarBindingInitializers() local
3322 DCHECK(inner_scope->is_declaration_scope()); in InsertShadowingVarBindingInitializers()
3323 Scope* function_scope = inner_scope->outer_scope(); in InsertShadowingVarBindingInitializers()
3325 BlockState block_state(&scope_, inner_scope); in InsertShadowingVarBindingInitializers()
3326 for (Declaration* decl : *inner_scope->declarations()) { in InsertShadowingVarBindingInitializers()
2269 DesugarLexicalBindingsInForStatement( ForStatement* loop, Statement* init, Expression* cond, Statement* next, Statement* body, Scope* inner_scope, const ForInfo& for_info) DesugarLexicalBindingsInForStatement() argument
H A Dpreparser.h1418 PreParserStatement body, Scope* inner_scope, const ForInfo& for_info) { in DesugarLexicalBindingsInForStatement()
1423 inner_scope, &was_added); in DesugarLexicalBindingsInForStatement()
1415 DesugarLexicalBindingsInForStatement( PreParserStatement loop, PreParserStatement init, const PreParserExpression& cond, PreParserStatement next, PreParserStatement body, Scope* inner_scope, const ForInfo& for_info) DesugarLexicalBindingsInForStatement() argument
H A Dparser.h394 Statement* body, Scope* inner_scope, const ForInfo& for_info);
/third_party/gn/src/gn/
H A Dvalue_unittest.cc48 Scope* inner_scope = new Scope(setup.settings()); in TEST() local
49 Value inner_scopeval(nullptr, std::unique_ptr<Scope>(inner_scope)); in TEST()
50 inner_scope->SetValue("d", Value(nullptr, static_cast<int64_t>(42)), nullptr); in TEST()
H A Dmetadata_unittest.cc109 Value inner_scope(nullptr, Value::SCOPE); in TEST()
117 inner_scope.SetScopeValue(std::move(scope)); in TEST()
118 a.list_value().push_back(inner_scope); in TEST()
/third_party/node/deps/v8/src/debug/
H A Ddebug-scopes.cc151 for (Scope* inner_scope = scope->inner_scope(); inner_scope != nullptr; in RetrieveScopeChainDefaultConstructor()
152 inner_scope = inner_scope->sibling()) { in RetrieveScopeChainDefaultConstructor()
153 if (RetrieveScopeChainDefaultConstructor(inner_scope)) return true; in RetrieveScopeChainDefaultConstructor()
165 for (Scope* inner_scope = current->inner_scope(); inner_scope != nullptr; in RetrieveScopeChain()
166 inner_scope in RetrieveScopeChain()
[all...]
H A Ddebug.cc1312 HandleScope inner_scope(isolate_); in PrepareStep()
/third_party/node/deps/v8/src/ast/
H A Dscopes.h463 // inner_scope() and sibling() together implement the inner scope list of a
466 Scope* inner_scope() const { return inner_scope_; } in inner_scope() function in v8::internal::Scope
612 bool RemoveInnerScope(Scope* inner_scope) { in RemoveInnerScope() argument
613 DCHECK_NOT_NULL(inner_scope); in RemoveInnerScope()
614 if (inner_scope == inner_scope_) { in RemoveInnerScope()
620 if (scope->sibling_ == inner_scope) { in RemoveInnerScope()
740 void AddInnerScope(Scope* inner_scope) { in AddInnerScope() argument
741 inner_scope->sibling_ = inner_scope_; in AddInnerScope()
742 inner_scope_ = inner_scope; in AddInnerScope()
743 inner_scope in AddInnerScope()
[all...]
H A Dscopes.cc896 Scope* inner_scope = new_parent->sibling_; in Reparent() local
897 if (inner_scope != top_inner_scope_) { in Reparent()
898 for (; inner_scope->sibling() != top_inner_scope_; in Reparent()
899 inner_scope = inner_scope->sibling()) { in Reparent()
900 inner_scope->outer_scope_ = new_parent; in Reparent()
901 if (inner_scope->inner_scope_calls_eval_) { in Reparent()
904 DCHECK_NE(inner_scope, new_parent); in Reparent()
906 inner_scope->outer_scope_ = new_parent; in Reparent()
907 if (inner_scope in Reparent()
[all...]
/third_party/node/deps/v8/src/heap/cppgc/
H A Dmarker.cc516 StatsCollector::EnabledScope inner_scope( in ProcessWorklistsWithDeadline()
532 StatsCollector::EnabledScope inner_scope( in ProcessWorklistsWithDeadline()
549 StatsCollector::EnabledScope inner_scope( in ProcessWorklistsWithDeadline()
568 StatsCollector::EnabledScope inner_scope( in ProcessWorklistsWithDeadline()
H A Dsweeper.cc792 StatsCollector::EnabledScope inner_scope( in SweepForAllocationIfRunning()
829 StatsCollector::EnabledScope inner_scope(stats_collector_, in FinishIfRunning()
/third_party/ffmpeg/tools/python/
H A Dconvert_from_tensorflow.py524 inner_scope = TFConverter.get_scope_name(name)
525 if inner_scope == "":
528 index = inner_scope.find(scope)
535 inner_scope = TFConverter.get_scope_name(name)
536 if inner_scope == "":
539 index = inner_scope.find(scope)
/third_party/node/deps/v8/src/json/
H A Djson-parser.cc155 HandleScope inner_scope(isolate_); in InternalizeJsonProperty()
169 HandleScope inner_scope(isolate_); in InternalizeJsonProperty()
/third_party/node/deps/v8/src/runtime/
H A Druntime-debug.cc771 HandleScope inner_scope(isolate); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/heap/
H A Dfactory.cc2621 HandleScope inner_scope(isolate()); in NewJSArray()
2624 return inner_scope.CloseAndEscape(NewJSArrayWithUnverifiedElements( in NewJSArray()
2669 HandleScope inner_scope(isolate()); in NewJSArrayStorage()
/third_party/node/deps/v8/src/d8/
H A Dd8.cc398 HandleScope inner_scope(isolate); in FillTraceConfig()
3732 HandleScope inner_scope(isolate); in RunShell()
/third_party/node/deps/v8/src/objects/
H A Djs-objects.cc317 HandleScope inner_scope(isolate); in FastAssign()
2126 HandleScope inner_scope(isolate); in FastGetOwnValuesOrEntries()

Completed in 76 milliseconds