On Jul 17, 1:04 am, [EMAIL PROTECTED] wrote:
> Any thoughts on this?  I've heard that other projects have done this
> but I cannot find any good information on how.

This is an often requested feature. Obviously Norris is expecting some
code for AST inspection soon:

http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/1eff23a8ee57b991/1872ad77e5bdd28b#1872ad77e5bdd28b

I once posted a patch that lets you access the tokens as you suggest
<https://bugzilla.mozilla.org/show_bug.cgi?id=386176> but it's a bit
problematic as the token parser is not 100% accurate, it fails on
regular expressions for example.

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

Reply via email to