Lines Matching refs:eval

32  * Provides a standard implementation for several of the variants of the <code>eval</code>
35 * <code><b>eval(Reader)</b></code><p><code><b>eval(String)</b></code><p>
36 * <code><b>eval(String, Bindings)</b></code><p><code><b>eval(Reader, Bindings)</b></code>
39 * <code><b>eval(Reader,ScriptContext)</b></code> or
40 * <code><b>eval(String, ScriptContext)</b></code>
192 * <code>eval(Reader, Bindings)</code> calls the abstract
193 * <code>eval(Reader, ScriptContext)</code> method, passing it a <code>ScriptContext</code>
204 * @return The return value from <code>eval(Reader, ScriptContext)</code>
208 public Object eval(Reader reader, Bindings bindings ) throws ScriptException {
212 return eval(reader, ctxt);
217 * Same as <code>eval(Reader, Bindings)</code> except that the abstract
218 * <code>eval(String, ScriptContext)</code> is used.
225 * @return The return value from <code>eval(String, ScriptContext)</code>
229 public Object eval(String script, Bindings bindings) throws ScriptException {
233 return eval(script , ctxt);
237 * <code>eval(Reader)</code> calls the abstract
238 * <code>eval(Reader, ScriptContext)</code> passing the value of the <code>context</code>
242 * @return The return value from <code>eval(Reader, ScriptContext)</code>
246 public Object eval(Reader reader) throws ScriptException {
249 return eval(reader, context);
253 * Same as <code>eval(Reader)</code> except that the abstract
254 * <code>eval(String, ScriptContext)</code> is used.
257 * @return The return value from <code>eval(String, ScriptContext)</code>
261 public Object eval(String script) throws ScriptException {
264 return eval(script, context);
281 * A <code>SimpleScriptContext</code> returned by this method is used to implement eval methods
282 * using the abstract <code>eval(Reader,Bindings)</code> and <code>eval(String,Bindings)</code>