Extend DLTK/JavaScript modelhttps://www.eclipse.org/forums/index.php/mv/msg/356892/878925/#msg_878925
I'm looking for documentation on how I can extend the DLTK/JavaScript model to supply my own import-mechanism. I've got a JS interpreter here that uses 2 JS functions built into the interpreter to source additional JS files. DLTK/JavaScript warns about any functions coming from such external files and I'd like to extend it to understand the semantics of these two functions.

I've looked into the org.eclipse.dltk.javascript.core.typeinfo extension point and experimented with that, but am a bit lost as to what public API I should look for to teach DLTK/JavaScript that my source() function acts like an import-statement.

Or would this require patching the DLTK/JS code? If so, where should I start looking there?]]>Andreas Pakulat2012-05-30T08:12:19-00:00