Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Extend DLTK/JavaScript model
Extend DLTK/JavaScript model [message #878925] Wed, 30 May 2012 04:12
Andreas Pakulat is currently offline 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?
Previous Topic:Status of dltk.ruby.* plugins
Next Topic:(no subject)
Goto Forum:
  


Current Time: Sat Jul 26 13:29:14 EDT 2014

Powered by FUDForum. Page generated in 0.01935 seconds