public interface IASTAttributeOwner extends IASTNode
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static ASTNodeProperty |
ATTRIBUTE
Deprecated.
Not used.
|
static ASTNodeProperty |
ATTRIBUTE_SPECIFIER |
EMPTY_NODE_ARRAY
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(IASTAttribute attribute)
Deprecated.
Ignored. Attributes should not be assigned to nodes directly,
but have to be wrapped by attribute specifiers.
|
void |
addAttributeSpecifier(IASTAttributeSpecifier attributeSpecifier)
Adds an attribute specifier to the node.
|
IASTAttribute[] |
getAttributes()
Returns the array of all attributes.
|
IASTAttributeSpecifier[] |
getAttributeSpecifiers()
Returns an array of all the node's attribute specifiers.
|
accept, contains, copy, copy, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
static final ASTNodeProperty ATTRIBUTE_SPECIFIER
@Deprecated static final ASTNodeProperty ATTRIBUTE
IASTAttributeSpecifier[] getAttributeSpecifiers()
void addAttributeSpecifier(IASTAttributeSpecifier attributeSpecifier)
IASTAttribute[] getAttributes()
@Deprecated void addAttribute(IASTAttribute attribute)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.