|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface describes a substitution.
Let a, b, c be formulas, a
substitution can be the substitution of:
a
arraylength by a
a
instances by instances \/ a
instances by instances \/ {a}
a
typeof by typeof <+ a * {b}
typeof by typeof <+ a |-> b
a <+ { b |-> c }
| Field Summary | |
static byte |
ARRAY_ELEMENT
Substitution type corresponding to the substitution of an xxxelements by a |
static byte |
ARRAY_ELEMENT_SINGLE
|
static byte |
ARRAY_LENGTH
Substitution type corresponding to the substitution of arraylength by a |
static byte |
FORM
Substitution type corresponding to the substitution of a formula by a |
static byte |
INSTANCES_SET
Substitution type corresponding to the substitution of instances by instances \/ a |
static byte |
INSTANCES_SINGLE
Substitution type corresponding to the substitution of instances by instances \/ {a} |
static byte |
MEMBER_FIELD
Substitution type corresponding to the substitution of a member field by a <+ { b |-> c } |
static byte |
TMP_VAR
Substitution type corresponding to the substitution of a temporary variable by a |
static byte |
TYPEOF_SET
Substitution type corresponding to the substitution of typeof by typeof <+ a * {b} |
static byte |
TYPEOF_SINGLE
Substitution type corresponding to the substitution of typeof by typeof <+ a |-> b |
| 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. |
| Field Detail |
public static final byte ARRAY_ELEMENT
a
public static final byte ARRAY_LENGTH
arraylength by a
public static final byte FORM
a
public static final byte INSTANCES_SET
instances by instances \/ a
public static final byte INSTANCES_SINGLE
instances by instances \/ {a}
public static final byte TMP_VAR
a
public static final byte TYPEOF_SET
typeof by typeof <+ a * {b}
public static final byte TYPEOF_SINGLE
typeof by typeof <+ a |-> b
public static final byte MEMBER_FIELD
a <+ { b |-> c }
public static final byte ARRAY_ELEMENT_SINGLE
| Method Detail |
public java.lang.Object clone()
public Formula sub(Formula f)
f - The formula on which the substitution is applied
public void sub(Substitution s)
s - The substitution to applied
public void save(IJml2bConfiguration config,
JpoOutputStream s,
IJmlFile jf)
throws java.io.IOException
config - s - output stream for the jpo filejf -
java.io.IOExceptionjml2b.pog.NonObviousGoal#save(DataOutputStream, JmlFile, IJmlFile)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||