|
Eclipse CDT Pre-release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IASTArraySubscriptExpression
This interface represents a postfix array subscript expression. x[ 10 ] y.z()[ t * t ]
| Field Summary | |
|---|---|
static ASTNodeProperty |
ARRAY
Node property that describes the relationship between an IASTArraySubscriptExpression and an
IASTExpression representing the subscript. |
static ASTNodeProperty |
SUBSCRIPT
Node property that describes the relationship between an IASTArraySubscriptExpression and an
IASTExpression representing the array. |
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTExpression |
|---|
EMPTY_EXPRESSION_ARRAY |
| Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
|---|
EMPTY_NODE_ARRAY |
| Method Summary | |
|---|---|
IASTArraySubscriptExpression |
copy()
Returns a mutable copy of the tree rooted at this node. |
IASTExpression |
getArrayExpression()
Get the expression that represents the array. |
IASTExpression |
getSubscriptExpression()
Get the subscript expression. |
void |
setArrayExpression(IASTExpression expression)
Set the expression that represents the array. |
void |
setSubscriptExpression(IASTExpression expression)
Set the subscript expression. |
| Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTExpression |
|---|
getExpressionType |
| 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 ARRAY
IASTArraySubscriptExpression and an
IASTExpression representing the subscript.
static final ASTNodeProperty SUBSCRIPT
IASTArraySubscriptExpression and an
IASTExpression representing the array.
| Method Detail |
|---|
IASTExpression getArrayExpression()
IASTExpression that represents the array.void setArrayExpression(IASTExpression expression)
expression - IASTExpression to be set.IASTExpression getSubscriptExpression()
IASTExpression that represents the subscript.void setSubscriptExpression(IASTExpression expression)
expression - IASTExpression to be set.IASTArraySubscriptExpression 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 IASTExpressioncopy 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 | |||||||||