Extend DLTK/JavaScript model [message #878925] |
Wed, 30 May 2012 08:12 |
Andreas Pakulat Messages: 127 Registered: July 2009 |
Senior Member |
|
|
Hi,
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?
|
|
|
Powered by
FUDForum. Page generated in 0.04389 seconds