|
Eclipse CDT Pre-release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IASTDeclSpecifier
This is the base interface that represents a declaration specifier sequence.
| Field Summary | |
|---|---|
static int |
sc_auto
sc_autoauto |
static int |
sc_extern
sc_externextern |
static int |
sc_last
sc_last for sub-interfaces to continue on |
static int |
sc_register
sc_registerregister |
static int |
sc_static
sc_staticstatic |
static int |
sc_typedef
sc_typedef typedef |
static int |
sc_unspecified
sc_unspecified undefined storage class |
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
|---|
EMPTY_NODE_ARRAY |
| Method Summary | |
|---|---|
IASTDeclSpecifier |
copy()
Returns a mutable copy of the tree rooted at this node. |
int |
getStorageClass()
Get the storage class. |
boolean |
isConst()
Is const modifier used? |
boolean |
isInline()
Is inline modifier used? |
boolean |
isVolatile()
Is volatile modifier used? |
void |
setConst(boolean value)
Set const modifier used. |
void |
setInline(boolean value)
Set inline modifier used. |
void |
setStorageClass(int storageClass)
Set the storage class. |
void |
setVolatile(boolean value)
Set volatile modifier used. |
| 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 sc_unspecified
sc_unspecified undefined storage class
static final int sc_typedef
sc_typedef typedef
static final int sc_extern
sc_externextern
static final int sc_static
sc_staticstatic
static final int sc_auto
sc_autoauto
static final int sc_register
sc_registerregister
static final int sc_last
sc_last for sub-interfaces to continue on
| Method Detail |
|---|
void setStorageClass(int storageClass)
storageClass - intint getStorageClass()
boolean isConst()
void setConst(boolean value)
value - booleanboolean isVolatile()
void setVolatile(boolean value)
value - booleanboolean isInline()
void setInline(boolean value)
value - booleanIASTDeclSpecifier 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 IASTNode
|
Eclipse CDT Pre-release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||