|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkodkod.ast.Formula
kodkod.ast.MultiplicityFormula
public final class MultiplicityFormula
A multiplicity formula, e.g. some x
children = expression |
expression: Expression |
multiplicity: (ONE + LONE + SOME + NO) |
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. |
|
Expression |
expression()
Returns the expression of this. |
|
Multiplicity |
multiplicity()
Returns the mulitplicity 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 Multiplicity multiplicity()
public Expression expression()
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 |