Lines Matching refs:function_scope
108 FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope,
110 DCHECK_EQ(FUNCTION_SCOPE, function_scope->scope_type());
113 function_scope->set_is_being_lazily_parsed(true);
116 PreParserFormalParameters formals(function_scope);
123 // The caller passes the function_scope which is not yet inserted into the
124 // scope stack. All scopes above the function_scope are ignored by the
128 FunctionState function_state(&function_state_, &scope_, function_scope);
135 formals.is_simple = function_scope->has_simple_parameters();
137 preparse_data_builder_scope.Start(function_scope);
154 function_scope->start_position(),
159 DeclarationScope* inner_scope = function_scope;
176 if (is_sloppy(function_scope->language_mode())) {
177 function_scope->HoistSloppyBlockFunctions(nullptr);
181 is_sloppy(function_scope->language_mode()) && !IsConciseMethod(kind);
187 SetLanguageMode(function_scope, inner_scope->language_mode());
191 function_scope, VariableMode::kLastLexicalVariableMode);
226 function_scope->DeclareArguments(ast_value_factory());
229 function_scope);
241 if (is_strict(function_scope->language_mode())) {
243 CheckStrictOctalLiteral(function_scope->start_position(), end_pos);
283 DeclarationScope* function_scope = NewFunctionScope(kind);
284 function_scope->SetLanguageMode(language_mode);
295 preparse_data_builder_scope.Start(function_scope);
298 FunctionState function_state(&function_state_, &scope_, function_scope);
302 function_scope->set_start_position(start_position);
303 PreParserFormalParameters formals(function_scope);
326 language_mode = function_scope->language_mode();
338 function_scope, formals.function_length,
358 event_name, flags().script_id(), ms, function_scope->start_position(),
359 function_scope->end_position(), name, name_byte_length, is_one_byte);