|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jml2b.util.Profiler jml2b.pog.substitution.SubArrayElementSingle
This class corresponds to the substitution of xxxelements
with a
xxxelements <+ {f |-> xxxelements(f) <+ {i |-> v}}
.
Field Summary |
Fields inherited from interface jml2b.pog.substitution.Substitution |
ARRAY_ELEMENT, ARRAY_ELEMENT_SINGLE, ARRAY_LENGTH, FORM, INSTANCES_SET, INSTANCES_SINGLE, MEMBER_FIELD, TMP_VAR, TYPEOF_SET, TYPEOF_SINGLE |
Constructor Summary | |
SubArrayElementSingle(ElementsForm e,
Formula a,
Formula i,
Formula v)
Constructs a substitution |
Method Summary | |
java.lang.Object |
clone()
Clones the substitution. |
void |
save(IJml2bConfiguration config,
JpoOutputStream s,
IJmlFile jf)
Saves the substitution in a .jpo file |
Formula |
sub(Formula f)
Apply the current substitution on a formula. |
void |
sub(Substitution s)
Apply a substitution on the current substitution. |
Methods inherited from class jml2b.util.Profiler |
runGC |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SubArrayElementSingle(ElementsForm e, Formula a, Formula i, Formula v)
e
- The xxxelements
variableMethod Detail |
public java.lang.Object clone()
Substitution
clone
in interface Substitution
public Formula sub(Formula f)
Substitution
sub
in interface Substitution
f
- The formula on which the substitution is applied
public void sub(Substitution s)
Substitution
sub
in interface Substitution
s
- The substitution to appliedpublic void save(IJml2bConfiguration config, JpoOutputStream s, IJmlFile jf) throws java.io.IOException
Substitution
save
in interface Substitution
config
- s
- output stream for the jpo filejf
-
java.io.IOException
jml2b.pog.NonObviousGoal#save(DataOutputStream, JmlFile, IJmlFile)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |