|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkodkod.ast.Formula
kodkod.ast.IntComparisonFormula
public final class IntComparisonFormula
An integer comparison formula, e.g. x = y, x <= y, etc.
children = left + right |
left: IntExpression |
right: IntExpression |
op: Operator |
Nested Class Summary | |
---|---|
static class |
IntComparisonFormula.Operator
Represents a binary comarison operator: =, < , >, <=, >=. |
Field Summary |
---|
Fields inherited from class kodkod.ast.Formula |
---|
FALSE, TRUE |
Method Summary | ||
---|---|---|
|
accept(ReturnVisitor<E,F,D,I> visitor)
Accepts the given visitor and returns the result. |
|
void |
accept(VoidVisitor visitor)
Accepts the given void visitor by calling visitor.visit(this). |
|
IntExpression |
left()
Returns the left child of this. |
|
IntComparisonFormula.Operator |
op()
Returns the operator of this. |
|
IntExpression |
right()
Returns the right child of this. |
|
java.lang.String |
toString()
Returns the string representation of this formula. |
Methods inherited from class kodkod.ast.Formula |
---|
and, compose, comprehension, forAll, forSome, iff, implies, not, or, quantify, thenElse, thenElse |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public IntExpression left()
public IntExpression right()
public IntComparisonFormula.Operator op()
public java.lang.String toString()
toString
in class java.lang.Object
public <E,F,D,I> F accept(ReturnVisitor<E,F,D,I> visitor)
accept
in interface Node
accept
in class Formula
Formula.accept(kodkod.ast.visitor.ReturnVisitor)
public void accept(VoidVisitor visitor)
Node.accept(kodkod.ast.visitor.VoidVisitor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |