public interface ICPPASTElaboratedTypeSpecifier extends IASTElaboratedTypeSpecifier, ICPPASTDeclSpecifier
IASTNode.CopyStyle| Modifier and Type | Field and Description |
|---|---|
static int |
k_class
k_class represents elaborated class declaration |
static int |
k_last
k_last is defined for subinterfaces. |
k_enum, k_struct, k_union, TYPE_NAMEr_declaration, r_definition, r_reference, r_unclearsc_lastsc_auto, sc_extern, sc_mutable, sc_register, sc_static, sc_typedef, sc_unspecifiedATTRIBUTE, ATTRIBUTE_SPECIFIEREMPTY_NODE_ARRAY| Modifier and Type | Method and Description |
|---|---|
ICPPASTElaboratedTypeSpecifier |
copy()
Returns a mutable copy of the tree rooted at this node.
|
ICPPASTElaboratedTypeSpecifier |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node.
|
getKind, getName, setKind, setNamegetRoleForNameisConstexpr, isExplicit, isFriend, isThreadLocal, isVirtual, setConstexpr, setExplicit, setFriend, setThreadLocal, setVirtualgetStorageClass, isConst, isInline, isRestrict, isVolatile, setConst, setInline, setRestrict, setStorageClass, setVolatileaddAttribute, addAttributeSpecifier, getAttributes, getAttributeSpecifiersaccept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentstatic final int k_class
k_class represents elaborated class declarationstatic final int k_last
k_last is defined for subinterfaces.ICPPASTElaboratedTypeSpecifier copy()
IASTNodecopy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == falsePreprocessor 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).
copy in interface IASTDeclSpecifiercopy in interface IASTElaboratedTypeSpecifiercopy in interface IASTNodecopy in interface ICPPASTDeclSpecifierICPPASTElaboratedTypeSpecifier copy(IASTNode.CopyStyle style)
IASTNodecopy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == falsePreprocessor nodes do not currently support being copied. Implicit name nodes are not copied, instead they can be regenerated if required.
copy in interface IASTDeclSpecifiercopy in interface IASTNodecopy in interface ICPPASTDeclSpecifierstyle - IASTNode.CopyStyle create a copy with or without locations. Please see
IASTNode.CopyStyle for restrictions on copies with Locations.Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.