Searched refs:TK_LOGICALAND (Results 1 – 9 of 9) sorted by relevance
34 case Kind::TK_LOGICALAND: return Precedence::kLogicalAnd; in getBinaryPrecedence()63 case Kind::TK_LOGICALAND: in isOperator()106 case Kind::TK_LOGICALAND: return "&&"; in operatorName()283 case Token::Kind::TK_LOGICALAND: // left && right in determineBinaryType()
80 TK_LOGICALAND, enumerator
35 if ((op.kind() == Token::Kind::TK_LOGICALAND && rightVal) || // (expr && true) -> (expr) in eliminate_no_op_boolean()53 if ((op.kind() == Token::Kind::TK_LOGICALAND && !leftVal) || // (false && expr) -> (false) in short_circuit_boolean()362 case Token::Kind::TK_LOGICALAND: result = leftVal && rightVal; break; in Simplify()
961 bool shortCircuitable = (op.kind() == Token::Kind::TK_LOGICALAND || in visitExpression()
1368 while (this->peek().fKind == Token::Kind::TK_LOGICALAND) { in logicalAndExpression()
882 (op.kind() == Token::Kind::TK_LOGICALAND || op.kind() == Token::Kind::TK_LOGICALOR)) { in writeBinaryExpression()931 if (b.getOperator().kind() == Token::Kind::TK_LOGICALAND) { in writeShortCircuitWorkaroundExpression()938 if (b.getOperator().kind() == Token::Kind::TK_LOGICALAND) { in writeShortCircuitWorkaroundExpression()1313 /*line=*/-1, f.test()->clone(), Token::Kind::TK_LOGICALAND, in writeForStatement()
597 case Token::Kind::TK_LOGICALAND: { in writeBinaryExpression()
2681 case Token::Kind::TK_LOGICALAND: in writeBinaryExpression()
229 OP(&&, TK_LOGICALAND)