org.eclipse.cdt.core.dom.ast
Interface IASTArrayDeclarator
- All Superinterfaces:
- IASTDeclarator, IASTNameOwner, IASTNode
- public interface IASTArrayDeclarator
- extends IASTDeclarator
This is the declarator for an array.
Field Summary |
static ASTNodeProperty |
ARRAY_MODIFIER
Node property that describes the relationship between an
IASTArrayDeclarator and an IASTArrayModifier . |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
accept, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent |
ARRAY_MODIFIER
public static final ASTNodeProperty ARRAY_MODIFIER
- Node property that describes the relationship between an
IASTArrayDeclarator
and an IASTArrayModifier
.
getArrayModifiers
public IASTArrayModifier[] getArrayModifiers()
- Get all
IASTArrayModifier
's for this declarator.
- Returns:
- array of
IASTArrayModifier
addArrayModifier
public void addArrayModifier(IASTArrayModifier arrayModifier)
- Add an
IASTArrayModifier
to this declarator
- Parameters:
arrayModifier
- IASTArrayModifier
to be added
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.