|
||||||||||
| 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.VectorTypeImpl
| Field Summary | |
(package private) int |
fAlignment
|
(package private) int |
fDimension
|
(package private) long |
fElemCount
|
(package private) Exp |
fElemCountExp
|
(package private) Type |
fElemType
|
(package private) long |
fLowerBound
|
(package private) Exp |
fLowerBoundExp
|
| 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 | |
VectorTypeImpl(SymRoot pSymRoot,
java.lang.String pTypeName,
Type pElemType,
long pElemCount)
|
|
VectorTypeImpl(SymRoot pSymRoot,
java.lang.String pTypeName,
Type pElemType,
long pElemCount,
Exp pElemCountExp,
long pLowerBound,
Exp pLowerBoundExp)
VectorTypeImpl General constructor of VectorTypeImpl. |
|
VectorTypeImpl(SymRoot pSymRoot,
Type pElemType,
long pElemCount)
|
|
| Method Summary | |
int |
getAlignment()
getAlignment Get alignment value for this type. |
int |
getDimension()
getDimension Get the dimension of this type. |
long |
getElemCount()
getElemCount Get the number of elements in the vector. |
Exp |
getElemCountExp()
getElemCountExp Get the expression representing the number of elements in the vector. |
Type |
getElemType()
getElemType |
long |
getLowerBound()
getLowerBound |
Exp |
getLowerBoundExp()
getLowerBoundExp |
boolean |
isCompatibleWith(Type pType)
evaluateElemCount Get the characteristics of "this" array type. |
boolean |
isRectangularArray()
isRectangularArray |
void |
setAlignment(int pAlignment)
setAlignment Set alignment value to be equal to the pAlignment which should be greater or equal to the alignment of element type. |
protected void |
setVectorTypeFields(java.lang.String pTypeName,
Type pElemType,
long pElemCount,
Exp pElemCountExp,
long pLowerBound,
Exp pLowerBoundExp)
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface coins.sym.Type |
getAlignmentGap, getCompleteType, getElemList, getElemListString, getFinalOrigin, getOrigin, getPointedType, 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 fElemType
long fElemCount
Exp fElemCountExp
long fLowerBound
Exp fLowerBoundExp
int fDimension
int fAlignment
| Constructor Detail |
public VectorTypeImpl(SymRoot pSymRoot,
java.lang.String pTypeName,
Type pElemType,
long pElemCount)
public VectorTypeImpl(SymRoot pSymRoot,
java.lang.String pTypeName,
Type pElemType,
long pElemCount,
Exp pElemCountExp,
long pLowerBound,
Exp pLowerBoundExp)
public VectorTypeImpl(SymRoot pSymRoot,
Type pElemType,
long pElemCount)
| Method Detail |
protected void setVectorTypeFields(java.lang.String pTypeName,
Type pElemType,
long pElemCount,
Exp pElemCountExp,
long pLowerBound,
Exp pLowerBoundExp)
public int getDimension()
Type
getDimension in interface TypegetDimension in class TypeImplpublic Type getElemType()
VectorType
getElemType in interface VectorTypepublic long getElemCount()
VectorType
getElemCount in interface VectorTypepublic Exp getElemCountExp()
VectorType
getElemCountExp in interface VectorTypepublic long getLowerBound()
VectorType
getLowerBound in interface VectorTypepublic Exp getLowerBoundExp()
VectorType
getLowerBoundExp in interface VectorTypepublic boolean isCompatibleWith(Type pType)
isCompatibleWith in interface TypeisCompatibleWith in class TypeImplpublic boolean isRectangularArray()
VectorType
isRectangularArray in interface VectorTypepublic int getAlignment()
Type
getAlignment in interface TypegetAlignment in class TypeImplpublic void setAlignment(int pAlignment)
VectorType
setAlignment in interface VectorTypepAlignment - alignment value to be set.public java.lang.String toString()
HasStringObject
toString in interface HasStringObjecttoString in class TypeImplpublic java.lang.String toStringDetail()
Sym
toStringDetail in interface SymtoStringDetail in class TypeImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||