public static final class AuxiliaryContractBuilders.UpdatesBuilder extends TermBuilder
Modifier and Type | Field and Description |
---|---|
private AuxiliaryContract.Variables |
variables |
services, WD_ANY, WD_FORMULA
Constructor and Description |
---|
UpdatesBuilder(AuxiliaryContract.Variables variables,
Services services) |
Modifier and Type | Method and Description |
---|---|
Term |
buildAnonInUpdate(java.util.Map<LocationVariable,Function> anonymisationHeaps) |
Term |
buildAnonOutUpdate(java.util.Map<LocationVariable,Function> anonymisationHeaps,
java.util.Map<LocationVariable,Term> modifiesClauses) |
Term |
buildAnonOutUpdate(ProgramElement el,
java.util.Map<LocationVariable,Function> anonymisationHeaps,
java.util.Map<LocationVariable,Term> modifiesClauses) |
Term |
buildAnonOutUpdate(ProgramElement el,
java.util.Map<LocationVariable,Function> anonymisationHeaps,
java.util.Map<LocationVariable,Term> modifiesClauses,
java.lang.String prefix) |
Term |
buildAnonOutUpdate(java.util.Set<LocationVariable> vars,
java.util.Map<LocationVariable,Function> anonymisationHeaps,
java.util.Map<LocationVariable,Term> modifiesClauses,
java.lang.String prefix) |
private Term |
buildLocalVariablesAnonUpdate(java.util.Collection<LocationVariable> vars,
java.lang.String prefix) |
Term |
buildOuterRemembranceUpdate() |
Term |
buildRemembranceUpdate(java.util.List<LocationVariable> heaps) |
acc, add, addLabel, addLabel, all, all, allClose, allFields, allLocs, allObjects, and, and, and, andPreserveLabels, andPreserveLabels, andSC, andSC, andSC, anon, anonUpd, apply, apply, apply, applyElementary, applyElementary, applyElementary, applyParallel, applyParallel, applyParallel, applySequential, applySequential, applyUpdatePairsSequential, arr, arrayRange, arrayStore, box, bprod, bsum, cast, classErroneous, classInitializationInProgress, classInitialized, classPrepared, convertToBoolean, convertToFormula, create, created, created, createdInHeap, createdLocs, cTerm, deepNonNull, dia, disjoint, dot, dot, dot, dotArr, dotLength, elementary, elementary, elementOf, empty, equals, ex, ex, exactInstance, excVar, excVar, FALSE, ff, fieldStore, forallHeaps, frame, frameStrictlyEmpty, freshLocs, func, func, func, func, func, func, geq, getBaseHeap, getMeasuredByEmpty, getSorts, goBelowUpdates, goBelowUpdates2, gt, heapAtPreVar, heapAtPreVar, ife, ifEx, ifEx, imp, imp, impPreserveLabels, inByte, inChar, index, indexOf, infiniteUnion, infiniteUnion, inInt, initialized, inLong, inShort, instance, intersect, intersect, intersect, inv, inv, label, label, leq, lt, max, measuredBy, measuredByCheck, measuredByEmpty, min, newName, newName, newName, not, notPreserveLabels, NULL, one, open, or, or, or, orPreserveLabels, orPreserveLabels, orSC, orSC, orSC, pair, parallel, parallel, parallel, parallel, parallel, paramVars, paramVars, parseTerm, parseTerm, permissionsFor, permissionsFor, prec, prod, prog, prog, reach, reachableValue, reachableValue, reachableValue, resultVar, resultVar, select, select, selfVar, selfVar, selfVar, selfVar, seq, seq, seqConcat, seqDef, seqEmpty, seqGet, seqLen, seqReverse, seqSingleton, seqSub, sequential, sequential, sequential, setComprehension, setComprehension, setMinus, shortBaseName, shortcut, singleton, skip, staticDot, staticDot, staticFieldStore, staticInv, staticInv, store, strictlyNothing, subset, subst, subst, sum, tf, TRUE, tt, union, union, union, unionToSet, unlabel, unlabelRecursive, values, var, var, var, var, var, var, wd, wd, wd, wellFormed, wellFormed, zero, zTerm, zTerm
private final AuxiliaryContract.Variables variables
AuxiliaryContract.getVariables()
public UpdatesBuilder(AuxiliaryContract.Variables variables, Services services)
variables
- the variables for the contract being applied.services
- services.public Term buildRemembranceUpdate(java.util.List<LocationVariable> heaps)
heaps
- the heaps.public Term buildOuterRemembranceUpdate()
public Term buildAnonOutUpdate(java.util.Map<LocationVariable,Function> anonymisationHeaps, java.util.Map<LocationVariable,Term> modifiesClauses)
anonymisationHeaps
- anonymization heaps.modifiesClauses
- modifies clauses for the specified heaps.public Term buildAnonOutUpdate(ProgramElement el, java.util.Map<LocationVariable,Function> anonymisationHeaps, java.util.Map<LocationVariable,Term> modifiesClauses)
el
- a program elementanonymisationHeaps
- anonymization heaps.modifiesClauses
- modifies clauses for the specified heaps.public Term buildAnonOutUpdate(ProgramElement el, java.util.Map<LocationVariable,Function> anonymisationHeaps, java.util.Map<LocationVariable,Term> modifiesClauses, java.lang.String prefix)
el
- a program elementanonymisationHeaps
- anonymization heaps.modifiesClauses
- modifies clauses for the specified heaps.prefix
- a prefix for the name of the anon functions.public Term buildAnonOutUpdate(java.util.Set<LocationVariable> vars, java.util.Map<LocationVariable,Function> anonymisationHeaps, java.util.Map<LocationVariable,Term> modifiesClauses, java.lang.String prefix)
vars
- a set of variablesanonymisationHeaps
- anonymization heaps.modifiesClauses
- modifies clauses for the specified heaps.prefix
- a prefix for the name of the anon functions.public Term buildAnonInUpdate(java.util.Map<LocationVariable,Function> anonymisationHeaps)
anonymisationHeaps
- anonymization heaps.private Term buildLocalVariablesAnonUpdate(java.util.Collection<LocationVariable> vars, java.lang.String prefix)
vars
- a collection of variables.prefix
- a prefix for the name of the anonymization constants.