|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IASTDeclarator
Base interface for a declarator.
Field Summary | |
---|---|
static ASTNodeProperty |
DECLARATOR_NAME
DECLARATOR_NAME represents the relationship between an
IASTDeclarator and an IASTName . |
static IASTDeclarator[] |
EMPTY_DECLARATOR_ARRAY
Constant - empty declarator array |
static ASTNodeProperty |
INITIALIZER
INITIALIZER represents the relationship between an
IASTDeclarator and an IASTInitializer . |
static ASTNodeProperty |
NESTED_DECLARATOR
NESTED_DECLARATOR represents the relationship between an
IASTDeclarator and a nested IASTDeclarator . |
static ASTNodeProperty |
POINTER_OPERATOR
POINTER_OPERATOR represents the relationship between an
IASTDeclarator and an IASTPointerOperator . |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
r_declaration, r_definition, r_reference, r_unclear |
Method Summary | |
---|---|
void |
addPointerOperator(IASTPointerOperator operator)
Adds a pointer operator to the declarator. |
IASTInitializer |
getInitializer()
This is the optional initializer for this declarator. |
IASTName |
getName()
This returns the name of the declarator. |
IASTDeclarator |
getNestedDeclarator()
If the declarator is nested in parenthesis, this returns the declarator as found in those parenethesis. |
IASTPointerOperator[] |
getPointerOperators()
This is the list of pointer operators applied to the type for the declarator. |
void |
setInitializer(IASTInitializer initializer)
Set the optional initializer. |
void |
setName(IASTName name)
Set the name of he declarator. |
void |
setNestedDeclarator(IASTDeclarator nested)
|
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
getRoleForName |
Field Detail |
---|
static final IASTDeclarator[] EMPTY_DECLARATOR_ARRAY
static final ASTNodeProperty POINTER_OPERATOR
POINTER_OPERATOR
represents the relationship between an
IASTDeclarator
and an IASTPointerOperator
.
static final ASTNodeProperty INITIALIZER
INITIALIZER
represents the relationship between an
IASTDeclarator
and an IASTInitializer
.
static final ASTNodeProperty NESTED_DECLARATOR
NESTED_DECLARATOR
represents the relationship between an
IASTDeclarator
and a nested IASTDeclarator
.
static final ASTNodeProperty DECLARATOR_NAME
DECLARATOR_NAME
represents the relationship between an
IASTDeclarator
and an IASTName
.
Method Detail |
---|
IASTPointerOperator[] getPointerOperators()
void addPointerOperator(IASTPointerOperator operator)
operator
- IASTPointerOperator
to be added.IASTDeclarator getNestedDeclarator()
void setNestedDeclarator(IASTDeclarator nested)
IASTName getName()
void setName(IASTName name)
name
- IASTName
IASTInitializer getInitializer()
void setInitializer(IASTInitializer initializer)
initializer
- IASTInitializer
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |