## Uses of Interface
org.eclipse.cdt.core.dom.ast.IASTName

Packages that use IASTName
org.eclipse.cdt.core.dom.ast
org.eclipse.cdt.core.dom.ast.c
org.eclipse.cdt.core.dom.ast.cpp
org.eclipse.cdt.core.dom.ast.gnu.c
org.eclipse.cdt.core.model

### Uses of IASTName in org.eclipse.cdt.core.dom.ast

Subinterfaces of IASTName in org.eclipse.cdt.core.dom.ast
`interface` `IASTImplicitDestructorName` An implicit name corresponding to a destructor call for a temporary or a variable going out of scope.
`interface` `IASTImplicitName` An implicit name is used to resolve uses of implicit bindings, such as overloaded operators.

Fields in org.eclipse.cdt.core.dom.ast declared as IASTName
`static IASTName[]` IASTName.`EMPTY_NAME_ARRAY` Constant sentinel.
`IASTName` IASTCompletionNode.CompletionNameEntry.`fName`

Methods in org.eclipse.cdt.core.dom.ast that return IASTName
`IASTName` IASTName.`copy()`
`IASTName` IASTImplicitName.`copy()` This method is not supported on implicit names.
`IASTName` IASTName.`copy(IASTNode.CopyStyle style)`
`IASTName` IASTNodeSelector.`findEnclosingName(int offset, int length)` Returns the smallest name enclosing the given range, or `null` if there is no such node.
`IASTName` IASTNodeSelector.`findFirstContainedName(int offset, int length)` Returns the first name contained in the given range, or `null` if there is no such node.
`IASTName` IASTNodeSelector.`findName(int offset, int length)` Returns the name for the exact given range, or `null` if there is no such node.
`IASTName` IASTImplicitDestructorName.`getConstructionPoint()` Returns the name corresponding to the constructor call.
`IASTName[]` IASTTranslationUnit.`getDeclarationsInAST(IBinding binding)` Returns the list of declarations in this translation unit for the given binding.
`IASTName[]` IASTTranslationUnit.`getDefinitionsInAST(IBinding binding)` Equivalent to getDefinitionsInAst(binding, false).
`IASTName[]` IASTTranslationUnit.`getDefinitionsInAST(IBinding binding, boolean permissive)` Returns the array of definitions in this translation unit for the given binding.
`IASTName` IASTFieldReference.`getFieldName()` Returns the name of the field being dereferenced.
`IASTName` IASTName.`getLastName()` For convenience this method returns the last name of a qualified name or `this` if this is not a qualified name.
`IASTName` IScope.ScopeLookupData.`getLookupName()`
`IASTName` IASTPreprocessorUndefStatement.`getMacroName()` Returns the reference to the macro, or `null`.
`IASTName` IASTPreprocessorMacroExpansion.`getMacroReference()` Returns the reference to the macro that causes this expansion.
`IASTName` IASTPreprocessorIfndefStatement.`getMacroReference()` Returns the macro reference, or `null` if the macro does not exist.
`IASTName` IASTPreprocessorIfdefStatement.`getMacroReference()` Returns the macro reference, or `null` if the macro does not exist.
`IASTName` IASTMacroExpansion.`getMacroReference()` Deprecated. The macro reference for the explicit macro expansion containing this expansion.
`IASTName` IASTPreprocessorMacroDefinition.`getName()` Get the macro name.
`IASTName` IASTPreprocessorIncludeStatement.`getName()` Returns the name of the file as specified in the directive.
`IASTName` IASTNamedTypeSpecifier.`getName()` Get the name.
`IASTName` IASTLabelStatement.`getName()` The name for the label.
`IASTName` IASTIdExpression.`getName()` Returns the name used in the expression.
`IASTName` IASTGotoStatement.`getName()` Returns the name of the label.
`IASTName` IASTEnumerationSpecifier.`getName()` Returns the enum's name.
`IASTName` IASTEnumerationSpecifier.IASTEnumerator.`getName()` Get the enumerator's name.
`IASTName` IASTElaboratedTypeSpecifier.`getName()` Returns the name.
`IASTName` IASTDeclarator.`getName()` Returns the name of the declarator.
`IASTName` IASTCompositeTypeSpecifier.`getName()` Returns the name for this composite type.
`IASTName[]` IASTCompletionNode.`getNames()` Returns a list of names that fit in this context.
`IASTName[]` ASTNameCollector.`getNames()` Returns the array of matching names.
`IASTName[]` ASTCompletionNode.`getNames()`
`IASTName[]` IASTPreprocessorMacroExpansion.`getNestedMacroReferences()` Returns an array of nested macro expansions.
`IASTName[]` IASTTranslationUnit.`getReferences(IBinding binding)` Returns the list of references in this translation unit to the given binding.
`IASTName` INodeFactory.`newName()` Creates a "dummy" name using an empty char array.
`IASTName` INodeFactory.`newName(char[] name)`
`IASTName` INodeFactory.`newName(java.lang.String name)`

Methods in org.eclipse.cdt.core.dom.ast with parameters of type IASTName
`void` ASTCompletionNode.`addName(IASTName name)`
`boolean` IASTCompletionNode.`containsName(IASTName name)` Returns true if this completion node contains a `IASTCompletionNode.CompletionNameEntry` with the given name.
`boolean` ASTCompletionNode.`containsName(IASTName name)`
`IBinding[]` IASTCompletionContext.`findBindings(IASTName n, boolean isPrefix)` Returns bindings that start with the given name or prefix, only considering those that are valid for this context.
`IBinding[]` ICPPASTCompletionContext.`findBindings(IASTName n, boolean isPrefix, java.lang.String[] namespaces)` Returns bindings that start with the given name or prefix, only considering those that are valid for this context, including those in the requested set of namespaces.
`IBinding` IScope.`getBinding(IASTName name, boolean resolve)` Returns the binding in this scope that the given name would resolve to.
`IBinding` IScope.`getBinding(IASTName name, boolean resolve, org.eclipse.cdt.core.index.IIndexFileSet acceptLocalBindings)` Returns the binding in this scope that the given name would resolve to.
`IBinding[]` IScope.`getBindings(IASTName name, boolean resolve, boolean prefixLookup)` Deprecated. Use `IScope.getBindings(ScopeLookupData)` instead
`IBinding[]` IScope.`getBindings(IASTName name, boolean resolve, boolean prefixLookup, org.eclipse.cdt.core.index.IIndexFileSet acceptLocalBindings)` Deprecated. Use `IScope.getBindings(ScopeLookupData)` instead
`int` IASTNameOwner.`getRoleForName(IASTName name)` Get the role for the name.
`int` ASTVisitor.`leave(IASTName name)`
`int` ASTGenericVisitor.`leave(IASTName name)`
`IASTArrayDeclarator` INodeFactory.`newArrayDeclarator(IASTName name)`
`IASTCompositeTypeSpecifier` INodeFactory.`newCompositeTypeSpecifier(int key, IASTName name)`
`IASTDeclarator` INodeFactory.`newDeclarator(IASTName name)`
`IASTElaboratedTypeSpecifier` INodeFactory.`newElaboratedTypeSpecifier(int kind, IASTName name)`
`IASTEnumerationSpecifier` INodeFactory.`newEnumerationSpecifier(IASTName name)`
`IASTEnumerationSpecifier.IASTEnumerator` INodeFactory.`newEnumerator(IASTName name, IASTExpression value)`
`IASTFieldDeclarator` INodeFactory.`newFieldDeclarator(IASTName name, IASTExpression bitFieldSize)`
`IASTFieldReference` INodeFactory.`newFieldReference(IASTName name, IASTExpression owner)`
`IASTStandardFunctionDeclarator` INodeFactory.`newFunctionDeclarator(IASTName name)`
`IASTGotoStatement` INodeFactory.`newGotoStatement(IASTName name)`
`IASTIdExpression` INodeFactory.`newIdExpression(IASTName name)`
`IASTLabelStatement` INodeFactory.`newLabelStatement(IASTName name, IASTStatement nestedStatement)`
`IASTNamedTypeSpecifier` INodeFactory.`newTypedefNameSpecifier(IASTName name)`
`void` IASTFieldReference.`setFieldName(IASTName name)` Sets the name of the field.
`void` IASTNamedTypeSpecifier.`setName(IASTName name)` Set the name.
`void` IASTLabelStatement.`setName(IASTName name)` Set the name for a label.
`void` IASTIdExpression.`setName(IASTName name)` Sets the name to be used in the expression.
`void` IASTGotoStatement.`setName(IASTName name)` Set the name for a goto statement label.
`void` IASTEnumerationSpecifier.`setName(IASTName name)` Sets the enum's name.
`void` IASTEnumerationSpecifier.IASTEnumerator.`setName(IASTName name)` Set the enumerator's name.
`void` IASTElaboratedTypeSpecifier.`setName(IASTName name)` Sets the name.
`void` IASTDeclarator.`setName(IASTName name)` Sets the name of he declarator.
`void` IASTCompositeTypeSpecifier.`setName(IASTName name)` Sets the name for this composite type.
`int` ASTVisitor.`visit(IASTName name)`
`int` ASTNameCollector.`visit(IASTName name)`
`int` ASTGenericVisitor.`visit(IASTName name)`

Constructors in org.eclipse.cdt.core.dom.ast with parameters of type IASTName
Constructor and Description
`CompletionNameEntry(IASTName name, IASTNode parent)`
`ScopeLookupData(IASTName name, boolean resolve, boolean prefixLookup)`

### Uses of IASTName in org.eclipse.cdt.core.dom.ast.c

Methods in org.eclipse.cdt.core.dom.ast.c that return IASTName
`IASTName` ICASTFieldDesignator.`getName()` Returns the field name.

Methods in org.eclipse.cdt.core.dom.ast.c with parameters of type IASTName
`ICASTCompositeTypeSpecifier` ICNodeFactory.`newCompositeTypeSpecifier(int key, IASTName name)`
`ICASTElaboratedTypeSpecifier` ICNodeFactory.`newElaboratedTypeSpecifier(int kind, IASTName name)`
`ICASTEnumerationSpecifier` ICNodeFactory.`newEnumerationSpecifier(IASTName name)`
`ICASTFieldDesignator` ICNodeFactory.`newFieldDesignator(IASTName name)`
`ICASTKnRFunctionDeclarator` ICNodeFactory.`newKnRFunctionDeclarator(IASTName[] parameterNames, IASTDeclaration[] parameterDeclarations)`
`ICASTTypedefNameSpecifier` ICNodeFactory.`newTypedefNameSpecifier(IASTName name)`
`void` ICASTFieldDesignator.`setName(IASTName name)` Sets the field name.

### Uses of IASTName in org.eclipse.cdt.core.dom.ast.cpp

Subinterfaces of IASTName in org.eclipse.cdt.core.dom.ast.cpp
`interface` `ICPPASTConversionName` This interface represents a C++ conversion member function.
`interface` `ICPPASTName` AST node for names in C++ translation units.
`interface` `ICPPASTOperatorName` This interface represents a C++ overloaded operator member function name.
`interface` `ICPPASTQualifiedName` This interface is a qualified name in C++.
`interface` `ICPPASTTemplateId`
`interface` `ICPPASTTemplateName` This interface represents template names which use the template disambiguator keyword.

Methods in org.eclipse.cdt.core.dom.ast.cpp that return IASTName
`IASTName` ICPPASTNamespaceAlias.`getAlias()` Get the new alias name.
`IASTName` ICPPASTAliasDeclaration.`getAlias()` Returns the alias name.
`IASTName` ICPPASTCapture.`getIdentifier()` Returns the identifier for this capture or `null`, when `this`is captured.``
`IASTName` ICPPASTQualifiedName.`getLastName()` The last name is often semantically significant.
`IASTName` ICPPASTNamespaceAlias.`getMappingName()` Get the mapping name.
`IASTName` ICPPASTConstructorChainInitializer.`getMemberInitializerId()` Returns the name of the member.
`IASTName` ICPPASTUsingDeclaration.`getName()` Get the name.
`IASTName` ICPPASTTypenameExpression.`getName()` Deprecated. Get the name.
`IASTName` ICPPASTTemplatedTypeTemplateParameter.`getName()` Get the (optional) name of this template template parameter.
`IASTName` ICPPASTSimpleTypeTemplateParameter.`getName()` Returns the template parameter name.
`IASTName` ICPPASTPointerToMember.`getName()` Get the name.
`IASTName` ICPPASTNamespaceDefinition.`getName()` Returns the name of the namespace.
`IASTName` ICPPASTFieldDesignator.`getName()` Returns the field name.
`IASTName` ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier.`getName()` Deprecated. Use getNameSpecifier() instead.
`IASTName` ICPPASTUsingDirective.`getQualifiedName()` Get the qualified name.
`IASTName` ICPPASTTemplateId.`getTemplateName()` Returns the name of the template.

Methods in org.eclipse.cdt.core.dom.ast.cpp with parameters of type IASTName
`void` ICPPASTQualifiedName.`addName(IASTName name)` Adds a name segment.
`ICPPASTAliasDeclaration` ICPPNodeFactory.`newAliasDeclaration(IASTName aliasName, ICPPASTTypeId aliasedType)`
`ICPPASTArrayDeclarator` ICPPNodeFactory.`newArrayDeclarator(IASTName name)`
`ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier` ICPPNodeFactory.`newBaseSpecifier(IASTName name, int visibility, boolean isVirtual)` Deprecated. Replaced by `ICPPNodeFactory.newBaseSpecifier(ICPPASTNameSpecifier, int, boolean)`
`ICPPASTCompositeTypeSpecifier` ICPPNodeFactory.`newCompositeTypeSpecifier(int key, IASTName name)`
`ICPPASTConstructorChainInitializer` ICPPNodeFactory.`newConstructorChainInitializer(IASTName memberInitializerId, IASTExpression initializerValue)` Deprecated. Replaced by `ICPPNodeFactory.newConstructorChainInitializer(IASTName, IASTInitializer)`
`ICPPASTConstructorChainInitializer` ICPPNodeFactory.`newConstructorChainInitializer(IASTName id, IASTInitializer initializer)`
`ICPPASTDeclarator` ICPPNodeFactory.`newDeclarator(IASTName name)`
`ICPPASTElaboratedTypeSpecifier` ICPPNodeFactory.`newElaboratedTypeSpecifier(int kind, IASTName name)`
`ICPPASTEnumerationSpecifier` ICPPNodeFactory.`newEnumerationSpecifier(boolean isScoped, IASTName name, ICPPASTDeclSpecifier baseType)` Deprecated. Use `newEnumerationSpecifier(ScopeToken, IASTName, ICPPASTDeclSpecifier)` instead. If `isScoped == true` is passed `ScopeToken.CLASS` is assumed.
`ICPPASTEnumerationSpecifier` ICPPNodeFactory.`newEnumerationSpecifier(ICPPASTEnumerationSpecifier.ScopeStyle scopeStyle, IASTName name, ICPPASTDeclSpecifier baseType)`
`ICPPASTFieldDeclarator` ICPPNodeFactory.`newFieldDeclarator(IASTName name, IASTExpression bitFieldSize)`
`ICPPASTFieldDesignator` ICPPNodeFactory.`newFieldDesignator(IASTName name)`
`ICPPASTFieldReference` ICPPNodeFactory.`newFieldReference(IASTName name, IASTExpression owner)`
`ICPPASTFunctionDeclarator` ICPPNodeFactory.`newFunctionDeclarator(IASTName name)`
`ICPPASTNamedTypeSpecifier` ICPPNodeFactory.`newNamedTypeSpecifier(IASTName name)`
`ICPPASTNamespaceAlias` ICPPNodeFactory.`newNamespaceAlias(IASTName alias, IASTName qualifiedName)`
`ICPPASTNamespaceDefinition` ICPPNodeFactory.`newNamespaceDefinition(IASTName name)`
`ICPPASTPointerToMember` ICPPNodeFactory.`newPointerToMember(IASTName name)`
`ICPPASTSimpleTypeTemplateParameter` ICPPNodeFactory.`newSimpleTypeTemplateParameter(int type, IASTName name, IASTTypeId typeId)`
`ICPPASTTemplatedTypeTemplateParameter` ICPPNodeFactory.`newTemplatedTypeTemplateParameter(IASTName name, IASTExpression defaultValue)`
`ICPPASTTemplatedTypeTemplateParameter` ICPPNodeFactory.`newTemplatedTypeTemplateParameter(int type, IASTName name, IASTExpression defaultValue)`
`ICPPASTTemplateId` ICPPNodeFactory.`newTemplateId(IASTName templateName)`
`ICPPASTNamedTypeSpecifier` ICPPNodeFactory.`newTypedefNameSpecifier(IASTName name)`
`ICPPASTTypenameExpression` ICPPNodeFactory.`newTypenameExpression(IASTName qualifiedName, IASTExpression expr, boolean isTemplate)` Deprecated. Replaced by `ICPPNodeFactory.newSimpleTypeConstructorExpression(ICPPASTDeclSpecifier, IASTInitializer)`
`ICPPASTUsingDeclaration` ICPPNodeFactory.`newUsingDeclaration(IASTName name)`
`ICPPASTUsingDirective` ICPPNodeFactory.`newUsingDirective(IASTName name)`
`void` ICPPASTNamespaceAlias.`setAlias(IASTName name)` Set the new alias name.
`void` ICPPASTAliasDeclaration.`setAlias(IASTName aliasName)` Sets the alias name.
`void` ICPPASTCapture.`setIdentifier(IASTName identifier)` Not allowed on frozen AST.
`void` ICPPASTNamespaceAlias.`setMappingName(IASTName qualifiedName)` Set the mapping name.
`void` ICPPASTConstructorChainInitializer.`setMemberInitializerId(IASTName name)` Not allowed on frozen ast.
`void` ICPPASTUsingDeclaration.`setName(IASTName name)` Set the name.
`void` ICPPASTTypenameExpression.`setName(IASTName name)` Deprecated. Set the name.
`void` ICPPASTTemplatedTypeTemplateParameter.`setName(IASTName name)` Set the name of this template template parameter.
`void` ICPPASTSimpleTypeTemplateParameter.`setName(IASTName name)` Sets the template parameter name.
`void` ICPPASTPointerToMember.`setName(IASTName name)` Set the name.
`void` ICPPASTNamespaceDefinition.`setName(IASTName name)` Sets the name.
`void` ICPPASTFieldDesignator.`setName(IASTName name)` Sets the field name.
`void` ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier.`setName(IASTName name)` Deprecated. Use setNameSpecifier() instead.
`void` ICPPASTUsingDirective.`setQualifiedName(IASTName qualifiedName)` Set the qualified name.
`void` ICPPASTTemplateId.`setTemplateName(IASTName name)` Sets the name of the template.

### Uses of IASTName in org.eclipse.cdt.core.dom.ast.gnu.c

Methods in org.eclipse.cdt.core.dom.ast.gnu.c that return IASTName
`IASTName[]` ICASTKnRFunctionDeclarator.`getParameterNames()` Returns parameter names.

Methods in org.eclipse.cdt.core.dom.ast.gnu.c with parameters of type IASTName
`IASTDeclarator` ICASTKnRFunctionDeclarator.`getDeclaratorForParameterName(IASTName name)` Map declarator to IASTName.
`void` ICASTKnRFunctionDeclarator.`setParameterNames(IASTName[] names)` Sets the parameter names.

### Uses of IASTName in org.eclipse.cdt.core.model

Methods in org.eclipse.cdt.core.model that return IASTName
`IASTName[]` ILanguage.`getSelectedNames(IASTTranslationUnit ast, int start, int length)` Deprecated. replaced by `IASTTranslationUnit.getNodeSelector(String)`.
`IASTName[]` AssemblyLanguage.`getSelectedNames(IASTTranslationUnit ast, int start, int length)`