public interface IASTDeclarationListOwner extends IASTNode
IASTNode.CopyStyle
EMPTY_NODE_ARRAY
Modifier and Type | Method and Description |
---|---|
void |
addDeclaration(IASTDeclaration declaration)
Adds a declaration to the owner.
|
IASTDeclaration[] |
getDeclarations(boolean includeInactive)
Returns the array of declarations.
|
accept, contains, copy, copy, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
void addDeclaration(IASTDeclaration declaration)
IASTDeclaration[] getDeclarations(boolean includeInactive)
includeInactive
- whether to include declarations from inactive code branches.ITranslationUnit.AST_PARSE_INACTIVE_CODE
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.