Lines Matching refs:ifTrue
16 * A ternary expression (test ? ifTrue : ifFalse).
23 std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse)
24 : INHERITED(line, kExpressionKind, &ifTrue->type())
26 , fIfTrue(std::move(ifTrue))
28 SkASSERT(this->ifTrue()->type() == this->ifFalse()->type());
35 std::unique_ptr<Expression> ifTrue,
41 std::unique_ptr<Expression> ifTrue,
52 std::unique_ptr<Expression>& ifTrue() {
56 const std::unique_ptr<Expression>& ifTrue() const {
69 return this->test()->hasProperty(property) || this->ifTrue()->hasProperty(property) ||
74 return this->test()->isConstantOrUniform() && this->ifTrue()->isConstantOrUniform() &&
80 this->ifTrue()->clone(),
85 return "(" + this->test()->description() + " ? " + this->ifTrue()->description() + " : " +