Package | Description |
---|---|
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 |
Modifier and Type | Interface and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
static IASTName[] |
IASTName.EMPTY_NAME_ARRAY
Constant sentinel.
|
Modifier and Type | Method and Description |
---|---|
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)
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 |
IASTDeclarator.getName()
Returns the name of the declarator.
|
IASTName |
IASTNamedTypeSpecifier.getName()
Get the name.
|
IASTName |
IASTCompositeTypeSpecifier.getName()
Return the name for this composite type.
|
IASTName |
IASTLabelStatement.getName()
The name for 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 |
IASTIdExpression.getName()
Returns the name used in the expression.
|
IASTName |
IASTGotoStatement.getName()
Returns the name of the label.
|
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) |
Modifier and Type | Method and Description |
---|---|
void |
ASTCompletionNode.addName(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 |
IASTDeclarator.setName(IASTName name)
Sets the name of he declarator.
|
void |
IASTNamedTypeSpecifier.setName(IASTName name)
Set the name.
|
void |
IASTCompositeTypeSpecifier.setName(IASTName name)
Set the name for this composite type.
|
void |
IASTLabelStatement.setName(IASTName name)
Set the name for a 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 |
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.
|
int |
ASTVisitor.visit(IASTName name) |
int |
ASTNameCollector.visit(IASTName name) |
int |
ASTGenericVisitor.visit(IASTName name) |
Constructor and Description |
---|
ScopeLookupData(IASTName name,
boolean resolve,
boolean prefixLookup) |
Modifier and Type | Method and Description |
---|---|
IASTName |
ICASTFieldDesignator.getName()
Returns the field name.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Interface and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
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 |
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 |
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 |
ICPPASTFieldDesignator.getName()
Returns the field name.
|
IASTName |
ICPPASTUsingDeclaration.getName()
Get the name.
|
IASTName |
ICPPASTTypenameExpression.getName()
Deprecated.
Get the name.
|
IASTName |
ICPPASTNamespaceDefinition.getName()
Returns the name of the namespace.
|
IASTName |
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier.getName()
Deprecated.
Use getNameSpecifier() instead.
|
IASTName |
ICPPASTUsingDirective.getQualifiedName()
Get the qualified name.
|
IASTName |
ICPPASTTemplateId.getTemplateName()
Returns the name of the template.
|
Modifier and Type | Method and Description |
---|---|
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.
|
ICPPASTCompositeTypeSpecifier |
ICPPNodeFactory.newCompositeTypeSpecifier(int key,
IASTName name) |
ICPPASTConstructorChainInitializer |
ICPPNodeFactory.newConstructorChainInitializer(IASTName memberInitializerId,
IASTExpression initializerValue)
Deprecated.
|
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) |
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) |
ICPPASTTemplateId |
ICPPNodeFactory.newTemplateId(IASTName templateName) |
ICPPASTNamedTypeSpecifier |
ICPPNodeFactory.newTypedefNameSpecifier(IASTName name) |
ICPPASTTypenameExpression |
ICPPNodeFactory.newTypenameExpression(IASTName qualifiedName,
IASTExpression expr,
boolean isTemplate)
Deprecated.
|
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 |
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 |
ICPPASTFieldDesignator.setName(IASTName name)
Sets the field name.
|
void |
ICPPASTUsingDeclaration.setName(IASTName name)
Set the name.
|
void |
ICPPASTTypenameExpression.setName(IASTName name)
Deprecated.
Set the name.
|
void |
ICPPASTNamespaceDefinition.setName(IASTName name)
Sets the 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.
|
Modifier and Type | Method and Description |
---|---|
IASTName[] |
ICASTKnRFunctionDeclarator.getParameterNames()
Returns parameter names.
|
Modifier and Type | Method and Description |
---|---|
IASTDeclarator |
ICASTKnRFunctionDeclarator.getDeclaratorForParameterName(IASTName name)
Map declarator to IASTName.
|
void |
ICASTKnRFunctionDeclarator.setParameterNames(IASTName[] names)
Sets the parameter names.
|
Modifier and Type | Method and Description |
---|---|
IASTName[] |
AssemblyLanguage.getSelectedNames(IASTTranslationUnit ast,
int start,
int length) |
IASTName[] |
ILanguage.getSelectedNames(IASTTranslationUnit ast,
int start,
int length)
Deprecated.
replaced by
IASTTranslationUnit.getNodeSelector(String) . |
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.