| Constructor and Description |
|---|
PointerType(SizeThunk size,
Type targetType,
int cvAttributes) |
| Modifier and Type | Method and Description |
|---|---|
PointerType |
asPointer()
Casts this to a PointerType or returns null if not a PointerType.
|
boolean |
equals(Object arg)
Equality test for Types.
|
Type |
getLastTargetType() |
String |
getName(boolean includeCVAttrs)
Returns the name of this type, optionally including
const/volatile attributes.
|
Type |
getTargetType() |
int |
hashCode()
Hashcode for Types.
|
boolean |
hasTypedefedName() |
boolean |
isFunctionPointer()
Convenience routine indicating whether this Type is a pointer to
a function.
|
void |
setName(String name)
Set the name of this type; used for handling typedefs.
|
String |
toString()
Returns a string representation of this type.
|
String |
toString(String functionName,
String callingConvention)
For use only when printing function pointers.
|
void |
visit(TypeVisitor arg)
Visit this type and all of the component types of this one; for
example, the return type and argument types of a FunctionType.
|
arrayDimension, asArray, asBit, asCompound, asDouble, asEnum, asFloat, asFunction, asInt, asVoid, clone, getCVAttributes, getCVAttributesString, getCVVariant, getName, getSize, getSize, hasTypedefName, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isInt, isPointer, isPrimitive, isVoid, isVolatile, pointerDepthpublic int hashCode()
Typepublic boolean equals(Object arg)
Typepublic void setName(String name)
Typepublic String getName(boolean includeCVAttrs)
Typepublic boolean hasTypedefedName()
public PointerType asPointer()
Typepublic Type getTargetType()
public Type getLastTargetType()
public boolean isFunctionPointer()
TypeisFunctionPointer in class Typepublic String toString()
Typepublic String toString(String functionName, String callingConvention)
public void visit(TypeVisitor arg)
Type