public class IrTernary extends IrAbstractInt
Constructor and Description |
---|
IrTernary(IrBoolExpr antecedent,
IrIntExpr consequent,
IrIntExpr alternative,
IrDomain domain) |
Modifier and Type | Method and Description |
---|---|
<A,B> B |
accept(IrIntExprVisitor<A,B> visitor,
A a)
Dynamic dispatch on the visitor.
|
boolean |
equals(Object obj) |
IrIntExpr |
getAlternative() |
IrBoolExpr |
getAntecedent() |
IrIntExpr |
getConsequent() |
int |
hashCode() |
String |
toString() |
getDomain
public IrTernary(IrBoolExpr antecedent, IrIntExpr consequent, IrIntExpr alternative, IrDomain domain)
public IrBoolExpr getAntecedent()
public IrIntExpr getConsequent()
public IrIntExpr getAlternative()
public <A,B> B accept(IrIntExprVisitor<A,B> visitor, A a)
IrIntExpr
A
- the parameter typeB
- the return typevisitor
- the visitora
- the parameterpublic boolean equals(Object obj)
equals
in class IrAbstractInt
public int hashCode()
hashCode
in class IrAbstractInt
Copyright © 2013. All Rights Reserved.