org.eclipse.cdt.core.dom.ast
Interface IBasicType
- All Superinterfaces:
- Cloneable, IType
- All Known Subinterfaces:
- ICBasicType, ICPPBasicType, IGPPBasicType
public interface IBasicType
- extends IType
t_unspecified
static final int t_unspecified
- See Also:
- Constant Field Values
t_void
static final int t_void
- See Also:
- Constant Field Values
t_char
static final int t_char
- See Also:
- Constant Field Values
t_int
static final int t_int
- See Also:
- Constant Field Values
t_float
static final int t_float
- See Also:
- Constant Field Values
t_double
static final int t_double
- See Also:
- Constant Field Values
getType
int getType()
throws DOMException
- This returns the built-in type for the declaration. The type is
then refined by qualifiers for signed/unsigned and short/long.
The type could also be unspecified which usually means int.
- Returns:
-
- Throws:
DOMException
getValue
IASTExpression getValue()
throws DOMException
- Returns the IASTExpression for the value of this type. May be null.
- Returns:
- IASTExpression or null
- Throws:
DOMException
isSigned
boolean isSigned()
throws DOMException
- Throws:
DOMException
isUnsigned
boolean isUnsigned()
throws DOMException
- Throws:
DOMException
isShort
boolean isShort()
throws DOMException
- Throws:
DOMException
isLong
boolean isLong()
throws DOMException
- Throws:
DOMException
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.