Interface IASTAttributeList
- All Superinterfaces:
IASTAttributeSpecifier, IASTNode
- All Known Subinterfaces:
ICPPASTAttributeList, IGCCASTAttributeList, IMSASTDeclspecList
An attribute-specifier of the form [[ attribute-list ]] or __attribute__(( attribute-list )).
- Since:
- 6.0
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface IASTNode
IASTNode.CopyStyle -
Field Summary
Fields inherited from interface IASTAttributeSpecifier
ATTRIBUTE, EMPTY_ATTRIBUTE_SPECIFIER_ARRAYFields inherited from interface IASTNode
EMPTY_NODE_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(IASTAttribute attribute) Adds an attribute to the list.Returns the attributes in the list.Methods inherited from interface IASTAttributeSpecifier
copy, copyMethods inherited from interface IASTNode
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
-
Method Details
-
getAttributes
IASTAttribute[] getAttributes()Returns the attributes in the list.- Specified by:
getAttributesin interfaceIASTAttributeSpecifier
-
addAttribute
Adds an attribute to the list.- Specified by:
addAttributein interfaceIASTAttributeSpecifier
-