Class IrRegister
java.lang.Object
org.clafer.ir.IrAbstractBool
org.clafer.ir.IrRegister
- All Implemented Interfaces:
IrBoolExpr, IrExpr, IrIntExpr
- Author:
- jimmy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<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.booleaninthashCode()booleanIs the expression in negative form.negate()The negated expression is true if and only if this expression is false.toString()Methods inherited from class IrAbstractBool
getDomain, getHighBound, getLowBound, isConstant
-
Constructor Details
-
IrRegister
-
-
Method Details
-
getVariable
-
isNegative
Description copied from interface:IrBoolExprIs the expression in negative form. Expressions in negated form have their class names prefixed with "IrNot...", otherwise the expression is not negative.- Returns:
- true if the expression is in negative form, false otherwise
-
negate
Description copied from interface:IrBoolExprThe negated expression is true if and only if this expression is false.- Returns:
- negated expression
-
accept
Description copied from interface:IrBoolExprDynamic dispatch on the visitor.- Type Parameters:
A- the parameter typeB- the return type- Parameters:
visitor- the visitora- the parameter- Returns:
- the return value
-
accept
Description copied from interface:IrIntExprDynamic dispatch on the visitor.- Type Parameters:
A- the parameter typeB- the return type- Parameters:
visitor- the visitora- the parameter- Returns:
- the return value
-
equals
- Overrides:
equalsin classIrAbstractBool
-
hashCode
- Overrides:
hashCodein classIrAbstractBool
-
toString
-