public Object eval ( Bindings bindings , String expression ) throws ScriptException { CompiledScript compiledExpression = requireNonNull ( expressions . get ( expression ) ) ; Object returnValue = compiledExpression . eval ( bindings ) ; return convertNashornValue ( returnValue ) ; }
Evaluates an expression using the given bindings .