• Home
  • Raw
  • Download

Lines Matching refs:function_scope

121     DeclarationScope* function_scope, bool is_inner_function, bool may_abort,  in PreParseFunction()  argument
124 DCHECK_EQ(FUNCTION_SCOPE, function_scope->scope_type()); in PreParseFunction()
130 function_scope->set_is_being_lazily_parsed(true); in PreParseFunction()
140 new ProducedPreParsedScopeData::DataGatheringScope(function_scope, in PreParseFunction()
154 FunctionState function_state(&function_state_, &scope_, function_scope); in PreParseFunction()
159 PreParserFormalParameters formals(function_scope); in PreParseFunction()
174 formals.arity, kind, formals.has_rest, function_scope->start_position(), in PreParseFunction()
179 DeclarationScope* inner_scope = function_scope; in PreParseFunction()
199 SetLanguageMode(function_scope, inner_scope->language_mode()); in PreParseFunction()
203 if (is_sloppy(function_scope->language_mode())) { in PreParseFunction()
204 function_scope->HoistSloppyBlockFunctions(nullptr); in PreParseFunction()
213 function_scope->DeclareArguments(ast_value_factory()); in PreParseFunction()
215 DeclareFunctionNameVar(function_name, function_type, function_scope); in PreParseFunction()
234 is_sloppy(function_scope->language_mode()) && formals.is_simple && in PreParseFunction()
236 ValidateFormalParameters(function_scope->language_mode(), in PreParseFunction()
243 if (is_strict(function_scope->language_mode())) { in PreParseFunction()
245 CheckStrictOctalLiteral(function_scope->start_position(), end_pos, ok); in PreParseFunction()
288 DeclarationScope* function_scope = NewFunctionScope(kind); in ParseFunctionLiteral() local
289 function_scope->SetLanguageMode(language_mode); in ParseFunctionLiteral()
300 new ProducedPreParsedScopeData::DataGatheringScope(function_scope, in ParseFunctionLiteral()
304 FunctionState function_state(&function_state_, &scope_, function_scope); in ParseFunctionLiteral()
311 function_scope->set_start_position(start_position); in ParseFunctionLiteral()
312 PreParserFormalParameters formals(function_scope); in ParseFunctionLiteral()
330 language_mode = function_scope->language_mode(); in ParseFunctionLiteral()
333 function_scope->HoistSloppyBlockFunctions(nullptr); in ParseFunctionLiteral()
368 event_name, script_id(), ms, function_scope->start_position(), in ParseFunctionLiteral()
369 function_scope->end_position(), name, name_byte_length); in ParseFunctionLiteral()