Searched refs:ifFalse (Results 1 – 3 of 3) sorted by relevance
28 TernaryExpr(Expr pred, Expr ifTrue, Expr ifFalse) { in TernaryExpr() argument29 super(pred, ifTrue, ifFalse); in TernaryExpr()66 final Expr ifFalse = getIfFalse(); in resolveType() local68 return ifFalse.getResolvedType(); in resolveType()69 } else if (isNullLiteral(ifFalse)) { in resolveType()
151 public TernaryExpr ternary(Expr pred, Expr ifTrue, Expr ifFalse) { in ternary() argument152 return register(new TernaryExpr(pred, ifTrue, ifFalse)); in ternary()
134 SymbolExpr ifFalse = (SymbolExpr) parsed.getIfFalse(); in testTernary() local136 assertEquals("4", ifFalse.getText()); in testTernary()