|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.sym.SymImpl | +--coins.sym.ConstImpl | +--coins.sym.StringConstImpl
StringConstImpl class
フィールドの概要 | |
protected int |
fLength
|
protected java.lang.String |
fStringBody
|
クラス coins.sym.SymImpl から継承したフィールド |
fDbgLevel, fDefinedIn, fFlagBox, fKind, fName, fNextSym, fRecordedIn, fSourceInf, fSymInf, fType, fUniqueNameSym, fWork, machineParam, sourceLanguage, symRoot |
インタフェース coins.sym.Sym から継承したフィールド |
KIND_NAME, VISIBILITY |
コンストラクタの概要 | |
StringConstImpl(SymRoot pSymRoot,
java.lang.String pInternedName)
StringConst constructor. |
メソッドの概要 | |
double |
doubleValue()
doubleValue Get double value of this constant. |
java.lang.Object |
evaluateAsObject()
Get the String object representing this constant. |
int |
getLength()
getLength Get the length (number of bytes) of the string body. |
java.lang.String |
getStringBody()
getStringBody Get the body of string (pure string) excluding quotes, etc., where the pure string is composed of characters excluding escape characters and heading, trailing delimiters. |
long |
longValue()
longValue Get the value of this constant. |
java.lang.String |
makeCstring()
makeCstring Change the string body of this string to C string representation adding heading, trailing quotes and escape characters if required. |
java.lang.String |
makeCstringWithTrailing0()
makeCstringWithTrailing0 Change the string body of this string to C string representation adding heading, trailing quotes and escape characters if required. |
java.lang.String |
makeJavaString()
|
void |
setStringBody(java.lang.String pStringBody)
setStringBody Set the body of the string and its length. |
java.lang.String |
stringValue()
|
java.lang.String |
toString()
Get the string image of object. |
java.lang.String |
toStringDetail()
toStringDetail Get detailed attributes of this symbol in text which is not interned. |
クラス coins.sym.ConstImpl から継承したメソッド |
charValue, floatValue, getConstSym, intValue, shortValue |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
インタフェース coins.sym.Const から継承したメソッド |
charValue, floatValue, getConstSym, intValue, shortValue |
インタフェース 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 |
フィールドの詳細 |
protected java.lang.String fStringBody
protected int fLength
コンストラクタの詳細 |
public StringConstImpl(SymRoot pSymRoot, java.lang.String pInternedName)
メソッドの詳細 |
public long longValue()
Const
の記述: 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, short integer, long integer, or character of either signed or unsigned.
Const
内の longValue
public double doubleValue()
Const
の記述: Get 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.
Const
内の doubleValue
public java.lang.String stringValue()
public java.lang.String getStringBody()
StringConst
の記述: getStringBody Get the body of string (pure string) excluding quotes, etc., where the pure string is composed of characters excluding escape characters and heading, trailing delimiters. If source language is C, heading and trailing quotes and escape characters are removed from the source expression, and trailing 0x00 (0x0000 in case of wchar_t) is also deleted.
StringConst
内の getStringBody
public void setStringBody(java.lang.String pStringBody)
StringConst
の記述:
StringConst
内の setStringBody
pStringBody
- Body of the string.public java.lang.String makeJavaString()
public java.lang.String makeCstring()
StringConst
の記述:
StringConst
内の makeCstring
public java.lang.String makeCstringWithTrailing0()
StringConst
の記述:
StringConst
内の makeCstringWithTrailing0
public int getLength()
StringConst
の記述:
StringConst
内の getLength
public java.lang.String toString()
HasStringObject
の記述:
HasStringObject
内の toString
SymImpl
内の toString
public java.lang.String toStringDetail()
Sym
の記述:
Sym
内の toStringDetail
SymImpl
内の toStringDetail
public java.lang.Object evaluateAsObject()
StringConst
の記述:
StringConst
内の evaluateAsObject
ConstImpl
内の evaluateAsObject
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |