|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICASTArrayDesignator
C-style array designator. e.g. struct ABC { int def[10] }; struct ABC instance = { def[0] = 9 };
| Field Summary | |
|---|---|
static ASTNodeProperty |
SUBSCRIPT_EXPRESSION
SUBSCRIPT_EXPRESSION represents the relationship between
the designator and the subscript expression. |
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
|---|
EMPTY_NODE_ARRAY |
| Method Summary | |
|---|---|
ICASTArrayDesignator |
copy()
Returns a mutable copy of the tree rooted at this node. |
IASTExpression |
getSubscriptExpression()
Get the subsript expression. |
void |
setSubscriptExpression(IASTExpression value)
Set the subscript expression. |
| 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 ASTNodeProperty SUBSCRIPT_EXPRESSION
SUBSCRIPT_EXPRESSION represents the relationship between
the designator and the subscript expression.
| Method Detail |
|---|
IASTExpression getSubscriptExpression()
IASTExpressionvoid setSubscriptExpression(IASTExpression value)
value - IASTExpressionICASTArrayDesignator 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 IASTNodecopy in interface ICASTDesignator
|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||