Class CommonSymbolicConstant
java.lang.Object
edu.udel.cis.vsl.sarl.object.common.CommonSymbolicObject
edu.udel.cis.vsl.sarl.expr.common.HomogeneousExpression<SymbolicObject>
edu.udel.cis.vsl.sarl.expr.common.CommonSymbolicConstant
- All Implemented Interfaces:
SymbolicConstant,SymbolicExpression,SymbolicObject
public class CommonSymbolicConstant
extends HomogeneousExpression<SymbolicObject>
implements SymbolicConstant
A "symbolic constant" is a symbol used in symbolic execution to represent an
input value. It is "constant" in the sense that its value does not change in
the course of an execution of the program. A symbolic constant is determined
by two things: a name (which is a String), and a type (instance of
SymbolicTypeIF). Two distinct symbolic constants may have the same name, but
different types. Two symbolic constants are considered equal iff their names
are equal and their types are equal. Symbolic constants are symbolic
expressions and are therefore immutable.
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.udel.cis.vsl.sarl.IF.expr.SymbolicExpression
SymbolicExpression.SymbolicOperatorNested classes/interfaces inherited from interface edu.udel.cis.vsl.sarl.IF.object.SymbolicObject
SymbolicObject.SymbolicObjectKind -
Field Summary
Fields inherited from class edu.udel.cis.vsl.sarl.expr.common.HomogeneousExpression
debug -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class edu.udel.cis.vsl.sarl.expr.common.HomogeneousExpression
argument, arguments, atomString, canonizeChildren, containsQuantifier, containsSubobject, getArguments, getFreeVars, isFalse, isNull, isNumeric, isOne, isTrue, isZero, numArguments, operator, printCompressedTree, size, symbolicObjectKind, toStringBuffer, toStringBuffer1, toStringBufferLong, typeMethods inherited from class edu.udel.cis.vsl.sarl.object.common.CommonSymbolicObject
equals, getOrder, hashCode, id, isCanonic, setInCanonic, setOrder, toStringMethods inherited from interface edu.udel.cis.vsl.sarl.IF.expr.SymbolicConstant
typeMethods inherited from interface edu.udel.cis.vsl.sarl.IF.expr.SymbolicExpression
argument, atomString, getArguments, getFreeVars, isFalse, isNull, isNumeric, isOne, isTrue, isZero, numArguments, operator, printCompressedTree, sizeMethods inherited from interface edu.udel.cis.vsl.sarl.IF.object.SymbolicObject
containsQuantifier, containsSubobject, equals, getOrder, hashCode, id, isCanonic, setInCanonic, setOrder, symbolicObjectKind, toString, toStringBuffer, toStringBufferLong
-
Constructor Details
-
CommonSymbolicConstant
- Parameters:
name- a non-nullstring objecttype- a non-nulltype
-
-
Method Details
-
name
Description copied from interface:SymbolicConstantReturns the name of this symbolic constant. This is aStringObject, which wraps aStringin aSymbolicObjectpackage.- Specified by:
namein interfaceSymbolicConstant- Returns:
- the name of this symbolic constant
-