Package | Description |
---|---|
gnu.commonlisp.lang | |
gnu.expr |
Supports
Expression ,
and various related classes need to compile programming languages. |
gnu.jemacs.buffer |
Provides various building blocks for building an Emacs-like text editor.
|
gnu.jemacs.lang |
Contains classes to implement the Emacs Lisp language.
|
gnu.kawa.brl | |
gnu.kawa.reflect |
Contains classes to use reflection.
|
gnu.mapping |
Supports
Procedure ,
and various related classes needed at run-time by dynamically typed
languages (such as Scheme and ECMAScript). |
gnu.q2.lang |
Support for the experimental Q2 language.
|
gnu.xquery.lang | |
gnu.xquery.util | |
kawa |
Classes for user interaction with Kawa.
|
kawa.lang |
Core Kawa classes for Scheme and Lisp compile-time.
|
kawa.standard |
Primitive Scheme syntax and functions.
|
Modifier and Type | Field and Description |
---|---|
static Environment |
CommonLisp.clispEnvironment |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
Symbols.getFunctionBinding(Environment environ,
java.lang.Object symbol)
Get the function binding for a given symbol in a given environment.
|
static Symbol |
Symbols.getSymbol(Environment env,
java.lang.Object sym) |
static void |
Symbols.setFunctionBinding(Environment environ,
java.lang.Object symbol,
java.lang.Object newValue) |
Modifier and Type | Class and Description |
---|---|
static class |
AbstractScriptEngineFactory.BindingsEnvironment
A Environment that proxies lookup in global and engine Bindings.
|
class |
BuiltinEnvironment
An Environment containing the default bindings for the current Language.
|
Modifier and Type | Field and Description |
---|---|
protected Environment |
Language.environ
The environment for language built-ins and predefined bindings.
|
protected Environment |
Language.userEnv
If non-null, the user environment.
|
Modifier and Type | Method and Description |
---|---|
Environment |
Language.getEnvironment()
Get current user environment.
|
Environment |
AbstractScriptEngineFactory.BindingsLocation.getEnvironment() |
Environment |
Compilation.getGlobalEnvironment() |
Environment |
Language.getLangEnvironment() |
Environment |
BuiltinEnvironment.getLangEnvironment() |
Environment |
Language.getNewEnvironment() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Expression.eval(Environment env) |
void |
CompiledModule.evalModule(Environment env,
CallContext ctx)
Evaluate this compile, sending output to
ctx.consumer . |
static boolean |
ModuleExp.evalModule(Environment env,
CallContext ctx,
Compilation comp,
java.net.URL url,
gnu.kawa.io.OutPort msg) |
void |
CompiledModule.evalModule(Environment env,
gnu.kawa.io.OutPort out) |
static java.lang.Object |
ModuleExp.evalModule1(Environment env,
Compilation comp,
java.net.URL url,
gnu.kawa.io.OutPort msg)
Parse and compile a module.
|
static void |
ModuleExp.evalModule2(Environment env,
CallContext ctx,
Language language,
ModuleExp mexp,
java.lang.Object inst) |
java.lang.Object |
CompiledModule.evalToResultValue(Environment env,
CallContext ctx)
Evaluate this compile, yielding a result value.
|
static NameLookup |
NameLookup.getInstance(Environment env,
Language language)
Get or create a NameLookup instance for a given Environment.
|
static void |
NameLookup.setInstance(Environment env,
NameLookup instance) |
Constructor and Description |
---|
BindingsEnvironment(java.lang.String name,
javax.script.Bindings ebindings,
javax.script.Bindings gbindings,
Environment builtin) |
Constructor and Description |
---|
ReplMode(Buffer buffer,
Language language,
Environment environment) |
Modifier and Type | Field and Description |
---|---|
static Environment |
ELisp.elispEnvironment |
Constructor and Description |
---|
BRL(Environment env) |
Modifier and Type | Method and Description |
---|---|
static StaticFieldLocation |
StaticFieldLocation.define(Environment environ,
Symbol sym,
java.lang.Object property,
java.lang.String cname,
java.lang.String fname) |
static void |
ClassMemberLocation.define(java.lang.Object instance,
java.lang.reflect.Field rfield,
java.lang.String uri,
Language language,
Environment env) |
static void |
ClassMemberLocation.defineAll(java.lang.Object instance,
Language language,
Environment env)
Import all the public fields of an object.
|
Modifier and Type | Class and Description |
---|---|
class |
InheritingEnvironment |
class |
SimpleEnvironment
Concrete implementation of
Environment . |
Modifier and Type | Method and Description |
---|---|
static Environment |
Environment.current()
Deprecated.
|
static Environment |
Environment.getCurrent() |
Environment |
IndirectableLocation.getEnvironment() |
Environment |
NamedLocation.getEnvironment() |
static Environment |
Environment.getGlobal() |
static Environment |
Environment.getInstance(java.lang.String name) |
Environment |
InheritingEnvironment.getParent(int index) |
static Environment |
Environment.setSaveCurrent(Environment env) |
static Environment |
Environment.user() |
Modifier and Type | Method and Description |
---|---|
void |
InheritingEnvironment.addParent(Environment env) |
static java.lang.Object |
PropertyLocation.getProperty(java.lang.Object symbol,
java.lang.Object property,
java.lang.Object defaultValue,
Environment env)
Gets a property value associated with an object.
|
static java.lang.Object |
PropertyLocation.getPropertyList(java.lang.Object symbol,
Environment env)
Get the property list assocated with an object in a given Environment.
|
static Future |
Future.make(Procedure action,
Environment penvironment,
gnu.kawa.io.InPort in,
gnu.kawa.io.OutPort out,
gnu.kawa.io.OutPort err) |
static InheritingEnvironment |
Environment.make(java.lang.String name,
Environment parent) |
static void |
PropertyLocation.putProperty(java.lang.Object symbol,
java.lang.Object property,
java.lang.Object newValue,
Environment env) |
static boolean |
PropertyLocation.removeProperty(java.lang.Object symbol,
java.lang.Object property,
Environment env)
Remove a properaty assocatied with an object.
|
static void |
Environment.restoreCurrent(Environment saved) |
static void |
Environment.setCurrent(Environment env) |
static void |
Environment.setGlobal(Environment env) |
static void |
PropertyLocation.setPropertyList(java.lang.Object symbol,
java.lang.Object plist,
Environment env)
Set the property list assocated with an object in a given Environment.
|
static Environment |
Environment.setSaveCurrent(Environment env) |
Constructor and Description |
---|
InheritingEnvironment(java.lang.String name,
Environment parent) |
Constructor and Description |
---|
Q2(Environment env) |
Modifier and Type | Field and Description |
---|---|
static Environment |
XQuery.extensionsEnvEnv
Environment of pre-defined non-standard Qexo/Kawa functions.
|
static Environment |
XQuery.xqEnvironment |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
NodeUtils.getSavedCollection(java.lang.Object uri,
Environment env)
Default resolver for fn:collection.
|
static void |
NodeUtils.setSavedCollection(java.lang.Object uri,
java.lang.Object value,
Environment env)
Add a uri-to-value binding that setSavedCollection can later return.
|
Modifier and Type | Method and Description |
---|---|
static CompiledModule |
Shell.checkCompiledZip(java.io.InputStream fs,
gnu.kawa.io.Path path,
Environment env,
Language language) |
static boolean |
Shell.run(Language language,
Environment env) |
static boolean |
Shell.run(Language language,
Environment env,
gnu.kawa.io.InPort inp,
Consumer out,
gnu.kawa.io.OutPort perr,
java.net.URL url) |
static java.lang.Throwable |
Shell.run(Language language,
Environment env,
gnu.kawa.io.InPort inp,
Consumer out,
gnu.kawa.io.OutPort perr,
java.net.URL url,
SourceMessages messages) |
static java.lang.Throwable |
Shell.run(Language language,
Environment env,
gnu.kawa.io.InPort inp,
gnu.kawa.io.OutPort pout,
gnu.kawa.io.OutPort perr,
SourceMessages messages) |
static void |
Shell.runClass(java.lang.Class clas,
Environment env) |
static boolean |
Shell.runFile(java.io.InputStream fs,
gnu.kawa.io.Path path,
Environment env,
boolean lineByLine,
int skipLines) |
Constructor and Description |
---|
DomTermBackend(Language language,
Environment penvironment,
boolean shared) |
GuiConsole(Language language,
Environment penvironment,
boolean shared) |
ReplDocument(Language language,
Environment penvironment,
boolean shared) |
Modifier and Type | Method and Description |
---|---|
Environment |
Translator.getGlobalEnvironment() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
Eval.eval(java.lang.Object sexpr,
Environment env) |
static java.lang.Object |
Eval.evalBody(java.lang.Object body,
Environment env,
SourceMessages messages) |
static void |
Eval.evalBody(java.lang.Object body,
Environment env,
SourceMessages messages,
CallContext ctx) |
static void |
Eval.evalForm$X(java.lang.Object sexpr,
Environment env,
CallContext ctx) |
int |
Translator.getCompletions(Environment env,
java.lang.String nameStart,
java.lang.Object property,
java.lang.String namespaceUri,
java.util.List<? super java.lang.String> matches) |
Constructor and Description |
---|
AutoloadSyntax(java.lang.String name,
java.lang.String className,
Environment env) |
Translator(Language language,
SourceMessages messages,
NameLookup lexical,
Environment env) |
Modifier and Type | Method and Description |
---|---|
static Environment |
Scheme.builtin() |
static Environment |
Scheme.getR5rsEnvironment() |
static Environment |
Scheme.getStdEnvironment() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
Scheme.eval(gnu.kawa.io.InPort port,
Environment env)
Evaluate Scheme expressions from stream.
|
static java.lang.Object |
Scheme.eval(java.lang.Object sexpr,
Environment env)
Evaluate Scheme expressions from an "S expression."
|
static java.lang.Object |
Scheme.eval(java.lang.String string,
Environment env)
Evaluate Scheme expressions from string.
|
static java.lang.Exception |
Scheme.loadClass(java.lang.String path,
Environment env) |
Constructor and Description |
---|
Scheme(Environment env) |
SchemeCompilation(Language language,
SourceMessages messages,
NameLookup lexical,
Environment env) |