Package | Description |
---|---|
org.scripthelper.context |
Contains the classes which manage the context for scripts.
|
org.scripthelper.debug |
The debug package.
|
org.scripthelper.debug.model |
Contain the source model.
|
org.scripthelper.exceptions |
Contains the classes which wrap script exceptions.
|
org.scripthelper.groovy |
Contains the classes which implements the Groovy scripts.
|
org.scripthelper.js |
Contains the classes which implements the Javascript scripts.
|
org.scripthelper.model |
Contains the classes which model the scripts and their methods.
|
org.scripthelper.python |
Contains the classes which implements the Python scripts.
|
org.scripthelper.ruby |
Contains the classes which implements the Ruby scripts.
|
org.scripthelper.swing.debug |
Contains the Swing helper classes for the debugging framework.
|
Modifier and Type | Method and Description |
---|---|
ScriptSource |
DefaultScriptContext.getScriptSource()
Return the script source.
|
ScriptSource |
ScriptContext.getScriptSource()
Return the script source.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultScriptContext.setScriptSource(ScriptSource source)
Set the Script source.
|
void |
ScriptContext.setScriptSource(ScriptSource source)
Set the Script source.
|
Modifier and Type | Method and Description |
---|---|
int |
DebugSession.getLineNumber(ScriptSource source,
int lineNumber,
boolean isException)
Return the effective line number of a line detected in the script runtime.
|
int |
DebugSourceModel.getLineNumber(ScriptSource source,
int lineNumber,
boolean isException)
Return the effective line number of a line detected in the script runtime.
|
default void |
DebugListener.installScript(ScriptSource source,
ScriptWrapper wrapper)
Called when a script is installed.
|
default boolean |
DebugListener.isScriptInstalled(ScriptSource source)
Return true if the script associated with a specified script source has already been installed.
|
Modifier and Type | Method and Description |
---|---|
int |
SourceModel.getLineNumber(ScriptSource source,
int lineNumber,
boolean isException)
Return the effective line number of a line detected in the script runtime.
|
Modifier and Type | Method and Description |
---|---|
ScriptSource |
AbstractScriptException.getSource()
Return the script source.
|
ScriptSource |
ScriptException.getSource()
Return the script source.
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractScriptException.getLineNumber(ScriptSource source,
int lineNumber)
Return the effective line number of a line detected in the script runtime.
|
int |
ScriptException.getLineNumber(ScriptSource source,
int lineNumber)
Return the effective line number of a line detected in the script runtime.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
GroovyScriptWrapper.getDefaultDeclaration(ScriptSource source,
boolean isCallingScript)
Return the default declaration lines at the start of the script.
|
protected boolean |
GroovyScriptWrapper.parseScript(ScriptSource source,
ScriptContent content) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
JSScriptWrapper.getDefaultDeclaration(ScriptSource source,
boolean isCallingScript)
Return the default declaration lines at the start of the script.
|
protected boolean |
JSScriptWrapper.parseScript(ScriptSource source,
ScriptContent content) |
Modifier and Type | Field and Description |
---|---|
protected ScriptSource |
AbstractScriptWrapper.source
The script source.
|
Modifier and Type | Method and Description |
---|---|
static ScriptSource |
ScriptSource.create(java.io.File file)
Create a ScriptSource with a File.
|
static ScriptSource |
ScriptSource.create(java.lang.String name)
Create a ScriptSource with a name and a null content.
|
static ScriptSource |
ScriptSource.create(java.net.URL url)
Create a ScriptSource with an URL.
|
ScriptSource |
ActiveScripts.getActiveEncodedScriptSource(java.lang.Object key)
Return the active script source for an encoded script key.
|
ScriptSource |
AbstractScriptWrapper.getActiveScriptSource(java.lang.String name)
Return the active script source for a script name.
|
ScriptSource |
ActiveScripts.getActiveScriptSource(java.lang.String name)
Return the active script source for an effective script name (including the extension).
|
ScriptSource |
ScriptWrapper.getActiveScriptSource(java.lang.String name)
Return the active script source for a script name.
|
ScriptSource |
ScriptWrapperCombiner.getActiveScriptSource(java.lang.String name)
Return the active script source for a script name.
|
ScriptSource |
AbstractScriptWrapper.getSource()
Return the script source.
|
ScriptSource |
ScriptWrapper.getSource()
Return the script source.
|
ScriptSource |
ScriptWrapperCombiner.getSource()
Return the script source.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractScriptWrapper.addActiveScript(java.lang.Object key,
ScriptSource source,
java.io.File file,
java.lang.Object script) |
int |
ScriptSource.compareTo(ScriptSource source)
Compares this ScriptSource with another ScriptSource.
|
ScriptWrapper<?> |
ScriptWrapperCombiner.findAndInstallScript(ScriptSource source,
java.lang.ClassLoader loader)
Create the script.
|
protected java.lang.String |
AbstractScriptWrapper.getAdditionalScriptContent(ScriptSource source)
Return additional script content, including helper and context fields.
|
protected java.lang.String |
AbstractScriptWrapper.getDefaultDeclaration(ScriptSource source,
boolean isCallingScript)
Return the default declaration lines at the start of the script.Return null by default.This method allows to declare that the script is an instance of
the Script interface.
|
int |
AbstractDebuggingScriptWrapper.getLineNumber(ScriptSource source,
int lineNumber)
Return the effective line number of a line detected in the script runtime.
|
int |
AbstractScriptWrapper.getLineNumber(ScriptSource source,
int lineNumber)
Return the effective line number of a line detected in the script runtime.
|
default int |
LineNumberConverter.getLineNumber(ScriptSource source,
int lineNumber)
Return the effective line number of a line detected in the script runtime.
|
default int |
ScriptWrapper.getLineNumber(ScriptSource source,
int lineNumber)
Return the effective line number of a line detected in the script runtime.
|
int |
AbstractDebuggingScriptWrapper.getLineNumber(ScriptSource source,
int lineNumber,
boolean isException)
Return the effective line number of a line detected in the script runtime.
|
int |
DefaultLineNumberConverter.getLineNumber(ScriptSource source,
int lineNumber,
boolean isException)
Return the effective line number of a line detected in the script runtime.
|
int |
LineNumberConverter.getLineNumber(ScriptSource source,
int lineNumber,
boolean isException)
Return the effective line number of a line detected in the script runtime.
|
default int |
ScriptWrapper.getLineNumber(ScriptSource source,
int lineNumber,
boolean isException)
Return the effective line number of a line detected in the script runtime.
|
default S |
ScriptWrapper.installScript(ScriptSource source)
Install the script, using the current context ClassLoader.
|
S |
AbstractScriptWrapper.installScript(ScriptSource source,
java.lang.ClassLoader loader)
Create the script.
|
S |
ScriptWrapper.installScript(ScriptSource source,
java.lang.ClassLoader loader)
Install the script.
|
java.lang.Object |
ScriptWrapperCombiner.installScript(ScriptSource source,
java.lang.ClassLoader loader)
Create the script.
|
protected abstract boolean |
AbstractScriptWrapper.parseScript(ScriptSource source,
ScriptContent content)
Parse the script content.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
PythonScriptWrapper.getDefaultDeclaration(ScriptSource source,
boolean isCallingScript)
Return the default declaration lines at the start of the script.
|
protected boolean |
PythonScriptWrapper.parseScript(ScriptSource source,
ScriptContent content) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
RubyScriptWrapper.getDefaultDeclaration(ScriptSource source,
boolean isCallingScript)
Return the default declaration lines at the start of the script.
|
protected boolean |
RubyScriptWrapper.parseScript(ScriptSource source,
ScriptContent content) |
Modifier and Type | Method and Description |
---|---|
void |
SwingDebugScriptWindow.installScript(ScriptSource source,
ScriptWrapper wrapper)
Called when a script is installed.
|
boolean |
SwingDebugScriptWindow.isScriptInstalled(ScriptSource source)
Return true if the script associated with a specified source has already been installed.
|
Copyright © 2019-2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence