Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast
Interface IBinding

All Known Subinterfaces:
ICExternalBinding, ICompositeType, ICPPBinding, ICPPClassTemplate, ICPPClassTemplatePartialSpecialization, ICPPClassType, ICPPConstructor, ICPPDeferredTemplateInstance, ICPPDelegate, ICPPField, ICPPFunction, ICPPFunctionTemplate, ICPPMember, ICPPMethod, ICPPNamespace, ICPPNamespaceAlias, ICPPParameter, ICPPSpecialization, ICPPTemplateDefinition, ICPPTemplateInstance, ICPPTemplateNonTypeParameter, ICPPTemplateParameter, ICPPTemplateTemplateParameter, ICPPTemplateTypeParameter, ICPPUsingDeclaration, ICPPVariable, IEnumeration, IEnumerator, IField, IFunction, ILabel, IMacroBinding, IParameter, IProblemBinding, ITypedef, IVariable

public interface IBinding

Represents the semantics of a name found in the AST or the index.


Field Summary
static IBinding[] EMPTY_BINDING_ARRAY
           
 
Method Summary
 org.eclipse.cdt.core.dom.ILinkage getLinkage()
          Every binding has a linkage.
 String getName()
          The name of the binding.
 char[] getNameCharArray()
          The name of the binding.
 IScope getScope()
          Every name has a scope.
 

Field Detail

EMPTY_BINDING_ARRAY

public static final IBinding[] EMPTY_BINDING_ARRAY
Method Detail

getName

public String getName()
The name of the binding.

Returns:
name

getNameCharArray

public char[] getNameCharArray()
The name of the binding.

Returns:
name

getScope

public IScope getScope()
                throws DOMException
Every name has a scope.

Returns:
the scope of this name
Throws:
DOMException

getLinkage

public org.eclipse.cdt.core.dom.ILinkage getLinkage()
                                             throws CoreException
Every binding has a linkage.

Throws:
CoreException

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.