org.jmlspecs.jml4.fspv.theory
Class TheoryVariable
java.lang.Object
org.jmlspecs.jml4.fspv.theory.TheoryVariable
public class TheoryVariable
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ARGUMENT
public static final int ARGUMENT
- See Also:
- Constant Field Values
RESULT
public static final int RESULT
- See Also:
- Constant Field Values
OLD
public static final int OLD
- See Also:
- Constant Field Values
LOCAL
public static final int LOCAL
- See Also:
- Constant Field Values
BOUND
public static final int BOUND
- See Also:
- Constant Field Values
OLD_SUFFIX
public static final java.lang.String OLD_SUFFIX
- See Also:
- Constant Field Values
RESULT_NAME
public static final java.lang.String RESULT_NAME
- See Also:
- Constant Field Values
name
public final java.lang.String name
type
public final TheoryType type
kind
public final int kind
initialization
public final TheoryExpression initialization
declSourceStart
public final int declSourceStart
TheoryVariable
public TheoryVariable(java.lang.String name,
TheoryType type2,
TheoryExpression initialization,
int kind,
int declSourceStart)
getDecoratedName
public java.lang.String getDecoratedName()
getType
public TheoryType getType()
getDeclSourceStart
public int getDeclSourceStart()
isArgument
public boolean isArgument()
isResult
public boolean isResult()
isOld
public boolean isOld()
isLocal
public boolean isLocal()
isBound
public boolean isBound()
nameReference
public TheoryVariableReference nameReference()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
visit
public java.lang.Object visit(TheoryVisitor visitor)
Argument
public static TheoryVariable Argument(java.lang.String name,
TheoryType type,
int declSourceStart)
Result
public static TheoryVariable Result(TheoryType type)
Old
public static TheoryVariable Old(TheoryVariable v)
Local
public static TheoryVariable Local(java.lang.String name,
TheoryType type,
TheoryExpression initialization,
int declSourceStart)
Bound
public static TheoryVariable Bound(java.lang.String name,
TheoryType type,
TheoryExpression initialization,
int declSourceStart)
equals
public boolean equals(TheoryVariable v)