Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.c
Interface ICASTArrayDesignator

All Superinterfaces:
IASTNode, ICASTDesignator

public interface ICASTArrayDesignator
extends ICASTDesignator

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
 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, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 

Field Detail

SUBSCRIPT_EXPRESSION

static final ASTNodeProperty SUBSCRIPT_EXPRESSION
SUBSCRIPT_EXPRESSION represents the relationship between the designator and the subscript expression.

Method Detail

getSubscriptExpression

IASTExpression getSubscriptExpression()
Get the subsript expression.

Returns:
value IASTExpression

setSubscriptExpression

void setSubscriptExpression(IASTExpression value)
Set the subscript expression.

Parameters:
value - IASTExpression

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.