|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IASTInitializerList
This is an an initializer that is a list of initializers.
Field Summary | |
---|---|
static ASTNodeProperty |
NESTED_INITIALIZER
NESTED_INITIALIZER describes the relationship between an
IASTInitializerList and its sub-IASTInitializer s. |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTInitializer |
---|
EMPTY_INITIALIZER_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Method Summary | |
---|---|
void |
addInitializer(IASTInitializer initializer)
Add an initializer to the initializer list. |
IASTInitializerList |
copy()
Returns a mutable copy of the tree rooted at this node. |
IASTInitializer[] |
getInitializers()
Get the list of initializers. |
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 NESTED_INITIALIZER
NESTED_INITIALIZER
describes the relationship between an
IASTInitializerList
and its sub-IASTInitializer
s.
Method Detail |
---|
IASTInitializer[] getInitializers()
IASTInitializer[]
array of initializersvoid addInitializer(IASTInitializer initializer)
initializer
- IASTInitializer
IASTInitializerList 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 IASTInitializer
copy
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 |