public final class PrologScriptEngine extends AbstractScriptEngine implements ScriptEngine
ScriptEngine
context
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME
Modifier and Type | Method and Description |
---|---|
Bindings |
createBindings() |
Object |
eval(Reader reader) |
Object |
eval(Reader reader,
Bindings bindings) |
Object |
eval(Reader reader,
ScriptContext context) |
Object |
eval(String string) |
Object |
eval(String script,
Bindings bindings) |
Object |
eval(String script,
ScriptContext context) |
ScriptEngineFactory |
getFactory() |
PrologProvider |
getProvider() |
get, getBindings, getContext, getScriptContext, put, setBindings, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getBindings, getContext, put, setBindings, setContext
public Bindings createBindings()
createBindings
in interface ScriptEngine
public ScriptEngineFactory getFactory()
getFactory
in interface ScriptEngine
public Object eval(String script, ScriptContext context) throws ScriptException
eval
in interface ScriptEngine
ScriptException
public Object eval(Reader reader, ScriptContext context) throws ScriptException
eval
in interface ScriptEngine
ScriptException
public Object eval(Reader reader, Bindings bindings) throws ScriptException
eval
in interface ScriptEngine
eval
in class AbstractScriptEngine
ScriptException
public Object eval(String script, Bindings bindings) throws ScriptException
eval
in interface ScriptEngine
eval
in class AbstractScriptEngine
ScriptException
public Object eval(String string) throws ScriptException
eval
in interface ScriptEngine
eval
in class AbstractScriptEngine
ScriptException
public Object eval(Reader reader) throws ScriptException
eval
in interface ScriptEngine
eval
in class AbstractScriptEngine
ScriptException
public PrologProvider getProvider()
Copyright © 2020–2024 Prolobjectlink Project. All rights reserved.