Package org.mozilla.javascript

Interface Summary

Callable Generic notion of callable object that can execute some script-related code upon request with specified values for script scope and this objects.
ClassShutterEmbeddings that wish to filter Java classes that are visible to scripts through the LiveConnect, should implement this interface.
ContextAction Interface to represent arbitrary action that requires to have Context object associated with the current thread for its execution.
ContextFactory.Listener Listener of Context creation and release events.
ContextListener
ErrorReporter This is interface defines a protocol for the reporting of errors during JavaScript translation or execution.
Function This is interface that all functions in JavaScript must implement.
GeneratedClassLoader Interface to define classes from generated byte code.
IdFunctionCall Master for id-based functions that knows their properties and how to execute them.
RefCallable Object that can allows assignments to the result of function calls.
RegExpProxy A proxy for the regexp package, so that the regexp package can be loaded optionally.
Script All compiled scripts implement this interface.
Scriptable This is interface that all objects in JavaScript must implement.
Wrapper Objects that can wrap other values for reflection in the JS environment will implement Wrapper.

Class Summary

BaseFunction The base class for Function objects See ECMA 15.3.
ClassCache Cache of generated classes and data structures to access Java runtime from JavaScript.
CompilerEnvirons
Context This class represents the runtime context of an executing script.
ContextFactory Factory class that Rhino runtime use to create new Context instances or to notify about Context execution.
Decompiler
DefiningClassLoader Load generated classes.
Delegator This is a helper class for implementing wrappers around Scriptable objects.
EcmaError The class of exceptions raised by the engine as described in ECMA edition 3.
EvaluatorException The class of exceptions thrown by the JavaScript engine.
FunctionNode
FunctionObject
IdFunctionObject
IdScriptableObjectBase class for native object implementation that uses IdFunctionObject to export its methods to script via .prototype object.
ImporterTopLevel Class ImporterTopLevel This class defines a ScriptableObject that can be instantiated as a top-level ("global") object to provide functionality similar to Java's "import" statement.
InterfaceAdapter Adapter to use JS function as implementation of Java interfaces with single method or multiple methods with the same signature.
Interpreter
JavaAdapter
JavaScriptException Java reflection of JavaScript exceptions.
Kit Collection of utilities
LazilyLoadedCtor Avoid loading classes unless they are used.
NativeArray This class implements the Array native object.
NativeCall This class implements the activation object.
NativeFunction This class implements the Function native object.
NativeGlobal This class implements the global native object (function and value properties only).
NativeJavaArray This class reflects Java arrays into the JavaScript environment.
NativeJavaClass This class reflects Java classes into the JavaScript environment, mainly for constructors and static members.
NativeJavaConstructor This class reflects a single Java constructor into the JavaScript environment.
NativeJavaMethod This class reflects Java methods into the JavaScript environment and handles overloading of methods.
NativeJavaObject This class reflects non-Array Java objects into the JavaScript environment.
NativeJavaPackage This class reflects Java packages into the JavaScript environment.
NativeJavaTopPackage This class reflects Java packages into the JavaScript environment.
NativeObject This class implements the Object native object.
NativeWith This class implements the object lookup required for the with statement.
Node This class implements the root of the intermediate representation.
Node.Jump
NodeTransformer This class transforms a tree to a lower-level representation for codegen.
ObjArrayImplementation of resizable array with focus on minimizing memory usage by storing few initial array elements in object fields.
ObjToIntMap Map to associate objects to integers.
ObjToIntMap.Iterator
Parser This class implements the JavaScript parser.
Ref Generic notion of reference object that know how to query/modify the target objects based on some property/index.
RhinoException The class of exceptions thrown by the JavaScript engine.
ScriptableObject This is the default implementation of the Scriptable interface.
ScriptOrFnNode
ScriptRuntime This is the class that implements the runtime.
SecurityController This class describes the support needed to implement security.
Synchronizer This class provides support for implementing Java-style synchronized methods in Javascript.
Token This class implements the JavaScript scanner.
UintMap Map to associate non-negative integers to objects or integers.
Undefined This class implements the Undefined value in JavaScript.
UniqueTag Class instances represent serializable tags to mark special Object values.
VMBridge
WrapFactory Embeddings that wish to provide their own custom wrappings for Java objects may extend this class and call Context.setWrapFactory(WrapFactory) Once an instance of this class or an extension of this class is enabled for a given context (by calling setWrapFactory on that context), Rhino will call the methods of this class whenever it needs to wrap a value resulting from a call to a Java method or an access to a Java field.
WrappedException A wrapper for runtime exceptions.