Hi, I like to use Rhino to parse a JS file and insert statement at the beginning and end of a function.
e.g
myFunction() {
doSomething();
}
is converted to
myFunction() {
trace.start('myFunction');
doSomething();
trace.end('myFunction');
}
Is it possible using Rhino?
Thanks.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
