Class JavaScriptEvaluatorScope


  • public class JavaScriptEvaluatorScope
    extends Object
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Method Detail

      • ensureContext

        protected void ensureContext()
      • evaluateExpression

        public Object evaluateExpression​(org.mozilla.javascript.Script expression)
      • evaluateExpression

        public Object evaluateExpression​(String expression)
      • setScopeVariable

        public void setScopeVariable​(String name,
                                     Object value)
      • getCompiledExpression

        protected org.mozilla.javascript.Script getCompiledExpression​(String expression)
      • enter

        protected org.mozilla.javascript.Context enter​(org.mozilla.javascript.Context context)