|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkodkod.ast.Expression
kodkod.ast.IntExprCast
public final class IntExprCast
Represents the conversion from an int expression
to an expression
. The meaning of the resulting
expression is a singleton set containing the atom that represents the integer
given by the wrapped int expression.
children = intExpr |
arity = 1 |
intExpr: IntExpression |
Field Summary |
---|
Fields inherited from class kodkod.ast.Expression |
---|
IDEN, INTS, NONE, UNIV |
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). |
|
int |
arity()
Returns 1. |
|
boolean |
equals(java.lang.Object o)
Returns true if o is an IntExprCast whose intExpr is logically equal to this.intExpr. |
|
int |
hashCode()
|
|
IntExpression |
intExpr()
Returns this.intExpr. |
|
java.lang.String |
toString()
|
Methods inherited from class kodkod.ast.Expression |
---|
apply, apply, apply, closure, compose, compose, count, difference, eq, in, intersection, join, lone, no, one, override, product, reflexiveClosure, some, sum, transpose, union |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int arity()
arity
in class Expression
public IntExpression intExpr()
public <E,F,D,I> E accept(ReturnVisitor<E,F,D,I> visitor)
accept
in interface Node
accept
in class Expression
Expression.accept(kodkod.ast.visitor.ReturnVisitor)
public void accept(VoidVisitor visitor)
Node.accept(kodkod.ast.visitor.VoidVisitor)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |