Modifier and Type | Field and Description |
---|---|
protected Executable |
ExecutionContext.enterableExecutable
Non-null if this context is enterable.
|
Modifier and Type | Method and Description |
---|---|
static Executable |
Executable.createOnce(DocumentDescriptor<Executable> documentDescriptor,
String parserName,
ParsingContext parsingContext)
If the executable does not yet exist in the document descriptor,
retrieves the source code and parses it into a compact, optimized,
executable.
|
Executable |
ExecutionContext.getEnterableExecutable()
Non-null if this context is enterable.
|
Modifier and Type | Method and Description |
---|---|
static DocumentDescriptor<Executable> |
Executable.createOnce(String documentName,
String parserName,
ParsingContext parsingContext)
If the executable does not yet exist in the document source, retrieves
the source code and parses it into a compact, optimized, executable.
|
DocumentSource<Executable> |
ParsingContext.getDocumentSource()
A document source used to store on-the-fly documents created during
parsing.
|
CopyOnWriteArrayList<DocumentSource<Executable>> |
Main.getLibrarySources() |
DocumentSource<Executable> |
Main.getSource() |
Modifier and Type | Method and Description |
---|---|
void |
ExecutableSegment.createProgram(Executable executable,
LanguageManager manager,
boolean prepare,
boolean debug)
Creates a program for this segment using the appropriate language
adapter.
|
Program |
LanguageAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable)
Turns source code into a program.
|
Object |
LanguageAdapter.enter(String entryPointName,
Executable executable,
ExecutionContext executionContext,
Object... arguments)
Enters the executable at a stored, named location.
|
String |
LanguageAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable)
Creates source code for including the output of a text-with-scriptlets
document.
|
String |
LanguageAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable)
Creates source code for outputting a source code expression to standard
output.
|
String |
LanguageAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable)
Creates source code for outputting literal text to standard output.
|
Collection<ExecutableSegment> |
Parser.parse(String sourceCode,
ParsingContext parsingContext,
Executable executable)
Parses source code, turning it into executable segments.
|
Modifier and Type | Method and Description |
---|---|
static Executable |
Executable.createOnce(DocumentDescriptor<Executable> documentDescriptor,
String parserName,
ParsingContext parsingContext)
If the executable does not yet exist in the document descriptor,
retrieves the source code and parses it into a compact, optimized,
executable.
|
void |
ParsingContext.setDocumentSource(DocumentSource<Executable> documentSource) |
void |
Main.setSource(DocumentSource<Executable> documentSource) |
Modifier and Type | Field and Description |
---|---|
protected Executable |
ProgramBase.executable
The executable.
|
Modifier and Type | Method and Description |
---|---|
static ExecutionException |
RhinoAdapter.createExecutionException(Executable executable,
Exception x)
Creates an execution exception with a full stack.
|
static ExecutionException |
QuercusAdapter.createExecutionException(Executable executable,
Exception x)
Creates an execution exception with a full stack.
|
static ExecutionException |
GroovyAdapter.createExecutionException(Executable executable,
int startLineNumber,
Exception x)
Creates an execution exception with a full stack.
|
static ParsingException |
QuercusAdapter.createParsingException(Executable executable,
QuercusParseException x) |
Program |
RhinoAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
JeppAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
ScalaAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
GroovyAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
LuajAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
PegdownAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
WikiTextAdapterBase.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
ClojureAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
VelocityAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
NashornAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
QuercusAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
SuccinctAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
JRubyAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
Program |
JythonAdapter.createProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable) |
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) |
Filler |
SuccinctAdapter.getFiller(Executable executable,
ExecutionContext executionContext) |
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.
|
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.
|
String |
RhinoAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
JeppAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
GroovyAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
LuajAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
ClojureAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
VelocityAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
LanguageAdapterBase.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
NashornAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
QuercusAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
SuccinctAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
JRubyAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
JythonAdapter.getSourceCodeForExpressionInclude(String expression,
Executable executable) |
String |
RhinoAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
JeppAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
GroovyAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
LuajAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
ClojureAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
VelocityAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
LanguageAdapterBase.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
NashornAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
QuercusAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
SuccinctAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
JRubyAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
JythonAdapter.getSourceCodeForExpressionOutput(String expression,
Executable executable) |
String |
RhinoAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
JeppAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
GroovyAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
LuajAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
ClojureAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
VelocityAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
LanguageAdapterBase.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
NashornAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
QuercusAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
SuccinctAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
JRubyAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
String |
JythonAdapter.getSourceCodeForLiteralOutput(String literal,
Executable executable) |
Constructor and Description |
---|
ClojureProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable,
ClojureAdapter adapter)
Constructor.
|
LuajProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable,
LuajAdapter adapter)
Constructor.
|
NashornProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable,
NashornAdapter adapter)
Constructor.
|
PegdownProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable,
PegdownAdapter adapter)
Constructor.
|
ProgramBase(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable,
A adapter)
Constructor.
|
ScalaProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable,
ScalaAdapter adapter)
Constructor.
|
WikiTextProgram(String sourceCode,
boolean isScriptlet,
int position,
int startLineNumber,
int startColumnNumber,
Executable executable,
WikiTextAdapterBase adapter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Executable |
ExecutionException.getExecutable()
The associated executable.
|
Executable |
ParsingException.getExecutable()
The associated executable.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutionException.setExectable(Executable executable) |
void |
ParsingException.setExectable(Executable executable) |
Modifier and Type | Method and Description |
---|---|
Collection<ExecutableSegment> |
MixedParser.optimize(Collection<ExecutableSegment> segments,
ParsingContext parsingContext,
Executable executable) |
Collection<ExecutableSegment> |
LiteralParser.parse(String sourceCode,
ParsingContext parsingContext,
Executable executable) |
Collection<ExecutableSegment> |
ProgramParser.parse(String sourceCode,
ParsingContext parsingContext,
Executable executable) |
Collection<ExecutableSegment> |
ScriptletsParser.parse(String sourceCode,
ParsingContext parsingContext,
Executable executable) |
Modifier and Type | Method and Description |
---|---|
CopyOnWriteArrayList<DocumentSource<Executable>> |
Shell.getLibrarySources()
The additional document sources to use.
|
CopyOnWriteArrayList<DocumentSource<Executable>> |
DocumentService.getLibrarySources()
The additional document sources to use.
|
DocumentSource<Executable> |
Shell.getSource()
Used to load the executables.
|
DocumentSource<Executable> |
DocumentService.getSource()
The document source.
|
Modifier and Type | Method and Description |
---|---|
Executable |
DefrostTask.call() |
Constructor and Description |
---|
DefrostTask(DocumentDescriptor<Executable> documentDescriptor,
ParsingContext parsingContext)
Constructor.
|
Copyright © 2009-2015 Three Crickets LLC.