Searched refs:has_rest (Results 1 – 3 of 3) sorted by relevance
/external/v8/src/parsing/ |
D | preparser.cc | 174 formals.arity, kind, formals.has_rest, function_scope->start_position(), in PreParseFunction() 317 CheckArityRestrictions(formals.arity, kind, formals.has_rest, start_position, in ParseFunctionLiteral()
|
D | parser-base.h | 73 return arity - has_rest; in num_parameters() 84 bool has_rest = false; member 1189 bool has_rest, int formals_start_pos, 3781 bool is_rest = parameters->has_rest; in ParseFormalParameter() 3838 parameters->has_rest = Check(Token::ELLIPSIS); in ParseFormalParameterList() 3841 if (parameters->has_rest) { in ParseFormalParameterList() 4290 bool has_rest, in CheckArityRestrictions() argument 4307 if (has_rest) { in CheckArityRestrictions()
|
D | parser.cc | 2403 DCHECK(!parameters->has_rest); in AddArrowFunctionFormalParameters() 2408 parameters->has_rest = true; in AddArrowFunctionFormalParameters() 3122 CheckArityRestrictions(formals.arity, kind, formals.has_rest, in ParseFunction()
|