I would try one of two tactics. First, I'd investigate if
write out Emacs Lisp code that would fabricate in Emacs the right kind
of tag structure.
Otherwise, I'd likely see if I couldn't make a 1-off regexp parser
in Emacs for the Ecma-262.pdf (as .txt) file, and have that create an
internal tag structure.
In both cases above the tags would need to be written out using the
semanticdb-system database type which, or some derivative thereof.
database, or for users to make a database based on the version of JS
If I recall, there is no structure in the current parser so the code
above would have to fabricate the concept in the database in a way
that the regular tools treat it as a structure in the DB even though
the parser won't create those types of tags.
>>> joakim@... seems to think that:
>Its implementation would be very similar to the semanticdb-el one.
>I was thinking it could be done like this:
>- define a definitions.js file looking like:
>the definitions are from:
>- make a small function that recurses the tags and compiles them to a
> (("x" variable nil
>_ implement the tag search functions to search this structure
>The more difficult issue is how to handle things like
>Function.prototype.toString() etc. Any hints?