Lines Matching defs:rightExpr
1322 ir::Expression *rightExpr = ParseExpressionOrTypeAnnotation(operatorType, ExpressionParseFlags::DISALLOW_YIELD);
1325 if (rightExpr->IsConditionalExpression() && !rightExpr->IsGrouped()) {
1326 conditionalExpr = rightExpr->AsConditionalExpression();
1327 rightExpr = conditionalExpr->Test();
1330 if (ShouldExpressionBeAmended(rightExpr, operatorType)) {
1331 if (AreLogicalAndNullishMixedIncorrectly(rightExpr, operatorType)) {
1337 ir::Expression *expression = rightExpr;
1351 if (AreLogicalAndNullishMixedIncorrectly(rightExpr, operatorType)) {
1354 const lexer::SourcePosition &endPos = rightExpr->End();
1355 rightExpr = AllocNode<ir::BinaryExpression>(left, rightExpr, operatorType);
1356 rightExpr->SetRange({left->Start(), endPos});
1360 conditionalExpr->SetStart(rightExpr->Start());
1361 conditionalExpr->SetTest(rightExpr);
1365 return rightExpr;