Searched refs:is_rest (Results 1 - 6 of 6) sorted by relevance
/third_party/node/deps/v8/src/parsing/ |
H A D | parser.h | 48 int initializer_end_position, bool is_rest) in Parameter() 49 : initializer_and_is_rest(initializer, is_rest), in Parameter() 62 inline bool is_rest() const { return initializer_and_is_rest.GetPayload(); } in is_rest() function 67 !is_rest(); in is_simple() 875 bool is_rest) { in AddFormalParameter() 876 parameters->UpdateArityAndFunctionLength(initializer != nullptr, is_rest); in AddFormalParameter() 880 initializer_end_position, is_rest); in AddFormalParameter() 898 is_optional, parameter->is_rest(), ast_value_factory(), in DeclareFormalParameters() 871 AddFormalParameter(ParserFormalParameters* parameters, Expression* pattern, Expression* initializer, int initializer_end_position, bool is_rest) AddFormalParameter() argument
|
H A D | parser.cc | 60 bool is_rest = true; in DefaultConstructor() local 63 constructor_args_name, VariableMode::kTemporary, is_optional, is_rest, in DefaultConstructor() 2570 bool is_rest = expr->IsSpread(); in AddArrowFunctionFormalParameters() local 2571 if (is_rest) { in AddArrowFunctionFormalParameters() 2575 DCHECK_IMPLIES(parameters->is_simple, !is_rest); in AddArrowFunctionFormalParameters() 2586 AddFormalParameter(parameters, expr, initializer, end_pos, is_rest); in AddArrowFunctionFormalParameters() 3062 const bool is_rest = false; in ParseFunction() local 3065 kNoSourcePosition, is_rest); in ParseFunction()
|
H A D | preparser.h | 1621 bool is_rest) { in AddFormalParameter() 1623 scope->RecordParameter(is_rest); in AddFormalParameter() 1624 parameters->UpdateArityAndFunctionLength(!initializer.IsNull(), is_rest); in AddFormalParameter() 1617 AddFormalParameter(PreParserFormalParameters* parameters, const PreParserExpression& pattern, const PreParserExpression& initializer, int initializer_end_position, bool is_rest) AddFormalParameter() argument
|
H A D | parser-base.h | 70 void UpdateArityAndFunctionLength(bool is_optional, bool is_rest) { in UpdateArityAndFunctionLength() 71 if (!is_optional && !is_rest && function_length == arity) { in UpdateArityAndFunctionLength() 647 is_rest(false) {} in ParsePropertyInfo() 688 bool is_rest; member 2598 prop_info->is_rest = true; in ParseObjectPropertyDefinition() 2785 if (prop_info.is_rest) { in ParseObjectLiteral()
|
/third_party/node/deps/v8/src/ast/ |
H A D | scopes.cc | 1011 bool is_optional, bool is_rest, in DeclareParameter() 1017 DCHECK(!is_optional || !is_rest); in DeclareParameter() 1028 has_rest_ = is_rest; in DeclareParameter() 1031 if (!is_rest) ++num_parameters_; in DeclareParameter() 1043 void DeclarationScope::RecordParameter(bool is_rest) { in RecordParameter() argument 1048 has_rest_ = is_rest; in RecordParameter() 1049 if (!is_rest) ++num_parameters_; in RecordParameter() 1009 DeclareParameter(const AstRawString* name, VariableMode mode, bool is_optional, bool is_rest, AstValueFactory* ast_value_factory, int position) DeclareParameter() argument
|
H A D | scopes.h | 1022 bool is_optional, bool is_rest, 1026 void RecordParameter(bool is_rest);
|
Completed in 29 milliseconds