Package | Description |
---|---|
com.threecrickets.scripturian | |
com.threecrickets.scripturian.adapter | |
com.threecrickets.scripturian.service |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<Object,ExecutionContext> |
Executable.enterableExecutionContexts
The execution contexts to be used for calls to
Executable.enter(Object, String, Object...) . |
Modifier and Type | Method and Description |
---|---|
static ExecutionContext |
ExecutionContext.getCurrent()
The execution context set for this thread.
|
ExecutionContext |
Executable.getEnterableExecutionContext(Object enteringKey)
The enterable execution context for an entering key.
|
ExecutionContext |
ExecutionContext.makeCurrent()
Sets this execution context for this thread.
|
Modifier and Type | Method and Description |
---|---|
Object |
LanguageAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments)
Enters the executable at a stored, named location.
|
void |
Program.execute(ExecutionContext executionContext)
Executes the program.
|
void |
Executable.execute(ExecutionContext executionContext)
Executes the executable.
|
void |
Executable.execute(ExecutionContext executionContext,
Object containerService,
ExecutionController executionController)
Executes the executable.
|
Object |
Executable.getContainerService(ExecutionContext executionContext)
The container service stored in the context, if it was set.
|
void |
ExecutionController.initialize(ExecutionContext executionContext)
Called before an executable is executed.
|
boolean |
Executable.makeEnterable(Object enteringKey,
ExecutionContext executionContext)
Makes an execution context enterable, in preparation for calling
enter(String, Object...) . |
boolean |
Executable.makeEnterable(Object enteringKey,
ExecutionContext executionContext,
Object containerService,
ExecutionController executionController)
Makes an execution context enterable, in preparation for calling
enter(String, Object...) . |
void |
ExecutionController.release(ExecutionContext executionContext)
Called after an executable is executed.
|
void |
LanguageAdapter.releaseContext(ExecutionContext executionContext)
Cleans up any resources used for an execution context.
|
Modifier and Type | Method and Description |
---|---|
Object |
RhinoAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments) |
Object |
JeppAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments) |
Object |
GroovyAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments) |
Object |
LuajAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments) |
Object |
ClojureAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments) |
Object |
LanguageAdapterBase.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments) |
Object |
NashornAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments) |
Object |
QuercusAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments) |
Object |
JRubyAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments) |
Object |
JythonAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments) |
Context |
RhinoAdapter.enterContext(ExecutionContext executionContext)
Enters a Rhino context stored in the execution context, creating it if it
doesn't exist.
|
void |
PegdownProgram.execute(ExecutionContext executionContext) |
void |
WikiTextProgram.execute(ExecutionContext executionContext) |
void |
ScalaProgram.execute(ExecutionContext executionContext) |
void |
ClojureProgram.execute(ExecutionContext executionContext) |
void |
LuajProgram.execute(ExecutionContext executionContext) |
void |
NashornProgram.execute(ExecutionContext executionContext) |
protected static void |
JythonAdapter.flush(PythonInterpreter pythonInterpreter,
ExecutionContext executionContext)
Flush stdout and stderr.
|
Binding |
GroovyAdapter.getBinding(ExecutionContext executionContext)
Gets a Groovy binding stored in the execution context, creating it if it
doesn't exist.
|
Caster<Object> |
SuccinctAdapter.getCaster(ExecutionContext executionContext) |
Object |
SuccinctAdapter.getCasterContext(ExecutionContext executionContext) |
static clojure.lang.Namespace |
ClojureAdapter.getClojureNamespace(ExecutionContext executionContext)
Gets a Clojure namespace stored in the execution context, creating it if
it doesn't exist.
|
Env |
QuercusAdapter.getEnvironment(ExecutionContext executionContext)
Gets a Quercus environment stored in the execution context, creating it
if it doesn't exist.
|
Filler |
SuccinctAdapter.getFiller(Executable executable,
ExecutionContext executionContext) |
Formatter |
SuccinctAdapter.getFormatter(ExecutionContext executionContext) |
Globals |
LuajAdapter.getGlobals(ExecutionContext executionContext)
Gets the Luaj globals instance associated with the execution context,
creating it if it doesn't exist.
|
jdk.nashorn.internal.runtime.ScriptObject |
NashornAdapter.getGlobalScope(ExecutionContext executionContext)
Gets the Nashorn global scope associated with the execution context,
creating it if it doesn't exist.
|
static Jep |
JeppAdapter.getJeppRuntime(Executable executable,
ExecutionContext executionContext)
Gets a Jepp runtime stored in the execution context, creating it if it
doesn't exist.
|
PythonInterpreter |
JythonAdapter.getPythonInterpreter(ExecutionContext executionContext,
Executable executable)
Gets a Python interpreter instance stored in the execution context,
creating it if it doesn't exist.
|
org.jruby.Ruby |
JRubyAdapter.getRubyRuntime(ExecutionContext executionContext)
Gets a Ruby runtime instance stored in the execution context, creating it
if it doesn't exist.
|
ScriptableObject |
RhinoAdapter.getScope(Executable executable,
ExecutionContext executionContext,
Context context,
int startLineNumber)
Gets the Rhino scope associated with the Rhino context of the execution
context, creating it if it doesn't exist.
|
TemplateSource |
SuccinctAdapter.getTemplateSource(ExecutionContext executionContext) |
void |
JeppAdapter.releaseContext(ExecutionContext executionContext) |
void |
ClojureAdapter.releaseContext(ExecutionContext executionContext) |
void |
LanguageAdapterBase.releaseContext(ExecutionContext executionContext) |
void |
QuercusAdapter.releaseContext(ExecutionContext executionContext) |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
ExecutableService.getContext()
This is the
ExecutionContext used by the document. |
Constructor and Description |
---|
DocumentService(Shell shell,
ExecutionContext executionContext)
Constructor.
|
ExecutableService(ExecutionContext executionContext,
LanguageManager languageManager,
ParserManager parserManager,
Object container)
Constructor.
|
Copyright © 2009-2015 Three Crickets LLC.