Hi!

I was wondering if it is possible using either the Mozilla Rhino or
maybe the version embedded in Java 1.6 (javax.script.*) to parse a
JavaScript source file one token at a time?

The reason I need to parse one token at a time is because the
JavaScript will be embedded using an ASP-style syntax in a HTML
source. So I have to switch between parsing HTML and JavaScript.

Is this possible and could someone suggest how I could do it?
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to