|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkodkod.ast.Formula
kodkod.ast.BinaryFormula
public final class BinaryFormula
A formula
with two children.
children = left + right |
left: Formula |
right: Formula |
op: AbstractOperator |
Nested Class Summary | |
---|---|
static class |
BinaryFormula.Operator
Represents a binary formula 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 visitor. |
|
Formula |
left()
Returns the left child of this. |
|
BinaryFormula.Operator |
op()
Returns the operator of this. |
|
Formula |
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 Formula left()
public Formula right()
public BinaryFormula.Operator op()
public <E,F,D,I> F accept(ReturnVisitor<E,F,D,I> visitor)
accept
in interface Node
accept
in class Formula
Node.accept(kodkod.ast.visitor.ReturnVisitor)
public void accept(VoidVisitor visitor)
Node.accept(kodkod.ast.visitor.VoidVisitor)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |