public LValue compileLValue(ConditionalExpr t,
EvaluationContext context, InstList l) throws CompilerException {
throw new NoLValAvailable() ;
}
public boolean isInstanceOf(ConditionalExpr t, TypeName type, EvaluationContext context) throws CompilerException {
TypeCode td1 = context.getTypeCode(t.thenExpr) ;
TypeCode td2 = context.getTypeCode(t.elseExpr) ;
TypeCode t1 = condTable.get(new TypePair(td1,td2)) ;
if (t1 != null) {
return context.classPool.isAssignableFrom(type, context.makeTypeRef(t1)) ;
}
return context.isInstanceOf(type, t.thenExpr) && context.isInstanceOf(type, t.elseExpr) ;