Lines Matching refs:kTernary
217 case Expression::Kind::kTernary: in writeExpression()
922 if (Precedence::kTernary >= parentPrecedence) { in writeShortCircuitWorkaroundExpression()
929 this->writeExpression(*b.left(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression()
932 this->writeExpression(*b.right(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression()
942 this->writeExpression(*b.right(), Precedence::kTernary); in writeShortCircuitWorkaroundExpression()
944 if (Precedence::kTernary >= parentPrecedence) { in writeShortCircuitWorkaroundExpression()
951 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()
954 this->writeExpression(*t.test(), Precedence::kTernary); in writeTernaryExpression()
956 this->writeExpression(*t.ifTrue(), Precedence::kTernary); in writeTernaryExpression()
958 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression()
959 if (Precedence::kTernary >= parentPrecedence) { in writeTernaryExpression()