Package | Description |
---|---|
jfun.jaskell |
Provides classes and interfaces for compiling and running jaskell code.
|
jfun.jaskell.bsf |
Provides Apache Bean Scriting Framework support for Jaskell.
|
jfun.jaskell.conf |
Provides a simple configuration solution using the Jaskell language.
|
jfun.jaskell.jet |
Provides Jet (Jaskell Engine of Template) support.
|
jfun.jaskell.junit |
Provides classes that support writing junit test cases in jaskell script.
|
jfun.jaskell.shell |
Provides shell for interactive and batch interpretation.
|
Modifier and Type | Method and Description |
---|---|
Jaskell |
Jaskell.addClasses(java.lang.String[] names,
java.lang.Class[] types)
Register classes under different names.
|
Jaskell |
Jaskell.addMethod(java.lang.Class type,
java.lang.String name,
Function f)
Add a function whose name is local to a certain object type.
|
Jaskell |
Jaskell.addSysPackage(java.lang.String prefix)
Create a new Jaskell object by adding a prefix for a system package
so that dynamically created ClassLoader objects will always use parent-first
policy for packages starting with this prefix.
|
static Jaskell |
Jaskell.defaultInstance()
Create a default instance of Jaskell runtime.
|
static Jaskell |
Jaskell.defaultInstance(java.lang.ClassLoader cloader)
Create a default instance of Jaskell that includes
all built-in functions.
|
Jaskell |
Jaskell.disableImport()
Disables the ability to import jaskell module.
|
Jaskell |
Jaskell.dropValue(java.lang.String fullname)
Drop a value from a runtime.
|
Jaskell |
Jaskell.enableImport()
Enables the ability to import jaskell module.
|
Jaskell |
Jaskell.importClass(java.lang.Class type)
Import a java class and its public static nested classes
as a tuple under the class name.
|
Jaskell |
Jaskell.importClass(java.lang.String fullname,
java.lang.Class type)
Import a java class and its public static nested classes
in a tuple.
|
Jaskell |
Jaskell.importClasses(java.lang.Class[] types)
Import an array of java classes into the namespace.
|
Jaskell |
Jaskell.importClassHierarchy(java.lang.Class type)
Import a java class and its public static nested classes
into the evaluation context.
|
Jaskell |
Jaskell.importPrelude()
Import the prelude.jsl module into the jaskell.prelude namespace.
|
Jaskell |
Jaskell.importPrelude(boolean explode)
Import the prelude.jsl module into the jaskell.prelude namespace.
|
Jaskell |
Jaskell.importStandardClasses()
To load some standard java classes to the namespace.
|
Jaskell |
Jaskell.importStrictFunction(java.lang.String fullname,
Function f)
Import a Java Function.
|
Jaskell |
Jaskell.importTuple(java.lang.String fullname,
Tuple t)
Import a tuple.
|
Jaskell |
Jaskell.importValue(java.lang.Object o)
Import a Java object.
|
Jaskell |
Jaskell.importValue(java.lang.String fullname,
java.lang.Object o)
Import a Java object.
|
Jaskell |
Jaskell.setLocator(LocationAware loc)
Get a Jaskell object that uses a LocationAware object
to notify source location of an expression.
|
Jaskell |
Jaskell.setLogger(Jaskell.Logger logger)
Create a new Jaskell object that uses a Logger object to log
non-fatal error messages.
|
Jaskell |
Jaskell.setResolver(Resolver resolver)
Get a Jaskell object that uses a Resolver object
to resolve unbound variables and undefined tuple members.
|
Jaskell |
Jaskell.useClassLoader(java.lang.ClassLoader loader)
Create a new Jaskell object that uses a ClassLoader object to load classes.
|
Constructor and Description |
---|
BsfJaskellEngine(Jaskell runtime)
To create a JaskellBsfEngine object.
|
Modifier and Type | Method and Description |
---|---|
static ConfReader |
ConfReader.instance(Jaskell jaskell)
Create a ConfReader instance.
|
Modifier and Type | Method and Description |
---|---|
static Jaskell |
Jet.addJetFunctions(Jaskell jaskell)
To add all Jet related functions to a Jaskell runtime.
|
static Jaskell |
JetShell.getShellRuntime()
Get the runtime for shell.
|
Modifier and Type | Method and Description |
---|---|
static Jaskell |
Jet.addJetFunctions(Jaskell jaskell)
To add all Jet related functions to a Jaskell runtime.
|
Modifier and Type | Method and Description |
---|---|
Jaskell |
AssertionSupport.getRuntime()
Get the Jaskell runtime with assertion functions.
|
Constructor and Description |
---|
AssertionSupport(Jaskell runtime)
To create an AssertionSupport object.
|
JUnit(Jaskell runtime)
To create a JUnit object.
|
Modifier and Type | Method and Description |
---|---|
Jaskell |
ShellImpl.getRuntime()
Get the Jaskell runtime used to evaluate expressions.
|
static Jaskell |
Shell.getShellRuntime()
To get the runtime for the shell.
|
Modifier and Type | Method and Description |
---|---|
void |
ShellImpl.setRuntime(Jaskell runtime)
To set the Jaskell runtime used by the shell.
|
Constructor and Description |
---|
ShellImpl(Jaskell runtime,
java.lang.String greeting)
To create a ShellImpl object.
|