Package org.eclipse.cdt.core.dom.ast
Interface ICPPASTCompletionContext
- All Superinterfaces:
IASTCompletionContext
Interface for a code completion's context. Used for context-sensitive finding of bindings with a certain
name or prefix, including additional lookup requested namespaces.
- Since:
- 5.3
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionIBinding[]
findBindings
(IASTName n, boolean isPrefix, 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.Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTCompletionContext
findBindings
-
Method Details
-
findBindings
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.- Parameters:
n
- the name containing a prefixnamespaces
- the qualified names of additional namespaces to check for bindings, or null- Returns:
- valid bindings in this context for the given prefix
-