Uses of Class
gnu.mapping.Environment
-
Packages that use Environment Package Description gnu.expr SupportsExpression
, and various related classes need to compile programming languages.gnu.kawa.brl gnu.kawa.reflect Contains classes to use reflection.gnu.mapping SupportsProcedure
, and various related classes needed at run-time by dynamically typed languages (such as Scheme and ECMAScript).gnu.xquery.lang gnu.xquery.util kawa.lang kawa.standard -
-
Uses of Environment in gnu.expr
Subclasses of Environment in gnu.expr Modifier and Type Class 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.Fields in gnu.expr declared as Environment Modifier and Type Field Description protected Environment
Language. environ
The environment for language built-ins and predefined bindings.protected Environment
Language. userEnv
If non-null, the user environment.Methods in gnu.expr that return Environment Modifier and Type Method Description Environment
AbstractScriptEngineFactory.BindingsLocation. getEnvironment()
Environment
Language. getEnvironment()
Get current user environment.Environment
Compilation. getGlobalEnvironment()
Environment
BuiltinEnvironment. getLangEnvironment()
Environment
Language. getLangEnvironment()
Environment
Language. getNewEnvironment()
Methods in gnu.expr with parameters of type Environment Modifier and Type Method Description Object
Expression. eval(Environment env)
void
CompiledModule. evalModule(Environment env, gnu.kawa.io.OutPort out)
void
CompiledModule. evalModule(Environment env, CallContext ctx)
Evaluate this compile, sending output toctx.consumer
.static boolean
ModuleExp. evalModule(Environment env, CallContext ctx, Compilation comp, URL url, gnu.kawa.io.OutPort msg)
static Object
ModuleExp. evalModule1(Environment env, Compilation comp, URL url, gnu.kawa.io.OutPort msg)
Parse and compile a module.static void
ModuleExp. evalModule2(Environment env, CallContext ctx, Language language, ModuleExp mexp, Object inst)
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)
Constructors in gnu.expr with parameters of type Environment Constructor Description BindingsEnvironment(String name, Bindings ebindings, Bindings gbindings, Environment builtin)
-
Uses of Environment in gnu.kawa.brl
Constructors in gnu.kawa.brl with parameters of type Environment Constructor Description BRL(Environment env)
-
Uses of Environment in gnu.kawa.reflect
Methods in gnu.kawa.reflect with parameters of type Environment Modifier and Type Method Description static void
ClassMemberLocation. define(Object instance, Field rfield, String uri, Language language, Environment env)
static StaticFieldLocation
StaticFieldLocation. define(Environment environ, Symbol sym, Object property, String cname, String fname)
static void
ClassMemberLocation. defineAll(Object instance, Language language, Environment env)
Import all the public fields of an object. -
Uses of Environment in gnu.mapping
Subclasses of Environment in gnu.mapping Modifier and Type Class Description class
InheritingEnvironment
class
SimpleEnvironment
Concrete implementation ofEnvironment
.Methods in gnu.mapping that return Environment Modifier and Type Method Description static Environment
Environment. current()
Deprecated.static Environment
Environment. getCurrent()
Environment
IndirectableLocation. getEnvironment()
Environment
NamedLocation. getEnvironment()
static Environment
Environment. getGlobal()
static Environment
Environment. getInstance(String name)
Environment
InheritingEnvironment. getParent(int index)
static Environment
Environment. setSaveCurrent(Environment env)
static Environment
Environment. user()
Methods in gnu.mapping with parameters of type Environment Modifier and Type Method Description void
InheritingEnvironment. addParent(Environment env)
static Object
PropertyLocation. getProperty(Object symbol, Object property, Object defaultValue, Environment env)
Gets a property value associated with an object.static Object
PropertyLocation. getPropertyList(Object symbol, Environment env)
Get the property list assocated with an object in a given Environment.static InheritingEnvironment
Environment. make(String name, Environment parent)
static Future
Future. make(Procedure action, Environment penvironment, gnu.kawa.io.InPort in, gnu.kawa.io.OutPort out, gnu.kawa.io.OutPort err)
static void
PropertyLocation. putProperty(Object symbol, Object property, Object newValue, Environment env)
static boolean
PropertyLocation. removeProperty(Object symbol, 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(Object symbol, Object plist, Environment env)
Set the property list assocated with an object in a given Environment.static Environment
Environment. setSaveCurrent(Environment env)
Constructors in gnu.mapping with parameters of type Environment Constructor Description InheritingEnvironment(String name, Environment parent)
-
Uses of Environment in gnu.xquery.lang
Fields in gnu.xquery.lang declared as Environment Modifier and Type Field Description static Environment
XQuery. extensionsEnvEnv
Environment of pre-defined non-standard Qexo/Kawa functions.static Environment
XQuery. xqEnvironment
-
Uses of Environment in gnu.xquery.util
Methods in gnu.xquery.util with parameters of type Environment Modifier and Type Method Description static Object
NodeUtils. getSavedCollection(Object uri, Environment env)
Default resolver for fn:collection.static void
NodeUtils. setSavedCollection(Object uri, Object value, Environment env)
Add a uri-to-value binding that setSavedCollection can later return. -
Uses of Environment in kawa.lang
Methods in kawa.lang that return Environment Modifier and Type Method Description Environment
Translator. getGlobalEnvironment()
Methods in kawa.lang with parameters of type Environment Modifier and Type Method Description static Object
Eval. eval(Object sexpr, Environment env)
static Object
Eval. evalBody(Object body, Environment env, SourceMessages messages)
static void
Eval. evalBody(Object body, Environment env, SourceMessages messages, CallContext ctx)
static void
Eval. evalForm$X(Object sexpr, Environment env, CallContext ctx)
int
Translator. getCompletions(Environment env, String nameStart, Object property, String namespaceUri, List<? super String> matches)
Constructors in kawa.lang with parameters of type Environment Constructor Description AutoloadSyntax(String name, String className, Environment env)
Translator(Language language, SourceMessages messages, NameLookup lexical, Environment env)
-
Uses of Environment in kawa.standard
Methods in kawa.standard that return Environment Modifier and Type Method Description static Environment
Scheme. builtin()
static Environment
Scheme. getR5rsEnvironment()
static Environment
Scheme. getStdEnvironment()
Methods in kawa.standard with parameters of type Environment Modifier and Type Method Description static Object
Scheme. eval(gnu.kawa.io.InPort port, Environment env)
Evaluate Scheme expressions from stream.static Object
Scheme. eval(Object sexpr, Environment env)
Evaluate Scheme expressions from an "S expression."static Object
Scheme. eval(String string, Environment env)
Evaluate Scheme expressions from string.static Exception
Scheme. loadClass(String path, Environment env)
Constructors in kawa.standard with parameters of type Environment Constructor Description Scheme(Environment env)
SchemeCompilation(Language language, SourceMessages messages, NameLookup lexical, Environment env)
-