Modifier and Type | Class and Description |
---|---|
class |
BeanshellScriptLanguage
An adapter of the BeanShell interpreter to the SciJava scripting interface.
|
Modifier and Type | Class and Description |
---|---|
class |
ClojureScriptLanguage
An adapter of the Clojure interpreter to the SciJava scripting interface.
|
Modifier and Type | Class and Description |
---|---|
class |
GroovyScriptLanguage
An adapter of the Groovy interpreter to the SciJava scripting interface.
|
Modifier and Type | Class and Description |
---|---|
class |
JavaScriptLanguage
Provides Java as a
ScriptLanguage . |
Modifier and Type | Class and Description |
---|---|
class |
JavaScriptScriptLanguage
An adapter of the JavaScript interpreter to the SciJava scripting interface.
|
Modifier and Type | Class and Description |
---|---|
class |
JRubyScriptLanguage
An adapter of the JRuby interpreter to the SciJava scripting interface.
|
Modifier and Type | Method and Description |
---|---|
protected Class<? extends ScriptLanguage> |
JRubyScriptHeader.handledType() |
Modifier and Type | Class and Description |
---|---|
class |
JythonScriptLanguage
An adapter of the Jython interpreter to the SciJava scripting interface.
|
Modifier and Type | Class and Description |
---|---|
class |
KotlinScriptLanguage
A SciJava
ScriptLanguage for Kotlin. |
Modifier and Type | Class and Description |
---|---|
class |
MATLABScriptLanguage
An adapter of the MATLAB interpreter to ImageJ's scripting interfaces.
|
Modifier and Type | Class and Description |
---|---|
class |
RenjinScriptLanguage
An adapter of the R interpreter to the SciJava scripting interface.
|
Modifier and Type | Class and Description |
---|---|
class |
ScalaScriptLanguage
An adapter of the Scala interpreter to the SciJava scripting interface.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractScriptLanguage
Abstract superclass for
ScriptLanguage implementations. |
class |
AdaptedScriptLanguage
Abstract superclass for
ScriptLanguage implementations which adapt an
existing ScriptEngineFactory . |
Modifier and Type | Method and Description |
---|---|
ScriptLanguage |
ScriptLanguageIndex.getByExtension(String extension) |
ScriptLanguage |
ScriptLanguageIndex.getByName(String name) |
ScriptLanguage |
ScriptModule.getLanguage()
Deprecated.
Use
ScriptInfo.getLanguage() instead. |
ScriptLanguage |
ScriptInterpreter.getLanguage()
Returns the associated
ScriptLanguage . |
ScriptLanguage |
ScriptInfo.getLanguage()
Gets the scripting language of the script.
|
ScriptLanguage |
DefaultScriptInterpreter.getLanguage() |
default ScriptLanguage |
ScriptService.getLanguageByExtension(String extension)
Gets the scripting language that handles the given file extension.
|
default ScriptLanguage |
ScriptService.getLanguageByName(String name)
Gets the scripting language with the given name.
|
Modifier and Type | Method and Description |
---|---|
List<ScriptLanguage> |
ScriptREPL.getInterpretedLanguages()
Gets the list of languages compatible with the REPL.
|
default List<ScriptLanguage> |
ScriptService.getLanguages()
Gets the available scripting languages.
|
default Class<ScriptLanguage> |
ScriptService.getPluginType() |
default Class<ScriptLanguage> |
ScriptHeaderService.getType() |
default Class<ScriptLanguage> |
ScriptHeader.getType() |
protected abstract Class<? extends ScriptLanguage> |
AbstractScriptHeader.handledType() |
Modifier and Type | Method and Description |
---|---|
boolean |
ScriptLanguageIndex.add(ScriptLanguage language) |
String[] |
ScriptLanguageIndex.getFileExtensions(ScriptLanguage language) |
default String |
ScriptHeaderService.getHeader(ScriptLanguage language)
Searches for all
ScriptHeader s capable of handling the given
ScriptLanguage and combines the result of their
ScriptHeader.getHeader() output to a single string. |
void |
ScriptREPL.lang(ScriptLanguage language)
Creates a new
ScriptInterpreter to interpret statements, preserving
existing variables from the previous interpreter. |
void |
ScriptModule.setLanguage(ScriptLanguage scriptLanguage)
Deprecated.
Use
ScriptInfo.setLanguage(ScriptLanguage) instead. |
void |
ScriptInfo.setLanguage(ScriptLanguage scriptLanguage)
Overrides the script language to use when executing the script.
|
boolean |
AbstractScriptHeader.supports(ScriptLanguage language) |
Constructor and Description |
---|
AbstractAutoCompleter(ScriptLanguage scriptLanguage) |
DefaultAutoCompleter(ScriptLanguage scriptLanguage) |
DefaultScriptInterpreter(PrefService prefs,
ScriptService scriptService,
ScriptLanguage language)
Deprecated.
Use
DefaultScriptInterpreter(ScriptLanguage) instead. |
DefaultScriptInterpreter(ScriptLanguage language)
Creates a new script interpreter for the given script language.
|
DefaultScriptInterpreter(ScriptLanguage language,
ScriptEngine engine)
Creates a new script interpreter for the given script language, using the
specified script engine.
|
Modifier and Type | Method and Description |
---|---|
ScriptLanguage |
SnippetSearchResult.language() |
Constructor and Description |
---|
SnippetSearchResult(ScriptLanguage language,
String snippet) |
Modifier and Type | Method and Description |
---|---|
ScriptLanguage |
TextEditor.getCurrentLanguage() |
ScriptLanguage |
EditorPane.getCurrentLanguage()
Get
ScriptLanguage used for this EditorPane . |
Modifier and Type | Method and Description |
---|---|
static Object |
DefaultAutoImporters.getImportGenerator(Context context,
ScriptLanguage language) |
org.fife.rsta.ac.LanguageSupport |
LanguageSupportService.getLanguageSupport(ScriptLanguage language)
Get a
LanguageSupport for the given language. |
org.fife.rsta.ac.LanguageSupport |
DefaultLanguageSupportService.getLanguageSupport(ScriptLanguage language) |
void |
TextEditor.loadTemplate(URL url,
ScriptLanguage language) |
protected void |
EditorPane.setLanguage(ScriptLanguage language)
Set the language of this
EditorPane . |
protected void |
EditorPane.setLanguage(ScriptLanguage language,
boolean addHeader)
Set the language of this
EditorPane , optionally adding a header. |
Constructor and Description |
---|
ErrorHandler(ScriptLanguage language,
JTextArea textArea,
int startOffset) |
Copyright © 2015–2022 SciJava. All rights reserved.