Eclipse CDT
Pre-release 3.0

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


public interface IASTCompletionContext

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

This interface is not intended to be implemented by clients.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the CDT team.

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

public 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
Pre-release 3.0

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