Interface ICPPASTConversionName
- All Superinterfaces:
IASTName, IASTNode, ICPPASTName, ICPPASTNameSpecifier, IName
This interface represents a C++ conversion member function.
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface IASTNode
IASTNode.CopyStyle -
Field Summary
FieldsFields inherited from interface IASTName
EMPTY_NAME_ARRAYFields inherited from interface IASTNode
EMPTY_NODE_ARRAYFields inherited from interface ICPPASTNameSpecifier
EMPTY_NAME_SPECIFIER_ARRAYFields inherited from interface IName
EMPTY_ARRAY -
Method Summary
Modifier and TypeMethodDescriptioncopy()Returns a mutable copy of the tree rooted at this node.copy(IASTNode.CopyStyle style) Returns a mutable copy of the tree rooted at this node.Returns the IASTTypeId for the ICPPASTConversionName.voidsetTypeId(IASTTypeId typeId) Sets the IASTTypeId for the ICPPASTConversionName.Methods inherited from interface IASTName
getBinding, getCompletionContext, getImageLocation, getLastName, getLinkage, getLookupKey, getPreBinding, getRoleOfName, isQualified, resolveBinding, resolvePreBinding, setBinding, toCharArray, toStringMethods inherited from interface IASTNode
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentMethods inherited from interface ICPPASTNameSpecifier
resolveBinding, resolvePreBinding, toCharArrayMethods inherited from interface IName
getFileLocation, getSimpleID, isDeclaration, isDefinition, isReference
-
Field Details
-
TYPE_ID
-
-
Method Details
-
getTypeId
IASTTypeId getTypeId()Returns the IASTTypeId for the ICPPASTConversionName. i.e. getTypeId() on operator int(); would return the IASTTypeId for "int" -
setTypeId
Sets the IASTTypeId for the ICPPASTConversionName.- Parameters:
typeId-
-
copy
ICPPASTConversionName copy()Description copied from interface:IASTNodeReturns a mutable copy of the tree rooted at this node. The following postconditions hold: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 equivalent to
copy(CopyStyle.withoutLocations).- Specified by:
copyin interfaceIASTName- Specified by:
copyin interfaceIASTNode- Specified by:
copyin interfaceICPPASTName- Specified by:
copyin interfaceICPPASTNameSpecifier- Since:
- 5.1
-
copy
Description copied from interface:IASTNodeReturns a mutable copy of the tree rooted at this node. The following postconditions hold: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.- Specified by:
copyin interfaceIASTName- Specified by:
copyin interfaceIASTNode- Specified by:
copyin interfaceICPPASTName- Specified by:
copyin interfaceICPPASTNameSpecifier- Parameters:
style-IASTNode.CopyStylecreate a copy with or without locations. Please seeIASTNode.CopyStylefor restrictions on copies with Locations.- Since:
- 5.3
-