Lines Matching refs:function_scope
47 DeclarationScope* function_scope = NewFunctionScope(kind);
48 SetLanguageMode(function_scope, LanguageMode::kStrict);
50 function_scope->set_start_position(pos);
51 function_scope->set_end_position(pos);
55 FunctionState function_state(&function_state_, &scope_, function_scope);
62 Variable* constructor_args = function_scope->DeclareParameter(
84 name, function_scope, body, expected_property_count, parameter_count,
929 DeclarationScope* function_scope = result->scope();
933 function_scope->start_position(),
934 function_scope->end_position(), function_name.get(),
2172 DeclarationScope* function_scope) {
2174 function_scope->LookupLocal(function_name) == nullptr) {
2175 DCHECK_EQ(function_scope, scope());
2176 function_scope->DeclareFunctionVar(function_name);
2829 DeclarationScope* function_scope, int* num_parameters,
2832 FunctionState function_state(&function_state_, &scope_, function_scope);
2833 function_scope->set_zone(&preparser_zone_);
2835 DCHECK_NE(kNoSourcePosition, function_scope->start_position());
2855 main_zone(), function_scope->start_position(), &end_position,
2860 function_scope->outer_scope()->SetMustUsePreparseData();
2861 function_scope->set_is_skipped_function(true);
2862 function_scope->set_end_position(end_position);
2865 SetLanguageMode(function_scope, language_mode);
2867 function_scope->RecordSuperPropertyUsage();
2870 function_scope->ResetAfterPreparsing(ast_value_factory_, false);
2875 bookmark.Set(function_scope->start_position());
2878 PrivateNameScopeIterator private_name_scope_iter(function_scope);
2889 function_name, kind, function_syntax_kind, function_scope, use_counts_,
2909 function_scope->ResetAfterPreparsing(ast_value_factory_, true);
2920 function_scope->set_end_position(logger->end());
2923 function_scope->end_position() - function_scope->start_position();
2931 function_scope->AnalyzePartially(this, factory(), MaybeParsingArrowhead());
3033 DeclarationScope* function_scope, int* num_parameters, int* function_length,
3040 FunctionState function_state(&function_state_, &scope_, function_scope);
3053 ParserFormalParameters formals(function_scope);
3093 function_scope->start_position(),
3323 Scope* function_scope = inner_scope->outer_scope();
3324 DCHECK(function_scope->is_function_scope());
3332 Variable* parameter = function_scope->LookupLocal(name);