Interface ICASTElaboratedTypeSpecifier
- All Superinterfaces:
IASTAttributeOwner, IASTDeclSpecifier, IASTElaboratedTypeSpecifier, IASTNameOwner, IASTNode, ICASTDeclSpecifier
public interface ICASTElaboratedTypeSpecifier
extends IASTElaboratedTypeSpecifier, ICASTDeclSpecifier
C's elaborated type specifier. (same as IASTElaboratedTypeSpecifier, except
for the addition of the restrict keyword.
- 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 IASTAttributeOwner
ATTRIBUTE, ATTRIBUTE_SPECIFIERFields inherited from interface IASTDeclSpecifier
ALIGNMENT_SPECIFIER, sc_auto, sc_extern, sc_mutable, sc_register, sc_static, sc_typedef, sc_unspecifiedFields inherited from interface IASTElaboratedTypeSpecifier
k_enum, k_last, k_struct, k_union, TYPE_NAMEFields inherited from interface IASTNameOwner
r_declaration, r_definition, r_reference, r_unclearFields inherited from interface IASTNode
EMPTY_NODE_ARRAYFields inherited from interface ICASTDeclSpecifier
ALIGNMENT_SPECIFIER -
Method Summary
Modifier and TypeMethodDescriptioncopy()Returns a mutable copy of the tree rooted at this node.copy(IASTNode.CopyStyle style) Returns a mutable copy of the tree rooted at this node.Methods inherited from interface IASTAttributeOwner
addAttribute, addAttributeSpecifier, getAttributes, getAttributeSpecifiersMethods inherited from interface IASTDeclSpecifier
getStorageClass, isConst, isInline, isRestrict, isVolatile, setConst, setInline, setRestrict, setStorageClass, setVolatileMethods inherited from interface IASTElaboratedTypeSpecifier
getKind, getName, setKind, setNameMethods inherited from interface IASTNameOwner
getRoleForNameMethods inherited from interface IASTNode
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentMethods inherited from interface ICASTDeclSpecifier
getAlignmentSpecifiers, setAlignmentSpecifiers
-
Method Details
-
copy
ICASTElaboratedTypeSpecifier copy()Description copied from interface:IASTNodeReturns a mutable copy of the tree rooted at this node. The following postconditions hold: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.Calling this method is equivalent to
copy(CopyStyle.withoutLocations).- Specified by:
copyin interfaceIASTDeclSpecifier- Specified by:
copyin interfaceIASTElaboratedTypeSpecifier- Specified by:
copyin interfaceIASTNode- Specified by:
copyin interfaceICASTDeclSpecifier- Since:
- 5.1
-
copy
Description copied from interface:IASTNodeReturns a mutable copy of the tree rooted at this node. The following postconditions hold: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.- Specified by:
copyin interfaceIASTDeclSpecifier- Specified by:
copyin interfaceIASTNode- Parameters:
style-IASTNode.CopyStylecreate a copy with or without locations. Please seeIASTNode.CopyStylefor restrictions on copies with Locations.- Since:
- 5.3
-