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
public static final int t_unspecified
- See Also:
- Constant Field Values
t_void
public static final int t_void
- See Also:
- Constant Field Values
t_char
public static final int t_char
- See Also:
- Constant Field Values
t_int
public static final int t_int
- See Also:
- Constant Field Values
t_float
public static final int t_float
- See Also:
- Constant Field Values
t_double
public static final int t_double
- See Also:
- Constant Field Values
getType
public 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
public IASTExpression getValue()
throws DOMException
- Returns the IASTExpression for the value of this type. May be null.
- Returns:
- IASTExpression or null
- Throws:
DOMException
isSigned
public boolean isSigned()
throws DOMException
- Throws:
DOMException
isUnsigned
public boolean isUnsigned()
throws DOMException
- Throws:
DOMException
isShort
public boolean isShort()
throws DOMException
- Throws:
DOMException
isLong
public boolean isLong()
throws DOMException
- Throws:
DOMException
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.