You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Nitin Nizhawan (JIRA)" <ji...@apache.org> on 2015/11/09 08:55:10 UTC

[jira] [Updated] (SLING-5266) Adding org.mozilla.javascript.ast package in org.apache.sling.scripting.javascript bundle

     [ https://issues.apache.org/jira/browse/SLING-5266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nitin Nizhawan updated SLING-5266:
----------------------------------
    Attachment: SLING-5266.patch

Attaching patch for exporting org.mozilla.javascript.ast package. We need this package in one of our project. Our project needs to parse javascript source and get its AST using Rhino. 

Currently Sling Scripting Javascript Support only exports org.mozilla.javascript package which is sufficient for evaluating javascript using Rhino but for getting  access to parsed AST we need this additional package.

Thanks
Nitin

> Adding org.mozilla.javascript.ast package in org.apache.sling.scripting.javascript  bundle 
> -------------------------------------------------------------------------------------------
>
>                 Key: SLING-5266
>                 URL: https://issues.apache.org/jira/browse/SLING-5266
>             Project: Sling
>          Issue Type: Task
>          Components: General
>            Reporter: Mandeep Gandhi
>            Priority: Critical
>         Attachments: SLING-5266.patch
>
>
> There is a need of parsing javascript expression. For achieving this, there is a requirement of adding org.mozilla.javascript.ast package to the existing  bundle (org.apache.sling.scripting.javascript ) and exporting it. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)