[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.dltk] Teaching DLTK third party APIs: What is a HostCollection?

Hello everyone.

Trying to find a good place to add a mechanism to make third party APIs (which are typically not implemented in script files themselves, but are rather extensions of/in the underlying JavaScript interpreter (think of JScript (with COM access, etc.) in WSH & MS Office, JavaScript in Adobe products with application specific extensions, etc.) I have come across a class called "HostCollection" (in org.eclipse.dltk.internal.javascript.typeinference).

My naive interpretation of its name would be "it's a collection of hostnames, IP addresses or so", but that seems far from it, as it seems to be used in code completion for JavaScript.

Can someone shed some light on what this class is and does, or on the workings of code completion in the DLTK or the JavaScript implementation with regards to hooking up meta information about third party APIs; even adding "dummy source files" which contain the API interfaces would be okay for starters?

Thanks in advance.



With best regards

Clemens Anhuth


-- www.froglogic.com - Squish - Multi-Platform GUI Testing