On Jul 16, 12:22 am, Daniel Friesen <[email protected]>
wrote:
> org/mozilla/javascript/nativestring.j...@866-927 contains some generated
> code inside of it.
>
> I'm curious on how that section was generated.
>
> I'm writing a new class using NativeString as a reference since it is
> extremely similar to NativeString, so I'm curious about how to
> regenerate that section of code for my class.
> --
> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]

There's an "idswitch" tool in the Rhino distribution that generates
these. See the README at
http://mxr.mozilla.org/mozilla/source/js/rhino/toolsrc/org/mozilla/javascript/tools/idswitch/README.

--N
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to