Package | Description |
---|---|
org.eclipse.cdt.core.dom.ast | |
org.eclipse.cdt.core.dom.ast.c | |
org.eclipse.cdt.core.dom.ast.cpp | |
org.eclipse.cdt.core.dom.ast.gnu.cpp |
Modifier and Type | Interface and Description |
---|---|
interface |
IArrayType |
interface |
IBasicType
Interface for basic types.
|
interface |
ICompositeType
Interface for all composite types: classes, structs or unions.
|
interface |
IEnumeration |
interface |
IFunctionType |
interface |
IPointerType |
interface |
IProblemBinding
Interface for problem bindings.
|
interface |
IProblemType
Represents an type that cannot be determined or is illegal.
|
interface |
IQualifierType
Interface used to qualify types.
|
interface |
ITypedef |
Modifier and Type | Field and Description |
---|---|
static IType[] |
IType.EMPTY_TYPE_ARRAY |
Modifier and Type | Method and Description |
---|---|
IType |
IASTExpression.getExpressionType()
Returns the type of the value the expression evaluates to.
|
IType[] |
IFunctionType.getParameterTypes()
Returns the adjusted parameter types
ISO C99 6.7.5.3, ISO C++98 8.3.4-3
|
IType |
IFunctionType.getReturnType()
Returns the return type of this function type
|
IType |
ITypedef.getType()
Returns the type that this thing is a typedef of.
|
IType |
IVariable.getType()
Returns the type of the variable
|
IType |
IEnumerator.getType()
Returns the type of this enumeration.
|
IType |
IArrayType.getType()
Returns the type that this is an array of.
|
IType |
IPointerType.getType()
Returns the type that this is a pointer to.
|
IType |
IQualifierType.getType()
Returns the type that this is qualifying
|
Modifier and Type | Method and Description |
---|---|
static void |
ASTTypeUtil.appendType(IType type,
boolean normalize,
java.lang.StringBuilder result)
Appends the the result of
ASTTypeUtil.getType(IType, boolean) to the given buffer. |
static java.lang.String |
ASTTypeUtil.getType(IType type)
Returns the normalized string representation of the type.
|
static java.lang.String |
ASTTypeUtil.getType(IType type,
boolean normalize)
Returns a string representation of a type.
|
static java.lang.String |
ASTTypeUtil.getTypeListString(IType[] types)
Returns a string representation for the type array.
|
static java.lang.String |
ASTTypeUtil.getTypeListString(IType[] types,
boolean normalize)
Returns a String representation of the type array as a
comma-separated list.
|
static boolean |
ASTTypeUtil.isConst(IType type)
Deprecated.
don't use it does something strange
|
boolean |
IType.isSameType(IType type)
Test whether this type is the same as the given one.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ICArrayType |
interface |
ICBasicType |
interface |
ICPointerType |
interface |
ICQualifierType |
Modifier and Type | Interface and Description |
---|---|
interface |
ICPPAliasTemplate
Represents an alias template (14.5.7).
|
interface |
ICPPAliasTemplateInstance
Represents an instance of an alias template (14.5.7).
|
interface |
ICPPBasicType |
interface |
ICPPClassSpecialization
Specializations of all sorts of class types.
|
interface |
ICPPClassTemplate |
interface |
ICPPClassTemplatePartialSpecialization
This interface represents a class template partial specialization.
|
interface |
ICPPClassTemplatePartialSpecializationSpecialization
Interface for specializations of partial specializations.
|
interface |
ICPPClassType
Represents a C++ class.
|
interface |
ICPPEnumeration
C++ specific version of enumerations.
|
interface |
ICPPEnumerationSpecialization |
interface |
ICPPFunctionType |
interface |
ICPPParameterPackType
A parameter pack is not actually a type, however we model it as such in order
to be able to represent function-types that contain parameter packs.
|
interface |
ICPPPointerToMemberType |
interface |
ICPPReferenceType |
interface |
ICPPTemplateTemplateParameter
Template parameters of type template.
|
interface |
ICPPTemplateTypeParameter |
interface |
ICPPTypeSpecialization
A common interface for ICPPClassSpecialization and ICPPEnumerationSpecialization.
|
interface |
ICPPUnaryTypeTransformation
A type used to represent the result of applying an unary
type transformation operator like __underlying_type(T).
|
Modifier and Type | Method and Description |
---|---|
IType |
ICPPBase.getBaseClassType()
The base class.
|
IType |
ICPPTemplateTemplateParameter.getDefault()
Returns the default value for this parameter, or
null . |
IType |
ICPPTemplateTypeParameter.getDefault()
The default type for this parameter.
|
IType[] |
ICPPFunction.getExceptionSpecification()
Returns the exception specification for this function or
null if there
is no exception specification. |
IType[] |
ICPPMethodSpecialization.getExceptionSpecification(IASTNode point)
Similar to
ICPPFunction.getExceptionSpecification() but a accepts a starting point
for template instantiation. |
IType |
ICPPASTFieldReference.getFieldOwnerType()
Returns the type of the field owner.
|
IType |
ICPPEnumeration.getFixedType()
Returns the underlying type of the enumeration if it is fixed, or
null otherwise. |
IType |
ICPPPointerToMemberType.getMemberOfClass()
Returns the class to whose members this points to.
|
IType |
ICPPUnaryTypeTransformation.getOperand()
Returns the type to which the type transformation operator is being applied.
|
IType |
ICPPTemplateArgument.getOriginalTypeValue()
Similar to
ICPPTemplateArgument.getTypeValue() but returns the original type value before typedef
resolution. |
IType |
ICPPAliasTemplate.getType()
Returns the aliased type.
|
IType |
ICPPReferenceType.getType()
Returns the type that this is a reference of.
|
IType |
ICPPMember.getType()
Returns the type of the member (function type or type of field)
|
IType |
ICPPParameterPackType.getType()
Returns the pattern for the pack-expansion
|
IType |
ICPPTemplateArgument.getTypeOfNonTypeValue()
If this is a non-type value (suitable for a template non-type parameter),
the type of the value is returned.
|
IType |
ICPPTemplateArgument.getTypeValue()
If this is a type value (suitable for a template type and template template parameters),
the type used as a value is returned.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ICPPTemplateTemplateParameter.isSameType(IType type)
Types containing template parameters need to be compared even before it is known to which
binding the template parameter belongs to.
|
boolean |
ICPPTemplateTypeParameter.isSameType(IType type)
Types containing template parameters need to be compared even before it is known to which
binding the template parameter belongs to.
|
void |
ICPPBase.setBaseClass(IType baseClass)
Used internally to change cloned bases.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IGPPBasicType
Deprecated.
use
ICPPBasicType , instead. |
interface |
IGPPPointerToMemberType
Deprecated.
Use
ICPPPointerToMemberType , instead. |
interface |
IGPPPointerType
Deprecated.
Use
IPointerType , instead. |
interface |
IGPPQualifierType |
Modifier and Type | Method and Description |
---|---|
IType |
IGPPBasicType.getTypeofType()
Deprecated.
don't use this method.
|
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.