Lines Matching refs:formals
115 PreParserFormalParameters formals(function_scope); in PreParseFunction() local
134 formals.is_simple = function_scope->has_simple_parameters(); in PreParseFunction()
143 ParseFormalParameterList(&formals); in PreParseFunction()
144 if (formals_scope.has_duplicate()) formals.set_has_duplicate(); in PreParseFunction()
145 if (!formals.is_simple) { in PreParseFunction()
146 BuildParameterInitializationBlock(formals); in PreParseFunction()
152 CheckArityRestrictions(formals.arity, kind, formals.has_rest, in PreParseFunction()
160 if (!formals.is_simple) { in PreParseFunction()
167 ParseStatementListAndLogFunction(&formals); in PreParseFunction()
174 if (formals.is_simple) { in PreParseFunction()
211 ValidateFormalParameters(language_mode(), formals, in PreParseFunction()
303 PreParserFormalParameters formals(function_scope); in ParseFunctionLiteral() local
306 ParseFormalParameterList(&formals); in ParseFunctionLiteral()
307 if (formals_scope.has_duplicate()) formals.set_has_duplicate(); in ParseFunctionLiteral()
312 CheckArityRestrictions(formals.arity, kind, formals.has_rest, in ParseFunctionLiteral()
322 ParseFunctionBody(&body, function_name, pos, formals, kind, in ParseFunctionLiteral()
338 function_scope, formals.function_length, in ParseFunctionLiteral()
366 PreParserFormalParameters* formals) { in ParseStatementListAndLogFunction() argument
373 DCHECK_EQ(this->scope()->is_function_scope(), formals->is_simple); in ParseStatementListAndLogFunction()
374 log_.LogFunction(body_end, formals->num_parameters(), in ParseStatementListAndLogFunction()
375 formals->function_length, GetLastFunctionLiteralId()); in ParseStatementListAndLogFunction()