public interface IASTDeclarationListOwner extends IASTNode
IASTNode.CopyStyleEMPTY_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, setPropertyInParentvoid addDeclaration(IASTDeclaration declaration)
IASTDeclaration[] getDeclarations(boolean includeInactive)
includeInactive - whether to include declarations from inactive code branches.ITranslationUnit.AST_PARSE_INACTIVE_CODECopyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.