Lines Matching refs:function_scope
108 FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope, in PreParseFunction() argument
110 DCHECK_EQ(FUNCTION_SCOPE, function_scope->scope_type()); in PreParseFunction()
113 function_scope->set_is_being_lazily_parsed(true); in PreParseFunction()
116 PreParserFormalParameters formals(function_scope); in PreParseFunction()
128 FunctionState function_state(&function_state_, &scope_, function_scope); in PreParseFunction()
135 formals.is_simple = function_scope->has_simple_parameters(); in PreParseFunction()
137 preparse_data_builder_scope.Start(function_scope); in PreParseFunction()
154 function_scope->start_position(), in PreParseFunction()
159 DeclarationScope* inner_scope = function_scope; in PreParseFunction()
176 if (is_sloppy(function_scope->language_mode())) { in PreParseFunction()
177 function_scope->HoistSloppyBlockFunctions(nullptr); in PreParseFunction()
181 is_sloppy(function_scope->language_mode()) && !IsConciseMethod(kind); in PreParseFunction()
187 SetLanguageMode(function_scope, inner_scope->language_mode()); in PreParseFunction()
191 function_scope, VariableMode::kLastLexicalVariableMode); in PreParseFunction()
226 function_scope->DeclareArguments(ast_value_factory()); in PreParseFunction()
229 function_scope); in PreParseFunction()
241 if (is_strict(function_scope->language_mode())) { in PreParseFunction()
243 CheckStrictOctalLiteral(function_scope->start_position(), end_pos); in PreParseFunction()
283 DeclarationScope* function_scope = NewFunctionScope(kind); in ParseFunctionLiteral() local
284 function_scope->SetLanguageMode(language_mode); in ParseFunctionLiteral()
295 preparse_data_builder_scope.Start(function_scope); in ParseFunctionLiteral()
298 FunctionState function_state(&function_state_, &scope_, function_scope); in ParseFunctionLiteral()
302 function_scope->set_start_position(start_position); in ParseFunctionLiteral()
303 PreParserFormalParameters formals(function_scope); in ParseFunctionLiteral()
326 language_mode = function_scope->language_mode(); in ParseFunctionLiteral()
338 function_scope, formals.function_length, in ParseFunctionLiteral()
358 event_name, flags().script_id(), ms, function_scope->start_position(), in ParseFunctionLiteral()
359 function_scope->end_position(), name, name_byte_length, is_one_byte); in ParseFunctionLiteral()