public interface IASTImplicitName extends IASTName
ASTVisitor.shouldVisitImplicitNames
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static IASTImplicitName[] |
EMPTY_NAME_ARRAY |
EMPTY_NODE_ARRAY
Modifier and Type | Method and Description |
---|---|
IASTName |
copy()
This method is not supported on implicit names.
|
boolean |
isAlternate()
Returns
true if this node is an alternate. |
boolean |
isOperator()
Convenience method that returns true if this name represents an overloaded operator.
|
IBinding |
resolveBinding()
Resolves the semantic object this name is referring to.
|
copy, getBinding, getCompletionContext, getImageLocation, getLastName, getLinkage, getLookupKey, getPreBinding, getRoleOfName, isQualified, resolvePreBinding, setBinding, toCharArray, toString
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
static final IASTImplicitName[] EMPTY_NAME_ARRAY
IBinding resolveBinding()
null
, but may return a problem binding, for example for an implicit
constructor call.resolveBinding
in interface IASTName
IBinding
bindingboolean isAlternate()
true
if this node is an alternate.
Sometimes more than one implicit name is generated for the same binding but with different
offsets, when this happens the additional names generated are considered alternates.boolean isOperator()
IASTName copy() throws java.lang.UnsupportedOperationException
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.