Searched refs:convResult (Results 1 – 4 of 4) sorted by relevance
47 bool convResult = true; in ConvertibleToRest() local51 … convResult = allowPattern && argument_->AsArrayExpression()->ConvertibleToArrayPattern(); in ConvertibleToRest()55 … convResult = allowPattern && argument_->AsObjectExpression()->ConvertibleToObjectPattern(); in ConvertibleToRest()61 convResult = false; in ConvertibleToRest()65 convResult = !isDeclaration; in ConvertibleToRest()74 return convResult; in ConvertibleToRest()
33 bool convResult = true; in ConvertibleToAssignmentPattern() local37 convResult = left_->AsArrayExpression()->ConvertibleToArrayPattern(); in ConvertibleToAssignmentPattern()41 convResult = mustBePattern && left_->AsSpreadElement()->ConvertibleToRest(false); in ConvertibleToAssignmentPattern()45 convResult = left_->AsObjectExpression()->ConvertibleToObjectPattern(); in ConvertibleToAssignmentPattern()49 … convResult = left_->AsAssignmentExpression()->ConvertibleToAssignmentPattern(mustBePattern); in ConvertibleToAssignmentPattern()54 convResult = false; in ConvertibleToAssignmentPattern()67 return convResult; in ConvertibleToAssignmentPattern()72 convResult = right_->AsArrayExpression()->ConvertibleToArrayPattern(); in ConvertibleToAssignmentPattern()77 convResult = false; in ConvertibleToAssignmentPattern()81 convResult = right_->AsObjectExpression()->ConvertibleToObjectPattern(); in ConvertibleToAssignmentPattern()[all …]
34 bool convResult = true; in ConvertibleToArrayPattern() local38 convResult = it->AsArrayExpression()->ConvertibleToArrayPattern(); in ConvertibleToArrayPattern()43 convResult = it->AsSpreadElement()->ConvertibleToRest(isDeclaration_); in ConvertibleToArrayPattern()45 convResult = false; in ConvertibleToArrayPattern()51 convResult = it->AsObjectExpression()->ConvertibleToObjectPattern(); in ConvertibleToArrayPattern()55 convResult = it->AsAssignmentExpression()->ConvertibleToAssignmentPattern(); in ConvertibleToArrayPattern()61 convResult = false; in ConvertibleToArrayPattern()69 if (!convResult) { in ConvertibleToArrayPattern()75 return convResult; in ConvertibleToArrayPattern()
129 bool convResult = true; in ConvertibleToObjectPattern() local134 convResult = it->AsArrayExpression()->ConvertibleToArrayPattern(); in ConvertibleToObjectPattern()139 convResult = it->AsSpreadElement()->ConvertibleToRest(isDeclaration_, false); in ConvertibleToObjectPattern()141 convResult = false; in ConvertibleToObjectPattern()148 convResult = it->AsObjectExpression()->ConvertibleToObjectPattern(); in ConvertibleToObjectPattern()152 convResult = it->AsAssignmentExpression()->ConvertibleToAssignmentPattern(); in ConvertibleToObjectPattern()158 convResult = false; in ConvertibleToObjectPattern()162 convResult = it->AsProperty()->ConventibleToPatternProperty(); in ConvertibleToObjectPattern()170 if (!convResult) { in ConvertibleToObjectPattern()176 return convResult; in ConvertibleToObjectPattern()