Currently Sling Scripting Javascript Support only exports org.mozilla.javascript package which is sufficient for evaluating javascript using Rhino but to convert expressions to parsed AST we need org.mozilla.javascript.ast. I have logged [0]<https://issues.apache.org/jira/browse/SLING-5266> for the same and raised a pull request [1]<https://github.com/apache/sling/pull/110> to export relevant packages.
Kindly merge the pull request as we would need this package in our project. Thanks, Mandeep Gandhi ( ifconfig) [0] - https://issues.apache.org/jira/browse/SLING-5266 [1] - https://github.com/apache/sling/pull/110
