What is the best way to get the AST representation
(org.mozilla.javascript.Node or appropriate subclass) of an existing
function (one that was created by evaluation)? Currently I am calling
JS toString for the function and then creating a new Parser and
parsing that string, but seems pretty awkward. Is there a better way?
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to