Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Re: JSDT InferEngine issues

2009/6/30 Marcus Better <marcus@xxxxxxxxx>:
> -----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.

Thanks for that bug report link! I concur.

Kind regards,
Anselm


Back to the top