public interface IBinding
|Modifier and Type||Method and Description|
Returns the linkage the binding belongs to.
Returns the unqualified name of the binding as a string.
Returns the unqualified name of the binding as an array of characters.
Returns the binding that owns this binding, or
Returns the parent scope for this binding.
static final IBinding EMPTY_BINDING_ARRAY
nullif there is no owner.
The owner is determined as follows:
ICPPUsingDeclaration: The owner depends on where the declaration is found,
within a function or method, a class-type, a namespace or on global scope.
ICPPTemplateParameter: The owner is the
IEnumerator: The owner is the
IEnumeration, independent of whether they
are scoped or not.
For all other bindings: The owner depends on where the binding can be defined (it could be declared elsewhere).
Possible owners are:
IFunction: for parameters, local types, variables, enumerators, labels and using
Closure represented by
ICPPClassType: for lambda expression parameters;
ICPPClassType: for class-, struct- and union-members, even if the composite type
is anonymous; also for enumerators and using declarations;
ICompositeType: for struct- and union-members, even if the composite type is
anonymous; also for anonymous structs or unions found within another struct;
ICPPNamespace: for global types, functions, variables, enumerators, namespaces
and using declarations;
IEnumeration: for enumerators.
null: for types, functions, variables, namespaces and using declarations;
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.