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 . |
ALIGNMENT_SPECIFIER, sc_auto, sc_extern, sc_mutable, sc_register, sc_static, sc_typedef, sc_unspecified
EMPTY_NODE_ARRAY
r_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, getAlignmentSpecifiers, getStorageClass, isConst, isInline, isRestrict, isVolatile, setAlignmentSpecifiers, setConst, setInline, setRestrict, setStorageClass, setVolatile
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
getRoleForName
static 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() == 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.