public static interface ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier extends IASTNode, IASTNameOwner, ICPPASTPackExpandable
IASTNode.CopyStyle| Modifier and Type | Field and Description |
|---|---|
static ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier[] |
EMPTY_BASESPECIFIER_ARRAY |
static ASTNodeProperty |
NAME
Relation between base specifier and its name.
|
static int |
v_private |
static int |
v_protected |
static int |
v_public |
EMPTY_NODE_ARRAYr_declaration, r_definition, r_reference, r_unclear| Modifier and Type | Method and Description |
|---|---|
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier |
copy()
Returns a mutable copy of the tree rooted at this node.
|
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node.
|
IASTName |
getName()
Returns the name of this specifier.
|
int |
getVisibility()
Returns the accessibility for the base.
|
boolean |
isVirtual()
Returns whether this specifies a virtual base.
|
void |
setName(IASTName name)
Sets the name for this specifier, not allowed on frozen AST.
|
void |
setVirtual(boolean value)
Sets whether this specifier is for a virtual base.
|
void |
setVisibility(int visibility)
Sets the visibility of this specifier, not allowed on frozen AST.
|
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentgetRoleForNameisPackExpansion, setIsPackExpansionstatic final ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier[] EMPTY_BASESPECIFIER_ARRAY
static final ASTNodeProperty NAME
static final int v_public
static final int v_protected
static final int v_private
boolean isVirtual()
int getVisibility()
IASTName getName()
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier 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 equivalentICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier copy(IASTNode.CopyStyle style)
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.copy in interface IASTNodestyle - IASTNode.CopyStyle create a copy with or without locations. Please see
IASTNode.CopyStyle for restrictions on copies with Locations.void setName(IASTName name)
void setVirtual(boolean value)
void setVisibility(int visibility)
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.