|
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_auto auto |
static int |
sc_extern
sc_extern extern |
static int |
sc_last
sc_last for sub-interfaces to continue on |
static int |
sc_register
sc_register register |
static int |
sc_static
sc_static static |
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 | |
---|---|
String |
getRawSignature()
Get the string that represents the decl specifier seq. as represented in the file pre-processing. |
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, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getTranslationUnit, 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_extern
extern
static final int sc_static
sc_static
static
static final int sc_auto
sc_auto
auto
static final int sc_register
sc_register
register
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
- booleanString getRawSignature()
getRawSignature
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 |