public class IrIfThenElse extends IrAbstractBool implements IrBoolExpr
| Constructor and Description | 
|---|
IrIfThenElse(IrBoolExpr antecedent,
                        IrBoolExpr consequent,
                        IrBoolExpr alternative,
                        IrBoolDomain domain)  | 
| Modifier and Type | Method and Description | 
|---|---|
<A,B> B | 
accept(IrBoolExprVisitor<A,B> visitor,
            A a)
Dynamic dispatch on the visitor. 
 | 
<A,B> B | 
accept(IrIntExprVisitor<A,B> visitor,
            A a)
Dynamic dispatch on the visitor. 
 | 
boolean | 
equals(Object obj)  | 
IrBoolExpr | 
getAlternative()  | 
IrBoolExpr | 
getAntecedent()  | 
IrBoolExpr | 
getConsequent()  | 
int | 
hashCode()  | 
boolean | 
isNegative()
Is the expression in negative form. 
 | 
IrBoolExpr | 
negate()
The negated expression is true if and only if this expression is false. 
 | 
String | 
toString()  | 
getDomainclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDomainpublic IrIfThenElse(IrBoolExpr antecedent, IrBoolExpr consequent, IrBoolExpr alternative, IrBoolDomain domain)
public IrBoolExpr getAntecedent()
public IrBoolExpr getConsequent()
public IrBoolExpr getAlternative()
public IrBoolExpr negate()
IrBoolExprnegate in interface IrBoolExprpublic boolean isNegative()
IrBoolExprisNegative in interface IrBoolExprpublic <A,B> B accept(IrBoolExprVisitor<A,B> visitor, A a)
IrBoolExpraccept in interface IrBoolExprA - the parameter typeB - the return typevisitor - the visitora - the parameterpublic <A,B> B accept(IrIntExprVisitor<A,B> visitor, A a)
IrIntExprpublic boolean equals(Object obj)
equals in class IrAbstractBoolpublic int hashCode()
hashCode in class IrAbstractBoolCopyright © 2013. All Rights Reserved.