|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.sym.SymImpl
coins.sym.TypeImpl
coins.sym.PointerTypeImpl
PointerTypeImpl Class
| Field Summary | |
(package private) long |
fElemCount
Element count if this pointer is declared as an array. |
(package private) long |
fLowerBound
Lower bound of array subscript if this pointer is declared as an array. |
(package private) Type |
fPointedType
Type of pointed object. |
| Fields inherited from class coins.sym.TypeImpl |
fCompleteType, fConst, fOrigin, fRestrict, fTypeCore, fTypeKind, fVolatile |
| 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.Type |
KIND_ADDRESS, KIND_ALIGNMENT, KIND_BASE_LIM, KIND_BOOL, KIND_CHAR, KIND_DEFINED, KIND_DOUBLE, KIND_ENUM, KIND_FLOAT, KIND_FLOAT_LOWER_LIM, KIND_FLOAT_UPPER_LIM, KIND_INT, KIND_INT_UPPER_LIM, KIND_LONG, KIND_LONG_DOUBLE, KIND_LONG_LONG, KIND_OFFSET, KIND_POINTER, KIND_RANKS, KIND_REGION, KIND_SHORT, KIND_STRING, KIND_STRUCT, KIND_SUBP, KIND_U_CHAR, KIND_U_INT, KIND_U_LONG, KIND_U_LONG_LONG, KIND_U_SHORT, KIND_UNDEF, KIND_UNION, KIND_UNSIGNED_LOWER_LIM, KIND_VECTOR, KIND_VOID, KIND_WCHAR |
| Fields inherited from interface coins.sym.Sym |
KIND_NAME, VISIBILITY |
| Constructor Summary | |
PointerTypeImpl(SymRoot pSymRoot,
java.lang.String pTypeName,
Type pPointedType)
|
|
PointerTypeImpl(SymRoot pSymRoot,
Type pPointedType)
|
|
PointerTypeImpl(SymRoot pSymRoot,
Type pPointedType,
long pElemCount,
long pLowerBound)
|
|
| Method Summary | |
long |
getElemCount()
getElemCount |
long |
getLowerBound()
getLowerBound |
Type |
getPointedType()
getPointedType Get the pointed type of this pointer type. |
boolean |
isCompatibleWith(Type pType)
isCompatibleWith The origin type of this type and pType are compared to be equal or not. |
boolean |
isDeclaredAsArray()
isDeclaredAsArray Test if this pointer type is declared as a popinter representing an array (as it is done in C language). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface coins.sym.Type |
getAlignment, getAlignmentGap, getCompleteType, getDimension, getElemList, getElemListString, getFinalOrigin, getOrigin, getSizeExp, getSizeValue, getTypeKind, getTypeRank, getUnqualifiedType, isBasicType, isConst, isFloating, isInteger, isRestrict, isScalar, isSizeEvaluable, isUnsigned, isVolatile, makeConstType, makeRestrictType, makeVolatileType, setOrigin, setSizeExp, setSizeValue |
| 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 |
Type fPointedType
long fElemCount
long fLowerBound
| Constructor Detail |
public PointerTypeImpl(SymRoot pSymRoot,
java.lang.String pTypeName,
Type pPointedType)
public PointerTypeImpl(SymRoot pSymRoot,
Type pPointedType)
public PointerTypeImpl(SymRoot pSymRoot,
Type pPointedType,
long pElemCount,
long pLowerBound)
| Method Detail |
public Type getPointedType()
getPointedType in interface PointerTypegetPointedType in class TypeImplpublic boolean isCompatibleWith(Type pType)
Type
isCompatibleWith in interface TypeisCompatibleWith in class TypeImplpublic boolean isDeclaredAsArray()
PointerType
isDeclaredAsArray in interface PointerTypepublic long getElemCount()
PointerType
getElemCount in interface PointerTypepublic long getLowerBound()
PointerType
getLowerBound in interface PointerType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||