Eclipse CDT
7.0

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

All Known Subinterfaces:
ICPPASTCompletionContext

public interface IASTCompletionContext

Interface for a code completion's context. Used for context-sensitive finding of bindings with a certain name or prefix.

Since:
4.0

Method Summary
 IBinding[] findBindings(IASTName n, boolean isPrefix)
          Returns bindings that start with the given name or prefix, only considering those that are valid for this context.
 

Method Detail

findBindings

IBinding[] findBindings(IASTName n,
                        boolean isPrefix)
Returns bindings that start with the given name or prefix, only considering those that are valid for this context.

Parameters:
n - the name containing a prefix
Returns:
valid bindings in this context for the given prefix

Eclipse CDT
7.0

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