|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jml2b.util.Profiler jml2b.formula.Formula jml2b.formula.TerminalForm jml2b.formula.ElementsForm
This class implements terminal formulas that correspond to variables
xxxelements_n, where xxx can be int, short, byte, boolean, char ou ref and n
is a natural number. The token associated with those formulas is
Ja_IDENT
Field Summary | |
static ElementsForm |
booleanelements
The formula booleanelements_n . |
static ElementsForm |
byteelements
The formula byteelements_n . |
static ElementsForm |
charelements
The formula charelements_n . |
static ElementsForm[] |
elements
Array of all xxxelements_n formulas. |
static int[] |
elementsType
Array of type corresponding to each xxxelements_n formula. |
static ElementsForm |
intelements
The formula intelements_n . |
static ElementsForm |
refelements
The formula refelements_n . |
static ElementsForm |
shortelements
The formula shortelements_n . |
Fields inherited from class jml2b.formula.TerminalForm |
arraylength, elemtype, instances, j_int2byte, j_int2char, j_int2short, REFERENCES, typeof |
Constructor Summary | |
ElementsForm(ElementsForm e)
|
Method Summary | |
static void |
clearSuffix()
Resets all the suffix of the xxxelements_n formula to 0. |
static ElementsForm |
getElementsName(Type t)
Returns the xxxelements_n formula corresponding to a type. |
Formula |
getType()
Returns the B type of the formula. |
void |
save(IJml2bConfiguration config,
IOutputStream s,
IJmlFile jf)
Saves the formula in a .jpo file |
Methods inherited from class jml2b.formula.TerminalForm |
clone, contains, equals, garbageIdent, getArraylength, getBasicType, getFields, getIdent, getNodeText, getNonAmbiguousName, instancie, is, isObvious, processIdent, setBox, sub, subIdent, suppressSpecialOld, toExp |
Methods inherited from class jml2b.formula.Formula |
and, create, declarField, domainRestrict, getFalse, getNodeType, getNull, implies, indent, isBFalse, matchAEqualsNull, not, oldParam, or, renameParam, sub, toJava, toLang, toVector |
Methods inherited from class jml2b.util.Profiler |
runGC |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static ElementsForm intelements
intelements_n
.
public static ElementsForm shortelements
shortelements_n
.
public static ElementsForm byteelements
byteelements_n
.
public static ElementsForm booleanelements
booleanelements_n
.
public static ElementsForm charelements
charelements_n
.
public static ElementsForm refelements
refelements_n
.
public static ElementsForm[] elements
public static int[] elementsType
Constructor Detail |
public ElementsForm(ElementsForm e)
Method Detail |
public static void clearSuffix()
public static ElementsForm getElementsName(Type t)
t
- The type of the elements of the searched array
public void save(IJml2bConfiguration config, IOutputStream s, IJmlFile jf) throws java.io.IOException
Formula
save
in class TerminalForm
java.io.IOException
public Formula getType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |