public interface IBasicType extends IType
Modifier and Type | Interface and Description |
---|---|
static class |
IBasicType.Kind |
Modifier and Type | Field and Description |
---|---|
static int |
IS_COMPLEX |
static int |
IS_IMAGINARY |
static int |
IS_LONG |
static int |
IS_LONG_LONG |
static int |
IS_SHORT |
static int |
IS_SIGNED |
static int |
IS_UNSIGNED |
static int |
t_char
Deprecated.
Use the type-safe version getKind(), instead.
|
static int |
t_double
Deprecated.
Use the type-safe version getKind(), instead.
|
static int |
t_float
Deprecated.
Use the type-safe version getKind(), instead.
|
static int |
t_int
Deprecated.
Use the type-safe version getKind(), instead.
|
static int |
t_unspecified
Deprecated.
Use the type-safe version getKind(), instead.
|
static int |
t_void
Deprecated.
Use the type-safe version getKind(), instead.
|
EMPTY_TYPE_ARRAY, TYPE_MATCHER
Modifier and Type | Method and Description |
---|---|
IBasicType.Kind |
getKind()
This returns the kind of basic type you are looking at.
|
int |
getModifiers()
This returns the combination of modifier bits for this type.
|
int |
getType()
Deprecated.
Use the type-safe version getKind(), instead.
|
IASTExpression |
getValue()
Deprecated.
Types don't have values.
|
boolean |
isComplex()
Is complex number?
|
boolean |
isImaginary()
Is imaginary number?
|
boolean |
isLong() |
boolean |
isLongLong() |
boolean |
isShort() |
boolean |
isSigned() |
boolean |
isUnsigned() |
clone, isSameType
static final int IS_LONG
static final int IS_SHORT
static final int IS_SIGNED
static final int IS_UNSIGNED
static final int IS_COMPLEX
static final int IS_IMAGINARY
static final int IS_LONG_LONG
@Deprecated static final int t_unspecified
@Deprecated static final int t_void
@Deprecated static final int t_char
@Deprecated static final int t_int
@Deprecated static final int t_float
@Deprecated static final int t_double
IBasicType.Kind getKind()
int getModifiers()
boolean isSigned()
boolean isUnsigned()
boolean isShort()
boolean isLong()
boolean isLongLong()
boolean isComplex()
boolean isImaginary()
@Deprecated int getType() throws DOMException
DOMException
@Deprecated IASTExpression getValue() throws DOMException
DOMException
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.