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
Deprecated.
Use ICPPASTBaseSpecifier.NAME_SPECIFIER instead.
|
static ASTNodeProperty |
NAME_SPECIFIER
Relation between base specifier and its name specifier.
|
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()
Deprecated.
Use getNameSpecifier() instead.
|
ICPPASTNameSpecifier |
getNameSpecifier()
Returns the name specifier inside this base specifier.
|
int |
getVisibility()
Returns the accessibility for the base.
|
boolean |
isVirtual()
Returns whether this specifies a virtual base.
|
void |
setName(IASTName name)
Deprecated.
Use setNameSpecifier() instead.
|
void |
setNameSpecifier(ICPPASTNameSpecifier nameSpecifier)
Sets the name specifier for this base specifier.
|
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
@Deprecated static final ASTNodeProperty NAME
static final ASTNodeProperty NAME_SPECIFIER
static final int v_public
static final int v_protected
static final int v_private
boolean isVirtual()
int getVisibility()
@Deprecated IASTName getName()
ICPPASTNameSpecifier getNameSpecifier()
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier copy()
IASTNodecopy.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).
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier copy(IASTNode.CopyStyle style)
IASTNodecopy.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 IASTNodestyle - IASTNode.CopyStyle create a copy with or without locations. Please see
IASTNode.CopyStyle for restrictions on copies with Locations.@Deprecated void setName(IASTName name)
void setNameSpecifier(ICPPASTNameSpecifier nameSpecifier)
void setVirtual(boolean value)
void setVisibility(int visibility)
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.