|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
FloatConst interface Const (constant) class interface. A constant in source program is recorded as a Const instance by using its character string representation as its name. There are access methods to get the value of constants and to record a constant giving its value. Constants are usually represented by symbol table instance in order to represent attributes attached to them. Subclasses of Const is not so fine as type, foe example, int, short, long, unsigned int, unsigned short, unsigned long all belongs to IntConst. To see the type of Const object, use getSymType() of SymInterface.
| Field Summary |
| Fields inherited from interface coins.sym.Sym |
KIND_NAME, VISIBILITY |
| Method Summary | |
java.lang.Object |
evaluateAsObject()
Evaluate as a Double object (not as a binary floating point number). |
| Methods inherited from interface coins.sym.Const |
charValue, doubleValue, floatValue, getConstSym, intValue, longValue, shortValue |
| Methods inherited from interface coins.sym.Sym0 |
charConst, definedType, defineElem, defineLabel, defineParam, defineSubp, defineVar, enumType, floatConst, getDefinedFile, getDefinedIn, getFlag, getName, getNextSym, getRecordedIn, getSymKind, getSymType, getUniqueName, intConst, isGlobal, namedConst, pointerType, setFlag, stringConst, structType, subpType, unionType, vectorType, vectorTypeUnfixed |
| Method Detail |
public java.lang.Object evaluateAsObject()
evaluateAsObject in interface Const
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||