public class PointerType extends DerivedType
| Modifier and Type | Field and Description |
|---|---|
private Type |
oldType
This flag is reset if the type has been generated from
an array or a function type.
|
private Type |
pointeeType |
storageClasses| Constructor and Description |
|---|
PointerType(Type pointeeType) |
PointerType(Type pointeeType,
Type oldType)
Used when an "array of T", or a "function returning T"
is automatically converted to a "pointer to T", or a "pointer to function
returning T", respectively.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getDeclarationSpecifiersString() |
protected java.lang.String |
getDeclaratorString(java.lang.String tempName) |
Type |
getOldType() |
Type |
getPointeeType() |
boolean |
isFromPointer() |
java.lang.String |
toString()
Returns a string of an abstract declaration of this type.
|
getComplexType, getDeclaration, getIntegerPromotedType, getRealType, getType, getTypeDomain, getTypeEntry, getTypeFromArithmeticKeys, getTypeFromScope, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, getTypeTree, hasConstQualifier, isAggregateType, isBasicType, isCharacterType, isComplete, isDerivedDeclaratorType, isKnownConstantSized, isRealType, isScalarType, putTypeToScopeprivate Type pointeeType
private Type oldType
public PointerType(Type pointeeType)
public boolean isFromPointer()
public Type getOldType()
public Type getPointeeType()
protected java.lang.String getDeclarationSpecifiersString()
getDeclarationSpecifiersString in class Typeprotected java.lang.String getDeclaratorString(java.lang.String tempName)
getDeclaratorString in class Type