Hi,
i'm french developer so excuse my English.
Here is my goal: I want to parse javascript instructions block, into a
tree representation (this part is working : I use class Parser,
CompilerEnvirons, ErrorReport, Reader), with Javascript engine Rhino.
Then I want to make some modifications in this tree to get exploitable
javascript code in java-gwt class. So I can transform my tree with
visitors, getter, setter from the ScriptOrFnNode class. But the real
pb is here: when I use the Decompiler class to re-create my new
javascript code, one of parameter is the encoded source of the
original javascript code . So there isn't some link between my tree
and the encoded source. I can't rebuild my modified code!!!
Is there exists a way to connect those two representations of my
javascript code? Can I transform the encoded source as I transform the
ScriptOrFnNode?
Thanks for your reply
Regards
Thomas Vantard
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to