|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--coins.sym.SymImpl
|
+--coins.sym.ConstImpl
Constant class
| フィールドの概要 |
| クラス coins.sym.SymImpl から継承したフィールド |
fDbgLevel, fDefinedIn, fFlagBox, fKind, fName, fNextSym, fRecordedIn, fSourceInf, fSymInf, fType, fUniqueNameSym, fWork, machineParam, sourceLanguage, symRoot |
| インタフェース coins.sym.Sym から継承したフィールド |
KIND_NAME, VISIBILITY |
| コンストラクタの概要 | |
ConstImpl(SymRoot pSymRoot)
|
|
| メソッドの概要 | |
char |
charValue()
charValue Get the value of this constant. |
java.lang.Object |
evaluateAsObject()
Get the value of this constant symbol. |
float |
floatValue()
floatValue Get floating/double value of this constant. |
Const |
getConstSym()
getConstSym If 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. |
int |
intValue()
intValue Get the value of this constant. |
short |
shortValue()
shortValue Get the value of this constant. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| インタフェース coins.sym.Const から継承したメソッド |
doubleValue, longValue |
| インタフェース 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 |
| コンストラクタの詳細 |
public ConstImpl(SymRoot pSymRoot)
| メソッドの詳細 |
public int intValue()
intValue 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.
Const 内の intValuepublic short shortValue()
Const の記述:
Const 内の shortValuepublic 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.
Const 内の charValuepublic float floatValue()
floatValue Get floating/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. floatValue return the float value of this constant. doubleValue return the double value of this constant.
Const 内の floatValuepublic Const getConstSym()
Const の記述:
Const 内の getConstSympublic java.lang.Object evaluateAsObject()
Const 内の evaluateAsObject
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||