Package org.mozilla.javascript

Interface Summary
ClassNameHelper  
ClassOutput This interface is implemented by classes interested in the bytecode generated by the rhino compiler for script objects.
ClassRepository This interface provides a means to store generated class and to allow selective class loading.
ContextListener Embeddings that wish to
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.
IdFunctionMaster Master for id-based functions that knows their properties and how to execute them
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.
SecuritySupport This class describes the support needed to implement security.
WrapHandler Embeddings that wish to provide their own custom wrappings for Java objects may implement this interface and call Context.setWrapHandler.
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.
Context This class represents the runtime context of an executing script.
DebuggableEngineImpl  
Delegator This is a helper class for implementing wrappers around Scriptable objects.
FunctionNode  
FunctionObject  
IdFunction  
IdScriptable Base class for native object implementation that uses IdFunction 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.
InterpretedScript  
Interpreter  
Invoker Avoid cost of java.lang.reflect.Method.invoke() by compiling a class to perform the method call directly.
IRFactory This class allows the creation of nodes, and follows the Factory pattern.
JavaAdapter  
Label  
LabelTable  
LazilyLoadedCtor Avoid loading classes unless they are used.
ListenerArray Utility class to manage listeners array.
LocalVariable  
NativeArray This class implements the Array native object.
NativeBoolean This class implements the Boolean native object.
NativeCall This class implements the activation object.
NativeDate This class implements the Date native object.
NativeError The class of error objects ECMA 15.11
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.
NativeJavaObject This class reflects non-Array Java objects into the JavaScript environment.
NativeJavaPackage This class reflects Java packages into the JavaScript environment.
NativeMath This class implements the Math native object.
NativeNumber This class implements the Number native object.
NativeObject This class implements the Object native object.
NativeScript The JavaScript Script object.
NativeString This class implements the String native object.
NativeWith This class implements the object lookup required for the with statement.
Node This class implements the root of the intermediate representation.
NodeTransformer This class transforms a tree to a lower-level representation for codegen.
PreorderNodeIterator This class implements a preorder tree iterator for the Node class.
ScriptableObject This is the default implementation of the Scriptable interface.
ScriptRuntime This is the class that implements the runtime.
Synchronizer This class provides support for implementing Java-style synchronized methods in Javascript.
TokenStream This class implements the JavaScript scanner.
Undefined This class implements the Undefined value in JavaScript.
VariableTable  
 

Exception Summary
ClassDefinitionException Thrown if errors are detected while attempting to define a host object from a Java class.
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.
JavaScriptException Java reflection of JavaScript exceptions.
NotAFunctionException Thrown if call is attempted on an object that is not a function.
PropertyException Thrown if errors are detected while attempting to define a property of a host object from a Java class or method, or if a property is not found.
WrappedException A wrapper for runtime exceptions.