Class JavaScriptScriptHelper

    • Constructor Detail

      • JavaScriptScriptHelper

        public JavaScriptScriptHelper​(Bindings bindings)
      • JavaScriptScriptHelper

        public JavaScriptScriptHelper​(Context context)
    • Method Detail

      • eval

        public Object eval​(String expr,
                           Bindings bindings)
                    throws ScriptException
        Description copied from interface: ScriptHelper
        Evaluate the given expression with the given bindings.
        Parameters:
        expr - the expression to evaluate
        bindings - the context bindings
        Returns:
        expression result
        Throws:
        ScriptException