Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Rejected Re: [cdt-patch] patch to add IIndex#getReferences(IBinding) and IIndex#getDeclarations(IBinding)


We've decided (for the time being) that inflating IASTName's and IBinding's off the Index is a bad idea.
Instead, for finishing the Search Action/Content Assist features in 3.0, just construct a search query using a binding.  

JohnC
www.eclipse.org/cdt


cdt-patch-bounces@xxxxxxxxxxx wrote on 04/21/2005 10:54:07 AM:

>
> This patch includes:
> - new index/org.eclipse.cdt.internal.core.index.cindexstorage.dom package
>  -> contains classes required to mimic the DOM's IASTName and
> IBinding interfaces on the Index side of things, this way
> IEntryResult's stored in the IIndex can be returned as an IASTName instead
> - added IIndex#getReferences(IBinding) and IIndex#getDeclarations(IBinding)
> - added a placeholder for IIndex#getDefinition(IBinding)
> - added ASTTypeUtil#isConst(IType)
> - added CharArrayUtils#concat(char[], char) to concat
> IndexedOutput#TYPE_REF/IndexedOutput#TYPE_DECL with IndexedOutput#SOME_SUFFIX
>
> Notes:
> - might want to tweak Index#convertToIndexRefString(IBinding) and
> Index#convertToIndexDeclString(IBinding) so that in the future they
> also create IIndex search strings based on the structure of the
> IBinding... i.e. limit the result to names in the Index found in a
> particular namespace/class/etc
>
> Devin Steffler
> IBM's Eclipse CDT
> Ottawa (Palladium), Ontario, Canada
> [attachment "cdt_core_patch.txt" deleted by John Camelon/Ottawa/IBM]
> _______________________________________________
> cdt-patch mailing list
> cdt-patch@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-patch

Back to the top