|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICASTSimpleDeclSpecifier
This interface represents a built-in type in C.
Field Summary | |
---|---|
static int |
t_Bool
t_Bool boolean. e.g. |
static int |
t_last
t_last is defined for sub-interfaces. |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTSimpleDeclSpecifier |
---|
t_char, t_double, t_float, t_int, t_unspecified, t_void |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier |
---|
sc_auto, sc_extern, sc_last, sc_register, sc_static, sc_typedef, sc_unspecified |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier |
---|
sc_auto, sc_extern, sc_last, sc_register, sc_static, sc_typedef, sc_unspecified |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Method Summary | |
---|---|
ICASTSimpleDeclSpecifier |
copy()
Returns a mutable copy of the tree rooted at this node. |
boolean |
isComplex()
Is complex number? |
boolean |
isImaginary()
Is imaginary number? |
boolean |
isLongLong()
Is long long? |
void |
setComplex(boolean value)
Set the number to be complex. |
void |
setImaginary(boolean value)
Set the number to be imaginary. |
void |
setLongLong(boolean value)
Set long long to be 'value'. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTSimpleDeclSpecifier |
---|
getType, isLong, isShort, isSigned, isUnsigned, setLong, setShort, setSigned, setType, setUnsigned |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier |
---|
getStorageClass, isConst, isInline, isVolatile, setConst, setInline, setStorageClass, setVolatile |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.c.ICASTDeclSpecifier |
---|
isRestrict, setRestrict |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier |
---|
getStorageClass, isConst, isInline, isVolatile, setConst, setInline, setStorageClass, setVolatile |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
Field Detail |
---|
static final int t_Bool
t_Bool
boolean. e.g. _Bool x;
static final int t_last
t_last
is defined for sub-interfaces.
Method Detail |
---|
boolean isComplex()
void setComplex(boolean value)
value
- true if it is a complex number, false otherwiseboolean isImaginary()
void setImaginary(boolean value)
value
- true if it is an imaginary number, false otherwiseboolean isLongLong()
void setLongLong(boolean value)
value
- booleanICASTSimpleDeclSpecifier copy()
IASTNode
copy.getParent() == null
copy.getPropertyInParent() == null
copy.isFrozen() == false
Preprocessor nodes do not currently support being copied.
Implicit name nodes are not copied, instead they can be regenerated
if required.
copy
in interface IASTDeclSpecifier
copy
in interface IASTNode
copy
in interface IASTSimpleDeclSpecifier
copy
in interface ICASTDeclSpecifier
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |