Home
last modified time | relevance | path

Searched refs:is_rest (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/parsing/
Dparser.h294 bool is_rest) in Parameter()
299 is_rest(is_rest) {} in Parameter()
304 bool is_rest; member
306 return pattern->IsVariableProxy() && initializer == nullptr && !is_rest; in is_simple()
550 int initializer_end_position, bool is_rest);
1235 bool is_rest) { in AddFormalParameter() argument
1242 initializer_end_position, is_rest), in AddFormalParameter()
1252 auto name = is_simple || parameter.is_rest in DeclareFormalParameter()
1255 auto mode = is_simple || parameter.is_rest ? VAR : TEMPORARY; in DeclareFormalParameter()
1259 name, mode, is_optional, parameter.is_rest, &is_duplicate); in DeclareFormalParameter()
Dparser-base.h1702 bool is_rest = false; in ParseExpression() local
1710 seen_rest = is_rest = true; in ParseExpression()
1718 if (is_rest) { in ParseExpression()
3175 bool is_rest = parameters->has_rest; in ParseFormalParameter() local
3191 if (!is_rest && Check(Token::ASSIGN)) { in ParseFormalParameter()
3206 scanner()->location().end_pos, is_rest); in ParseFormalParameter()
Dparser.cc212 bool is_rest = true; in DefaultConstructor() local
216 is_optional, is_rest, &is_duplicate); in DefaultConstructor()
4001 bool is_rest = expr->IsSpread(); in ParseArrowFunctionFormalParameters() local
4002 if (is_rest) { in ParseArrowFunctionFormalParameters()
4007 parameters->is_simple = !is_rest && expr->IsVariableProxy(); in ParseArrowFunctionFormalParameters()
4029 AddFormalParameter(parameters, expr, initializer, end_pos, is_rest); in ParseArrowFunctionFormalParameters()
4571 if (parameter.is_rest && parameter.pattern->IsVariableProxy()) break; in BuildParameterInitializationBlock()
Dpreparser.h916 int initializer_end_position, bool is_rest) { in AddFormalParameter() argument
/external/v8/src/ast/
Dscopes.cc487 bool is_optional, bool is_rest, bool* is_duplicate) { in DeclareParameter() argument
490 DCHECK(!is_optional || !is_rest); in DeclareParameter()
500 if (!is_optional && !is_rest && arity_ == params_.length()) { in DeclareParameter()
503 if (is_rest) { in DeclareParameter()
Dscopes.h159 bool is_optional, bool is_rest, bool* is_duplicate);