public interface IASTElaboratedTypeSpecifier extends IASTDeclSpecifier, IASTNameOwner
IASTNode.CopyStyle| Modifier and Type | Field and Description |
|---|---|
static int |
k_enum
Enumeration.
|
static int |
k_last
Constant for extensibility in sub-interfaces.
|
static int |
k_struct
Structure.
|
static int |
k_union
Union.
|
static ASTNodeProperty |
TYPE_NAME
TYPE_NAME describes the relationship between
IASTElaboratedTypeSpecifier and IASTName. |
sc_auto, sc_extern, sc_last, sc_mutable, sc_register, sc_static, sc_typedef, sc_unspecifiedEMPTY_NODE_ARRAYr_declaration, r_definition, r_reference, r_unclear| Modifier and Type | Method and Description |
|---|---|
IASTElaboratedTypeSpecifier |
copy()
Returns a mutable copy of the tree rooted at this node.
|
int |
getKind()
Returns the kind.
|
IASTName |
getName()
Returns the name.
|
void |
setKind(int value)
Sets the kind.
|
void |
setName(IASTName name)
Sets the name.
|
copy, getStorageClass, isConst, isInline, isRestrict, isVolatile, setConst, setInline, setRestrict, setStorageClass, setVolatileaccept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentgetRoleForNamestatic final int k_enum
static final int k_struct
static final int k_union
static final int k_last
static final ASTNodeProperty TYPE_NAME
TYPE_NAME describes the relationship between
IASTElaboratedTypeSpecifier and IASTName.int getKind()
void setKind(int value)
value - int (kind)IASTName getName()
IASTNamevoid setName(IASTName name)
name - IASTNameIASTElaboratedTypeSpecifier 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 IASTNodeCopyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.