|
||||||||||
| 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.CharConstImpl
CharConstImpl class
| Field Summary | |
protected char |
fCharValue
char 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 | |
CharConstImpl(SymRoot pSymRoot,
char pChar,
Type pType)
|
|
CharConstImpl(SymRoot pSymRoot,
java.lang.String pSingleCharString,
Type pType)
|
|
| Method Summary | |
char |
charValue()
charValue Get the value of this constant. |
double |
doubleValue()
doubleValue |
int |
intValue()
intValue Get the value of this constant as an integer number. |
long |
longValue()
longValue Get the value of this constant as a long integer number. |
java.lang.String |
toString()
Get the string image of object. |
| Methods inherited from class coins.sym.ConstImpl |
evaluateAsObject, floatValue, getConstSym, 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 |
evaluateAsObject, floatValue, getConstSym, 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 char fCharValue
| Constructor Detail |
public CharConstImpl(SymRoot pSymRoot,
java.lang.String pSingleCharString,
Type pType)
public CharConstImpl(SymRoot pSymRoot,
char pChar,
Type pType)
| Method Detail |
public int intValue()
intValue Get the value of this constant as an integer number.
intValue in interface CharConstintValue in class ConstImplpublic long longValue()
longValue Get the value of this constant as a long integer number.
longValue in interface Constpublic char charValue()
charValue 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 char.
charValue in interface ConstcharValue in class ConstImplpublic 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 java.lang.String toString()
HasStringObject
toString in interface HasStringObjecttoString in class SymImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||