|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.sym.SymImpl
coins.sym.ConstImpl
coins.sym.BoolConstImpl
BoolConstImpl class
| Field Summary | |
protected boolean |
fBooleanValue
boolean value. |
| Fields inherited from class coins.sym.SymImpl |
fDbgLevel, fDefinedIn, fFlagBox, fKind, fName, fNextSym, fRecordedIn, fSourceInf, fSymInf, fType, fUniqueNameSym, fWork, machineParam, sourceLanguage, symRoot |
| Fields inherited from interface coins.sym.Sym |
KIND_NAME, VISIBILITY |
| Constructor Summary | |
BoolConstImpl(SymRoot pSymRoot,
boolean pTrueFalse)
|
|
BoolConstImpl(SymRoot pSymRoot,
java.lang.String pInternedName)
|
|
| Method Summary | |
double |
doubleValue()
doubleValue |
Const |
getConstSym()
getConstSym |
long |
longValue()
longValue Get the value of this constant. |
java.lang.String |
toStringDetail()
toStringDetail Get detailed attributes of this symbol in text which is not interned. |
| Methods inherited from class coins.sym.ConstImpl |
charValue, evaluateAsObject, floatValue, intValue, shortValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface coins.sym.Const |
charValue, evaluateAsObject, floatValue, intValue, 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 |
| Field Detail |
protected boolean fBooleanValue
| Constructor Detail |
public BoolConstImpl(SymRoot pSymRoot,
java.lang.String pInternedName)
public BoolConstImpl(SymRoot pSymRoot,
boolean pTrueFalse)
| Method Detail |
public long longValue()
longValue Get the value of this constant. If type conversion is required, the returned value is the result of conversion. "this" should be a constant of type integer.
longValue in interface Constpublic double doubleValue()
ConstGet double value of this constant. If type conversion is required, the returned value is the result of conversion. "this" should be a constant of type float, or double.
doubleValue in interface Constpublic Const getConstSym()
ConstIf boolean true then return symRoot.intConst1 else if boolean false then return symRoot.intConst0 else if enumeration constant then return corresponding IntConst else return this.
getConstSym in interface ConstgetConstSym in class ConstImplpublic java.lang.String toStringDetail()
Sym
toStringDetail in interface SymtoStringDetail in class SymImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||