Class CharValue
java.lang.Object
de.uzl.its.swat.symbolic.value.Value<T,K>
de.uzl.its.swat.symbolic.value.primitive.numeric.NumericalValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,Character>
de.uzl.its.swat.symbolic.value.primitive.numeric.integral.CharValue
public class CharValue
extends NumericalValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,Character>
-
Field Summary
Fields inherited from class de.uzl.its.swat.symbolic.value.primitive.numeric.NumericalValue
imgr
-
Constructor Summary
ConstructorDescriptionCharValue
(org.sosy_lab.java_smt.api.SolverContext context, char concrete) CharValue
(org.sosy_lab.java_smt.api.SolverContext context, char concrete, org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula formula) CharValue
(org.sosy_lab.java_smt.api.SolverContext context, char concrete, org.sosy_lab.java_smt.api.StringFormula formula) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getASCIIchars
(int begin, int end) org.sosy_lab.java_smt.api.BooleanFormula
getBounds
(boolean upper) Creates a formula that asserts that this symbolic value is withing the bounds of this typeTurns this CharValue into a symbolic variableMAKE_SYMBOLIC
(long idx) Turns this IntValue into a symbolic variableMAKE_SYMBOLIC
(String namePrefix) Turns this CharValue into a symbolic variableorg.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula
tmp
(ArrayList<org.sosy_lab.java_smt.api.StringFormula> chars, org.sosy_lab.java_smt.api.StringFormula s) toString()
Returns the string representation of the value used to visualize the stack.Methods inherited from class de.uzl.its.swat.symbolic.value.primitive.numeric.NumericalValue
genericToString, wrapByte, wrapCharacter, wrapInteger, wrapLong, wrapShort
Methods inherited from class de.uzl.its.swat.symbolic.value.Value
asBooleanValue, asByteValue, asDoubleValue, asFloatValue, asLongValue, asNumericalValue, asObjectValue, asShortValue, getConcrete, getName, getType, initSymbolic, initSymbolic, reset
-
Constructor Details
-
CharValue
public CharValue(org.sosy_lab.java_smt.api.SolverContext context, char concrete) -
CharValue
public CharValue(org.sosy_lab.java_smt.api.SolverContext context, char concrete, org.sosy_lab.java_smt.api.StringFormula formula) -
CharValue
public CharValue(org.sosy_lab.java_smt.api.SolverContext context, char concrete, org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula formula)
-
-
Method Details
-
getBounds
public org.sosy_lab.java_smt.api.BooleanFormula getBounds(boolean upper) Creates a formula that asserts that this symbolic value is withing the bounds of this type -
MAKE_SYMBOLIC
Turns this CharValue into a symbolic variable- Overrides:
MAKE_SYMBOLIC
in classValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,
Character> - Parameters:
namePrefix
-- Returns:
- The numerical identifier of this symbolic variable
-
MAKE_SYMBOLIC
Turns this CharValue into a symbolic variable- Overrides:
MAKE_SYMBOLIC
in classValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,
Character> - Returns:
- The numerical identifier of this symbolic variable
-
MAKE_SYMBOLIC
Turns this IntValue into a symbolic variable- Overrides:
MAKE_SYMBOLIC
in classValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,
Character> - Parameters:
idx
-- Returns:
- The numerical identifier of this symbolic variable
-
tmp
public org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula tmp(ArrayList<org.sosy_lab.java_smt.api.StringFormula> chars, org.sosy_lab.java_smt.api.StringFormula s) -
getASCIIchars
-
asCharValue
- Overrides:
asCharValue
in classValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,
Character>
-
asIntValue
- Overrides:
asIntValue
in classValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,
Character>
-
asStringValue
- Overrides:
asStringValue
in classValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,
Character>
-
getConcreteEncoded
- Overrides:
getConcreteEncoded
in classValue<org.sosy_lab.java_smt.api.NumeralFormula.IntegerFormula,
Character>
-
toString
Returns the string representation of the value used to visualize the stack. The representation is not complete.
-