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 . |
ALIGNMENT_SPECIFIER, sc_auto, sc_extern, sc_mutable, sc_register, sc_static, sc_typedef, sc_unspecified
ATTRIBUTE, ATTRIBUTE_SPECIFIER
EMPTY_NODE_ARRAY
r_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, getAlignmentSpecifiers, getStorageClass, isConst, isInline, isRestrict, isVolatile, setAlignmentSpecifiers, setConst, setInline, setRestrict, setStorageClass, setVolatile
addAttribute, addAttributeSpecifier, getAttributes, getAttributeSpecifiers
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
getRoleForName
static 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()
IASTName
void setName(IASTName name)
name
- IASTName
IASTElaboratedTypeSpecifier copy()
IASTNode
copy.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 IASTDeclSpecifier
copy
in interface IASTNode
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.