Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast
Interface IASTArrayModifier

All Superinterfaces:
IASTNode
All Known Subinterfaces:
ICASTArrayModifier

public interface IASTArrayModifier
extends IASTNode

This is the portion of the node that represents the portions when someone declares a variable/type which is an array.


Field Summary
static ASTNodeProperty CONSTANT_EXPRESSION
          Node property that describes the relationship between an IASTArrayModifier and an IASTExpression.
static IASTArrayModifier[] EMPTY_ARRAY
          EMPTY_ARRAY is referred to in implementations
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 IASTExpression getConstantExpression()
          Get the constant expression that represents the size of the array.
 void setConstantExpression(IASTExpression expression)
          Set the constant expression that represents the size of the array.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 

Field Detail

CONSTANT_EXPRESSION

static final ASTNodeProperty CONSTANT_EXPRESSION
Node property that describes the relationship between an IASTArrayModifier and an IASTExpression.


EMPTY_ARRAY

static final IASTArrayModifier[] EMPTY_ARRAY
EMPTY_ARRAY is referred to in implementations

Method Detail

getConstantExpression

IASTExpression getConstantExpression()
Get the constant expression that represents the size of the array.

Returns:
IASTExpression

setConstantExpression

void setConstantExpression(IASTExpression expression)
Set the constant expression that represents the size of the array.

Parameters:
expression - IASTExpression

Eclipse CDT
Pre-release 3.0

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