public interface IASTNamedTypeSpecifier extends IASTDeclSpecifier, IASTNameOwner
IASTNode.CopyStyle| Modifier and Type | Field and Description |
|---|---|
static ASTNodeProperty |
NAME
NAME describes the relationship between an
IASTNamedTypeSpecifier and its nested 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 |
|---|---|
IASTNamedTypeSpecifier |
copy()
Returns a mutable copy of the tree rooted at this node.
|
IASTName |
getName()
Get the name.
|
void |
setName(IASTName name)
Set 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 ASTNodeProperty NAME
NAME describes the relationship between an
IASTNamedTypeSpecifier and its nested IASTName.IASTName getName()
void setName(IASTName name)
name - IASTNamedTypeSpecifier copy()
IASTNode
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 equivalentcopy in interface IASTDeclSpecifiercopy in interface IASTNodeCopyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.