Home
last modified time | relevance | path

Searched refs:has_rest (Results 1 - 3 of 3) sorted by relevance

/third_party/node/deps/v8/src/parsing/
H A Dpreparser.cc153 CheckArityRestrictions(formals.arity, kind, formals.has_rest, in PreParseFunction()
312 CheckArityRestrictions(formals.arity, kind, formals.has_rest, in ParseFunctionLiteral()
H A Dparser-base.h67 return arity - has_rest; in num_parameters()
78 bool has_rest = false; member
1251 bool has_rest, int formals_start_pos,
3873 if (parameters->has_rest) { in ParseFormalParameter()
3902 parameters->has_rest); in ParseFormalParameter()
3928 parameters->has_rest = Check(Token::ELLIPSIS); in ParseFormalParameterList()
3931 if (parameters->has_rest) { in ParseFormalParameterList()
4444 bool has_rest, in CheckArityRestrictions()
4460 if (has_rest) { in CheckArityRestrictions()
4442 CheckArityRestrictions(int param_count, FunctionKind function_kind, bool has_rest, int formals_start_pos, int formals_end_pos) CheckArityRestrictions() argument
H A Dparser.cc2568 DCHECK(!parameters->has_rest); in AddArrowFunctionFormalParameters()
2573 parameters->has_rest = true; in AddArrowFunctionFormalParameters()
3092 CheckArityRestrictions(formals.arity, kind, formals.has_rest, in ParseFunction()

Completed in 16 milliseconds