|
Eclipse CDT Pre-release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICASTDesignatedInitializer
This interface represents a designated initializer. e.g. struct x y = { .z=4, .t[1] = 3 };
| Field Summary | |
|---|---|
static ASTNodeProperty |
DESIGNATOR
DESIGNATOR represents the relationship between an
ICASTDesignatedInitializer and
ICASTDesignator. |
static ICASTDesignator[] |
EMPTY_DESIGNATOR_ARRAY
Constant. |
static ASTNodeProperty |
OPERAND
OPERAND represents the relationship between
ICASTDesignatedInitializer and its
IASTInitializer. |
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTInitializer |
|---|
EMPTY_INITIALIZER_ARRAY |
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
|---|
EMPTY_NODE_ARRAY |
| Method Summary | |
|---|---|
void |
addDesignator(ICASTDesignator designator)
Add a designator to this initializer. |
ICASTDesignator[] |
getDesignators()
Get all of the designators. |
IASTInitializer |
getOperandInitializer()
Get the nested initializer. |
void |
setOperandInitializer(IASTInitializer rhs)
Set the nested initializer. |
| Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
|---|
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent |
| Field Detail |
|---|
static final ICASTDesignator[] EMPTY_DESIGNATOR_ARRAY
static final ASTNodeProperty DESIGNATOR
DESIGNATOR represents the relationship between an
ICASTDesignatedInitializer and
ICASTDesignator.
static final ASTNodeProperty OPERAND
OPERAND represents the relationship between
ICASTDesignatedInitializer and its
IASTInitializer.
| Method Detail |
|---|
void addDesignator(ICASTDesignator designator)
designator - ICASTDesignatorICASTDesignator[] getDesignators()
ICASTDesignator []IASTInitializer getOperandInitializer()
IASTInitializervoid setOperandInitializer(IASTInitializer rhs)
rhs - IASTInitializer
|
Eclipse CDT Pre-release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||