|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGCCASTArrayRangeDesignator
GCC-specific designator that allows for shorthand array range to be specified in a designated initializer. struct ABC { int def[10]; } abc = { def[4...10] = 3 };
Field Summary | |
---|---|
static ASTNodeProperty |
SUBSCRIPT_CEILING_EXPRESSION
SUSBCRIPT_CEILING_EXPRESSION represents the higher value
in the range of expressions. |
static ASTNodeProperty |
SUBSCRIPT_FLOOR_EXPRESSION
SUSBCRIPT_FLOOR_EXPRESSION represents the lower value in
the range of expressions. |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Method Summary | |
---|---|
IASTExpression |
getRangeCeiling()
Get the range ceiling expression. |
IASTExpression |
getRangeFloor()
Get the floor expression of the range. |
void |
setRangeCeiling(IASTExpression expression)
Set the ceiling expression of the range. |
void |
setRangeFloor(IASTExpression expression)
Set the floor expression of the range. |
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 ASTNodeProperty SUBSCRIPT_FLOOR_EXPRESSION
SUSBCRIPT_FLOOR_EXPRESSION
represents the lower value in
the range of expressions.
static final ASTNodeProperty SUBSCRIPT_CEILING_EXPRESSION
SUSBCRIPT_CEILING_EXPRESSION
represents the higher value
in the range of expressions.
Method Detail |
---|
IASTExpression getRangeFloor()
IASTExpression
void setRangeFloor(IASTExpression expression)
expression
- IASTExpression
IASTExpression getRangeCeiling()
IASTExpression
void setRangeCeiling(IASTExpression expression)
expression
- IASTExpression
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |