public class SchemeEvaluator extends java.lang.Object implements ThreadInitializerContainer<SchemeEvaluator>, ApplicationComponent, Evaluator, HasName
Modifier and Type | Class and Description |
---|---|
static interface |
SchemeEvaluator.SchemeEngineListener |
Constructor and Description |
---|
SchemeEvaluator() |
SchemeEvaluator(kawa.standard.Scheme scheme) |
SchemeEvaluator(kawa.standard.Scheme scheme,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
SchemeResult |
evaluate(java.lang.Runnable threadInitializer,
java.io.Reader schemeScript,
java.io.File currentDirectory,
java.io.File currentFile,
java.lang.String currentURI) |
static Evaluator |
getCurrent() |
ThreadInitializerCollection |
getDefaultInitializerCollection() |
java.lang.String |
getName() |
ApplicationComponent |
getParentApplicationComponent() |
kawa.standard.Scheme |
getScheme() |
java.util.List<SchemeEvaluator.SchemeEngineListener> |
getSchemeInitializerList() |
ThreadInitializer<SchemeEvaluator> |
getThreadInitializer() |
static void |
initializeCurrentThread(kawa.standard.Scheme scheme) |
static void |
initScheme(kawa.standard.Scheme scheme)
"loadRelative" was moved from
SchemeEvaluatorImplementation#evaluateScheme(Scheme, Runnable, Reader, File, File, String) |
static boolean |
isPresent() |
void |
newScheme() |
void |
processInit() |
void |
processQuit() |
void |
registerSchemeInitializer(SchemeEvaluator.SchemeEngineListener schemeEngineListener)
This method registers a specified initializer.
|
void |
reset() |
void |
setParentApplicationComponent(ApplicationComponent parentApplicationComponent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requestInit, requestQuit
evaluate, evaluate, evaluate, evaluate, evaluate, evaluate
getCaption
public SchemeEvaluator()
public SchemeEvaluator(kawa.standard.Scheme scheme)
public SchemeEvaluator(kawa.standard.Scheme scheme, java.lang.String name)
public ThreadInitializer<SchemeEvaluator> getThreadInitializer()
getThreadInitializer
in interface ThreadInitializerContainer<SchemeEvaluator>
public static Evaluator getCurrent()
public static boolean isPresent()
public ThreadInitializerCollection getDefaultInitializerCollection()
public ApplicationComponent getParentApplicationComponent()
getParentApplicationComponent
in interface ApplicationComponent
public void setParentApplicationComponent(ApplicationComponent parentApplicationComponent)
setParentApplicationComponent
in interface ApplicationComponent
public void processInit()
processInit
in interface ApplicationComponent
public void processQuit()
processQuit
in interface ApplicationComponent
public kawa.standard.Scheme getScheme()
public static final void initializeCurrentThread(kawa.standard.Scheme scheme)
public java.util.List<SchemeEvaluator.SchemeEngineListener> getSchemeInitializerList()
public void registerSchemeInitializer(SchemeEvaluator.SchemeEngineListener schemeEngineListener)
invokeSchemeInitializers()
public void newScheme()
public static void initScheme(kawa.standard.Scheme scheme)
SchemeEvaluatorImplementation#evaluateScheme(Scheme, Runnable, Reader, File, File, String)
public SchemeResult evaluate(java.lang.Runnable threadInitializer, java.io.Reader schemeScript, java.io.File currentDirectory, java.io.File currentFile, java.lang.String currentURI)