public interface IASTTypeId extends IASTNode
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static ASTNodeProperty |
ABSTRACT_DECLARATOR
ABSTRACT_DECLARATOR represents the relationship between an IASTTypeId
and it's nested IASTDeclarator . |
static ASTNodeProperty |
DECL_SPECIFIER
DECL_SPECIFIER represents the relationship between an IASTTypeId
and it's nested IASTDeclSpecifier . |
static IASTTypeId[] |
EMPTY_TYPEID_ARRAY |
EMPTY_NODE_ARRAY
Modifier and Type | Method and Description |
---|---|
IASTTypeId |
copy()
Returns a mutable copy of the tree rooted at this node.
|
IASTTypeId |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node.
|
IASTDeclarator |
getAbstractDeclarator()
Get the abstract declarator.
|
IASTDeclSpecifier |
getDeclSpecifier()
Returns the decl specifier.
|
void |
setAbstractDeclarator(IASTDeclarator abstractDeclarator)
Sets the abstract declarator.
|
void |
setDeclSpecifier(IASTDeclSpecifier declSpec)
Set the decl specifier.
|
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
static final IASTTypeId[] EMPTY_TYPEID_ARRAY
static final ASTNodeProperty DECL_SPECIFIER
DECL_SPECIFIER
represents the relationship between an IASTTypeId
and it's nested IASTDeclSpecifier
.static final ASTNodeProperty ABSTRACT_DECLARATOR
ABSTRACT_DECLARATOR
represents the relationship between an IASTTypeId
and it's nested IASTDeclarator
.IASTDeclSpecifier getDeclSpecifier()
IASTDeclSpecifier
void setDeclSpecifier(IASTDeclSpecifier declSpec)
declSpec
- IASTDeclSpecifier
IASTDeclarator getAbstractDeclarator()
IASTDeclarator
void setAbstractDeclarator(IASTDeclarator abstractDeclarator)
abstractDeclarator
- IASTDeclarator
IASTTypeId 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)
.
IASTTypeId copy(IASTNode.CopyStyle style)
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.
copy
in interface IASTNode
style
- 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.