| CompiledScript | Compilable. compile(Reader script) | Compiles the script (source read from Reader) for
 later execution. | 
| CompiledScript | Compilable. compile(String script) | Compiles the script (source represented as a String) for
 later execution. | 
| Object | AbstractScriptEngine. eval(Reader reader) | eval(Reader)calls the abstracteval(Reader, ScriptContext)passing the value of thecontextfield.
 | 
| Object | AbstractScriptEngine. eval(Reader reader,
    Bindings bindings) | eval(Reader, Bindings)calls the abstracteval(Reader, ScriptContext)method, passing it aScriptContextwhose Reader, Writers and Bindings for scopes other thatENGINE_SCOPEare identical to those members of the protectedcontextfield.
 | 
| Object | AbstractScriptEngine. eval(String script) | Same as eval(Reader)except that the abstracteval(String, ScriptContext)is used. | 
| Object | AbstractScriptEngine. eval(String script,
    Bindings bindings) | Same as eval(Reader, Bindings)except that the abstracteval(String, ScriptContext)is used. | 
| Object | CompiledScript. eval() | Executes the program stored in the CompiledScriptobject. | 
| Object | CompiledScript. eval(Bindings bindings) | Executes the program stored in the CompiledScriptobject using
 the suppliedBindingsof attributes as theENGINE_SCOPEof the
 associatedScriptEngineduring script execution. | 
| abstract Object | CompiledScript. eval(ScriptContext context) | Executes the program stored in this CompiledScriptobject. | 
| Object | ScriptEngine. eval(Reader reader) | Same as eval(String)except that the source of the script is
 provided as aReader | 
| Object | ScriptEngine. eval(Reader reader,
    Bindings n) | Same as eval(String, Bindings)except that the source of the script
 is provided as aReader. | 
| Object | ScriptEngine. eval(Reader reader,
    ScriptContext context) | Same as eval(String, ScriptContext)where the source of the script
 is read from aReader. | 
| Object | ScriptEngine. eval(String script) | Executes the specified script. | 
| Object | ScriptEngine. eval(String script,
    Bindings n) | Executes the script using the Bindingsargument as theENGINE_SCOPEBindingsof theScriptEngineduring the script execution. | 
| Object | ScriptEngine. eval(String script,
    ScriptContext context) | Causes the immediate execution of the script whose source is the String
 passed as the first argument. | 
| Object | Invocable. invokeFunction(String name,
              Object... args) | Used to call top-level procedures and functions defined in scripts. | 
| Object | Invocable. invokeMethod(Object thiz,
            String name,
            Object... args) | Calls a method on a script object compiled during a previous script execution,
 which is retained in the state of the ScriptEngine. |