-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anselm R Garbe wrote: > I'm working on a Eclipse Plug-In that reads some JS API definitions > from a WebIDL[2] input parser. But instead parsing JS library input to > declare my JS API definitions, I'd really like to extend the existing > InferEngine during runtime in a more programmatic way. I grep'ed > through the source and conclude that I'd need to inject my definitions > into the InferEngine.Context class, unfortunately that has been > declared with restricted package scope access only.
I don't know how to do this, but there is an open bug report about similar issues: https://bugs.eclipse.org/bugs/show_bug.cgi?id=242162 I'm not sure if the InferEngine is the right solution if you are not parsing JS code, since it is basically an AST visitor. I'm also very interested in finding out if there is a simpler approach. Cheers, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpKXyMACgkQXjXn6TzcAQklfwCg56E/sCMuR2Ah1/EnDM4S2LT7 adgAn0rp2Rc+SFbY+aRMHGCiPSxtmfpx =OVW4 -----END PGP SIGNATURE----- _______________________________________________ wtp-dev mailing list wtp-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/wtp-dev