Type

Undocumented in source.

Constructors

this
this(Type type)
Undocumented in source.
this
this(Cursor c, CXType cx)
Undocumented in source.

Members

Functions

isSigned
bool isSigned()

Return: if CXType is a signed type.

opEquals
equals_t opEquals(Type type_)

Determine whether two CXTypes represent the same type.

Mixins

__anonymous
mixin CX
Undocumented in source.

Properties

array
ArrayType array [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
canonicalType
Type canonicalType [@property getter]

Return the canonical type for a CXType.

declaration
Cursor declaration [@property getter]

Return: the cursor for the declaration of the given type.

elaboratedType
Type elaboratedType [@property getter]

Retrieve the type named by the qualified-id.

func
FuncType func [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isAnonymous
bool isAnonymous [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isArray
bool isArray [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isConst
bool isConst [@property getter]

Determine whether a CXType has the "const" qualifier set, without looking through aliases that may have added "const" at a different level.

isEnum
bool isEnum [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isExposed
bool isExposed [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isFunctionPointerType
bool isFunctionPointerType [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isFunctionType
bool isFunctionType [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isObjCBuiltinType
bool isObjCBuiltinType [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isObjCClassType
bool isObjCClassType [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isObjCIdType
bool isObjCIdType [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isObjCSelType
bool isObjCSelType [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isPOD
bool isPOD [@property getter]

Return: if CXType is a POD (plain old data)

isPointer
bool isPointer [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isRestrict
bool isRestrict [@property getter]

Determine whether a CXType has the "restrict" qualifier set, without looking through aliases that may have added "restrict" at a different level.

isTypedef
bool isTypedef [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool isValid [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isVolatile
bool isVolatile [@property getter]

Determine whether a CXType has the "volatile" qualifier set, without looking through aliases that may have added "volatile" at a different level.

isWideCharType
bool isWideCharType [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pointeeType
Type pointeeType [@property getter]

For pointer types, returns the type of the pointee.

spelling
string spelling [@property getter]

Pretty-print the underlying type using the rules of the language of the translation unit from which it came.

typeKindSpelling
string typeKindSpelling [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

cursor
Cursor cursor;
Undocumented in source.

Mixed In Members

From mixin CX

cx
CType cx;
Undocumented in source.
dispose
void dispose()

Trusted: on the assumption that dispose as implemented by the LLVM community is good _enough_. Any bugs should by now have been found.

isValid
bool isValid [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta