The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
ADD - static field in class org.mozilla.javascript.
Token Token types.
Add the single-byte opcode to the current method.
Add a single-operand opcode to the current method.
Add the given two-operand bytecode to the current method.
Add a name to the list of names forcing the creation of real
activation objects for functions.
Load object from the given local into stack.
Define this function as a JavaScript constructor.
Store object from stack top into the given local.
Add 'child' after 'node'.
Add 'child' before 'node'.
Load double from the given local into stack.
Store double from stack top into the given local.
Adds a qualified name to the list of objects to be excluded from
serialization.
Add a field to the class.
Add a field to the class.
Add a field to the class.
Add a field to the class.
Load float from the given local into stack.
Store float from stack top into the given local.
Load integer from the given local into stack.
Add an interface implemented by this class.
Store integer from stack top into the given local.
Add listener to bag of listeners.
Load long from the given local into stack.
Generate the load constant bytecode for the given double.
Generate the load constant bytecode for the given float.
Generate the load constant bytecode for the given integer.
Generate the load constant bytecode for the given long.
Generate the load constant bytecode for the given string.
Store long from stack top into the given local.
Adds a qualified name to the list of object to be excluded from
serialization.
Register an object to receive notifications when a bound property
has changed
Generate code to load the given double on stack.
Generate code to load the given integer on stack.
Generate code to load the given long on stack.
Generate the code to leave on stack the given string even if the
string encoding exeeds the class file limit for single string constant
Add Information about java variable to use when generating the local
variable table.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
AND - static field in class org.mozilla.javascript.
Token The byte opcodes defined by the Java Virtual Machine.
Function.prototype.apply and Function.prototype.call
See Ecma 15.3.4.[34]
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
ASSIGN - static field in class org.mozilla.javascript.
Token Associate ClassCache object with the given top-level scope.
Associate arbitrary application-specific value with this object.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
Emulate the SpiderMonkey (and Firefox) feature of allowing
custom objects to avoid detection by normal "object detection"
code patterns.
CALL - static field in class org.mozilla.javascript.
Token Token types.
Call ContextAction.run(Context cx)
using the Context instance associated with the current thread.
Call
ContextAction.run(Context cx)
using the
Context
instance associated with the current thread.
Call Callable.call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
using the Context instance associated with the current thread.
Implement ....() call shrinking optimizer code.
Implement ....(arg) call shrinking optimizer code.
Implement ....(arg0, arg1) call shrinking optimizer code.
Generic notion of callable object that can execute some script-related code
upon request with specified values for script scope and this objects.
Call function that may pause execution by capturing a continuation.
Call a method of an object.
Utility method which dynamically binds a Context to the current thread,
if none already exists.
Call a method of an object.
Implement ....(arg0, arg1, ...) call shrinking optimizer code.
Implement name(args) call shrinking optimizer code.
Implement name() call shrinking optimizer code.
Implement x.property() call shrinking optimizer code.
Perform function call in reference context.
Call Callable.call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
of callable under restricted security domain where an action is
allowed only if it is allowed according to the Java stack on the
moment of the execWithDomain call and securityDomain.
The byte opcodes defined by the Java Virtual Machine.
Determine whether we can/should convert between the given type and the
desired one.
Capture a continuation from the current execution.
Capture stack information from the given exception.
Capture stack information from the given exception.
Capture stack information from the given exception.
CASE - static field in class org.mozilla.javascript.
Token Decompilation property to specify identation offset for case labels.
The byte opcodes defined by the Java Virtual Machine.
CATCH - static field in class org.mozilla.javascript.
Token The byte opcodes defined by the Java Virtual Machine.
Cache of generated classes and data structures to access Java runtime
from JavaScript.
Generates class files from script sources.
Construct ClassCompiler that uses the specified compiler environment
when generating classes.
Thrown for cases where the error in generating the class file is
due to a program size constraints rather than a likely bug in the
compiler.
ClassFileWriter
A ClassFileWriter is used to write a Java class file.
Construct a ClassFileWriter for a class.
Convert Java class name in dot notation into
"Lname-with-dots-replaced-by-slashes;" form suitable for use as
JVM type signatures.
Attempt to load the class of the given name.
Embeddings that wish to filter Java classes that are visible to scripts
through the LiveConnect, should implement this interface.
Empty caches of generated Java classes and Java reflection information.
codeBug() - static method in class org.mozilla.javascript.
Kit Throws RuntimeException to indicate failed assertion.
This class generates code for a given IR tree.
Not intended for public use.
COLON - static field in class org.mozilla.javascript.
Token The column number of the location of the error, or zero if unknown.
COMMA - static field in class org.mozilla.javascript.
Token Compile the script or function from intermediate representation
tree into an executable form.
Compile the script or function from intermediate representation
tree into an executable form.
Compile the script or function from intermediate representation
tree into an executable form.
Compile a JavaScript function.
Compiles the source in the given reader.
Compiles the source in the given string.
Compile JavaScript source into one or more Java class files.
CONST - static field in class org.mozilla.javascript.
Token Call the function as a constructor.
Note that if the delegee
is null
,
this method creates a new instance of the Delegator itself
rathert than forwarding the call to the
delegee
.
Call the function as a constructor.
This class represents the runtime context of an executing script.
Interface to represent arbitrary action that requires to have Context
object associated with the current thread for its execution.
Notify about newly created
Context
object.
Factory class that Rhino runtime uses to create new
Context
instances.
Notify that the specified
Context
instance is no longer
associated with the current thread.
Create class loader for generated classes.
Create class loader for generated classes.
Get class loader-like object that can be used
to define classes with the given security context.
Create a function object.
Create a function object.
Create a function object.
Creates new script object.
D2F - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
D2I - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
D2L - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
Interface to implement if the application is interested in receiving debug
information during execution of a particular script or function.
This interface exposes debugging information from objects.
This interface exposes debugging information from executable
code (either functions or top-level scripts).
Interface to implement if the application is interested in receiving debug
information.
DEC - static field in class org.mozilla.javascript.
Token Decompile the source information associated with this js
function/script back into a string.
Decompile a JavaScript Function.
Decompile the body of a JavaScript Function.
The following class save decompilation information about the source.
DEFAULT - static field in class org.mozilla.javascript.
Token Reserves a definition spot for a const.
Reserves a definition spot for a const.
Utility method to add properties to arbitrary Scriptable object.
Search for names in a class, adding the resulting methods
as properties.
Utility method to add properties to arbitrary Scriptable object.
Define a JavaScript property with getter and setter side effects.
Define a JavaScript property.
Define a JavaScript property.
DEL_REF - static field in class org.mozilla.javascript.
Token Token types.
This is a helper class for implementing wrappers around Scriptable
objects.
Create a Delegator prototype.
Create a new Delegator that forwards requests to a delegee
Scriptable object.
Removes a property from this object.
Removes the indexed property from the object.
The delete operator
See ECMA 11.4.1
In ECMA 0.19, the description of the delete operator (11.4.1)
assumes that the [[Delete]] method returns a value.
Removes a property from this object.
Removes a named property from the object.
Removes the property from an object or its prototype chain.
Removes the property from an object or its prototype chain.
DELPROP - static field in class org.mozilla.javascript.
Token Token types.
DIV - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
DO - static field in class org.mozilla.javascript.
Token Property attribute indicating property is not enumerated.
DOT - static field in class org.mozilla.javascript.
Token DOTDOT - static field in class org.mozilla.javascript.
Token Execute top call to script or function.
Tag to indicate that a object represents "double" with the real value
stored somewhere else.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
DUP - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
Implementation of ECMAScript [[Delete]].
The class of exceptions raised by the engine as described in
ECMA edition 3.
Implementation of ECMAScript [[Get]].
Implementation of ECMAScript [[Has]].
Implementation of ECMAScript [[Put]].
ELSE - static field in class org.mozilla.javascript.
Token The empty property attribute.
EMPTY - static field in class org.mozilla.javascript.
Token Convenient value to use as zero-length array of objects.
Get a Context associated with the current thread, using
the given Context if need be.
Get a context associated with the current thread, creating one if need
be.
Get a Context associated with the current thread, using the given
Context if need be.
Wrap this object into NativeWith to implement the .() query.
Wrap this object into NativeWith to implement the with statement.
ENUM_ID - static field in class org.mozilla.javascript.
Token Token types.
EOF - static field in class org.mozilla.javascript.
Token Token types.
EOL - static field in class org.mozilla.javascript.
Token Token types.
EQ - static field in class org.mozilla.javascript.
Token Token types.
ERROR - static field in class org.mozilla.javascript.
Token Token types.
This is interface defines a protocol for the reporting of
errors during JavaScript translation or execution.
Escapes the reserved characters in a value of an attribute.
Escapes the reserved characters in a value of an attribute
For escaping strings printed by object and array literals; not quite
the same as 'escape.'
Escapes the reserved characters in a value of a text node.
Escapes the reserved characters in a value of a text node
The eval function property of the global object.
Evaluate a reader as JavaScript source.
Evaluate a JavaScript source string.
Abstraction of evaluation, which can be implemented either by an
interpreter or compiler.
The class of exceptions thrown by the JavaScript engine.
Create an exception with the specified detail message.
Create an exception with the specified detail message.
Adds the names of the standard objects and their
prototypes to the list of excluded names.
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned.
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned
Execute script that may pause execution by capturing a continuation.
Exit a block of code requiring a Context.
EXPORT - static field in class org.mozilla.javascript.
Token Defines JavaScript objects from a Java class, optionally
allowing sealing and mapping of Java inheritance to JavaScript
prototype-based inheritance.
Defines JavaScript objects from a Java class that implements Scriptable.
Defines JavaScript objects from a Java class, optionally
allowing sealing.
F2D - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
F2I - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
F2L - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
An object which specifies an XMLLib implementation to be used at runtime.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
FALSE - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
Control if dynamic scope should be used for name access.
Control if support for E4X(ECMAScript for XML) extension is available.
Enables enhanced access to Java.
When the feature is on Rhino will add a "fileName" and "lineNumber"
properties to Error objects automatically.
Control if member expression as function name extension is available.
Controls behaviour of Date.prototype.getYear().
Control if properties __proto__ and __parent__
are treated specially.
Control if reserved keywords are treated as identifiers.
Control if strict eval mode is enabled.
Controls whether JS 1.5 'strict mode' is enabled.
Control if strict variable mode is enabled.
Control if toString() should returns the same result
as toSource() when applied to objects and arrays.
Controls whether a warning should be treated as an error.
FINALLY - static field in class org.mozilla.javascript.
Token Map name to id of instance property.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
FOR - static field in class org.mozilla.javascript.
Token The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
This is interface that all functions in JavaScript must implement.
There are three types of functions that can be defined.
Create a JavaScript function object from a Java method.
GE - static field in class org.mozilla.javascript.
Token Token types.
Interface to define classes from generated byte code.
GET - static field in class org.mozilla.javascript.
Token Get a property from the object selected by an integral index.
Returns the value of the indexed property or NOT_FOUND.
Get integer value assigned with key.
Search for ClassCache object in the given scope.
Get a named property from the object.
Returns the value of the named property or NOT_FOUND.
GET_REF - static field in class org.mozilla.javascript.
Token Token types.
Returns an array of ids for the properties of the object.
Returns an array of ids for the properties of the object.
Get ClassLoader to use when searching for Java classes.
Get arbitrary application-specific value associated with this object.
Get the attributes of an indexed property.
Get the attributes of a named property.
Get the name of the set of objects implemented by this Java class.
Return the name of the class.
Get the prototype for the named class.
Get the compiler environment the compiler uses.
Get
Context
instance associated with the current thread
or null if none.
Get the current offset into the code of the current method.
Return the ClassLoader instance associated with the current thread.
Return DebuggableScript instance if any associated with the script.
Return the current debugger.
Return the debugger context data associated with current context.
Note that this method does not get forwarded to the delegee if
the hint
parameter is null,
ScriptRuntime.ScriptableClass
or
ScriptRuntime.FunctionClass
.
Get the default value of the object with a given hint.
Implements the [[DefaultValue]] internal method.
Can only be called when getType() == Token.NUMBER
Get dynamic security domain that allows an action only if it is allowed
by the current Java stack and securityDomain.
Returns an object which specifies an E4X implementation to use within
this Context
.
Provides a default
XMLLib.Factory
to be used by the
Context
instances produced by this
factory.
GETELEM - static field in class org.mozilla.javascript.
Token Token types.
Get the elements of a JavaScript array.
Prepare for calling obj[id](...): return function corresponding to
obj[id] and make obj properly converted to Scriptable available
as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
Get encoded source string.
Gets the message corresponding to the error.
Get the current error reporter.
Get integer value assigned with key.
Get integer value assigned with key.
Return an additional object to look for methods that runtime should
consider during method search.
The byte opcodes defined by the Java Virtual Machine.
Called when execution entered a particular function or script.
Get name of the function described by this script.
Get the Function.prototype property.
Get the getter or setter for a given property.
Get global ContextFactory.
Get an array of property ids.
Returns an array of ids for the properties of the object.
Get the implementation version.
Map id back to property name it defines.
Get threshold of executed instructions counter that triggers call to
observeInstructionCount()
.
Get integer value assigned with key.
Create helper object to create later proxies implementing the specified
interfaces later.
If "obj" is a java.util.Iterator or a java.lang.Iterable, return a
wrapping as a JavaScript Iterator.
Return array of present keys
Return array of present keys
Get the current language version.
Get array containing the line numbers that
that can be passed to DebugFrame.onLineChange()
.
Get listener at index position in bag or null if
index equals to number of listeners in bag.
Get the name of the class for main method implementation.
Returns the maximum stack depth (in terms of number of call frames)
allowed in a single invocation of interpreter.
Get maximum id findInstanceIdInfo can generate.
Returns a textual message identified by the given messageId,
parameterized by the given arguments.
Get Java method or constructor this function represent.
Gets the name of the error.
Prepare for calling name(...): return function corresponding to
name and make current top scope available
as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
Get object value assigned with key.
Version of getObjectElem when elem is a valid JS identifier name.
Get the Object.prototype property.
Get the current optimization level.
Get number of declared parameters and local variables.
Get number of declared parameters and variables defined through var
statements.
Get number of declared parameters in the function.
Get number of declared parameters.
Get parameter or variable const-ness.
Get name of a declared parameter or local variable.
Get parameter or variable name.
Returns the parent (enclosing) scope of the object.
Get the parent scope of the object.
Returns the parent (enclosing) scope of the object.
Given a native stack trace, patch it with script-specific source
and line information
Given a native stack trace, patch it with script-specific source
and line information
Given a native stack trace, patch it with script-specific source
and line information
GETPROP - static field in class org.mozilla.javascript.
Token Token types.
Gets an indexed property from an object or any object in its prototype chain.
Gets a named property from an object or any object in its prototype chain.
Returns an array of all ids from an object and its prototypes.
Prepare for calling obj.property(...): return function corresponding to
obj.property and make obj properly converted to Scriptable available
as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
Prepare for calling obj.property(...): return function corresponding to
obj.property and make obj properly converted to Scriptable available
as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
Get the prototype of the object.
Returns the prototype of the object.
Can only be called when node has String context.
Get the script stack for the given exception
Get the script stack for the given exception
Get the script stack for the given exception
Get a string representing the script stack of this exception.
Get a string representing the script stack of this exception.
Get the name of the source (usually filename or URL)
of the script.
Get the source position information by examining the stack.
Get the source position information by examining the stack.
Get the source position information by examining the stack.
The byte opcodes defined by the Java Virtual Machine.
Get the value of the "StopIteration" object.
Can only be called when node has String context.
Retrieves a system property within a privileged block.
Get the class that the generated target will extend.
Get the interfaces that the generated target will implement.
Return a helper object to optimize
Context
access.
Get a value corresponding to a key.
Get arbitrary application-specific value associated with the top scope
of the given scope.
Get the singleton object that represents the JavaScript Undefined value.
Prepare for calling (...): return function corresponding to
and make parent scope of the function available
as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
GETVAR - static field in class org.mozilla.javascript.
Token Token types.
Return the current WrapFactory, or null if none is defined.
Get the wrapped exception.
The byte opcodes defined by the Java Virtual Machine.
GOTO - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
GT - static field in class org.mozilla.javascript.
Token Token types.
I2B - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
I2C - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
I2D - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
I2F - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
I2L - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
I2S - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
Master for id-based functions that knows their properties and how to
execute them.
The byte opcodes defined by the Java Virtual Machine.
Base class for native object implementation that uses IdFunctionObject to export its methods to script via .prototype object.
IF - static field in class org.mozilla.javascript.
Token The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
IFEQ - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
IFNE - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
IMPORT - static field in class org.mozilla.javascript.
Token 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.
The byte opcodes defined by the Java Virtual Machine.
IN - static field in class org.mozilla.javascript.
Token Token types.
INC - static field in class org.mozilla.javascript.
Token Utility method to construct type error to indicate incompatible call
when converting script thisObj to a particular type is not possible.
Decompilation property to specify default identation offset.
The byte opcodes defined by the Java Virtual Machine.
Set explicit class loader to use when searching for Java classes.
If initCause methods exists in Throwable, call
ex.initCause(cause) or otherwise do nothing.
Initialize the column number of the script statement causing the error.
Set global ContextFactory.
Initialize global controller that will be used for all
security-related operations.
Decompilation property to specify initial ident value.
Initialize the line number of the script statement causing the error.
Initialize the text of the source line containing the error.
Initialize the uri of the script source containing the error.
Initialize the standard objects.
Initialize the standard objects.
Initialize the standard objects.
The byte opcodes defined by the Java Virtual Machine.
Return the value defined by the method used to construct the object
(number of parameters of the method, or 1 if the method is a "varargs"
form).
Adapter to use JS function as implementation of Java interfaces with
single method or multiple methods with the same signature.
If table already contains a key that equals to keyArg, return that key
while setting its value to zero, otherwise add keyArg with 0 value to
the table and return it.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
IOR - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
Check whether the name is in the list of names of objects
forcing the creation of activation objects.
Check if generated Java classes and Java reflection information
is cached.
Returns true if the named property is defined as a const on this object.
Returns true if the named property is defined as a const on this object.
Returns true if this is a function, false if it is a script.
Returns true if this script or function were runtime-generated
from JavaScript using eval function or Function
or Script constructors.
Tell whether debug information is being generated.
Tell whether source information is being generated.
Returns whether a property is a getter or a setter
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
Return false
if result of Java method, which is instance of
String
, Number
, Boolean
and
Character
, should be used directly as JavaScript primitive
type.
Checks if this is a sealed Context.
Checks if this is a sealed ContextFactory.
Return true if this object is sealed.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
Check if k fits limit on string constant size imposed by class file
format.
Returns whether or not a given member (method or constructor)
has variable arguments.
If "obj" is a java.util.Iterator or a java.lang.Iterable, return a
wrapping as a JavaScript Iterator.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
L2D - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
L2F - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
L2I - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
LABEL - static field in class org.mozilla.javascript.
Token The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
Avoid loading classes unless they are used.
LB - static field in class org.mozilla.javascript.
Token LC - static field in class org.mozilla.javascript.
Token The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
LDC - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
LE - static field in class org.mozilla.javascript.
Token Token types.
LEFT - static field in class org.mozilla.javascript.
Node LET - static field in class org.mozilla.javascript.
Token LETEXPR - static field in class org.mozilla.javascript.
Token lineno - field in class org.mozilla.javascript.
Node Returns the line number of the statement causing the error,
or zero if not available.
The source text of the line causing the error, or null if unknown.
Listener of
Context
creation and release events.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
LOOP - static field in class org.mozilla.javascript.
Token LOR - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
LP - static field in class org.mozilla.javascript.
Token The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
LSH - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
LT - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
NAME - static field in class org.mozilla.javascript.
Token Token types.
Looks up a name in the scope chain and returns its value.
This class implements the Array native object.
This class implements the activation object.
This class implements the Function native object.
This class implements generator objects.
This class implements the global native object (function and value
properties only).
This class implements iterator objects.
This class reflects Java arrays into the JavaScript environment.
This class reflects Java classes into the JavaScript environment, mainly
for constructors and static members.
This class reflects a single Java constructor into the JavaScript
environment.
This class reflects Java methods into the JavaScript environment and
handles overloading of methods.
This class reflects non-Array Java objects into the JavaScript environment.
This class reflects Java packages into the JavaScript environment.
This class reflects Java packages into the JavaScript environment.
This class implements the Object native object.
This class implements the RegExp native object.
This class implements the object lookup required for the
with
statement.
NE - static field in class org.mozilla.javascript.
Token Token types.
NEG - static field in class org.mozilla.javascript.
Token Token types.
NEW - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
NEW - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
Create an array with a specified initial length.
Create an array with a set of initial elements.
Internal engine method to return serial number for generated classes
to ensure name uniqueness.
Crete new Delegator instance.
Create a new JavaScript object.
Create a new JavaScript object by executing the named constructor.
Creates a new JavaScript object by executing the named constructor.
This method is here for backward compat with existing compiled code.
Node - class org.mozilla.javascript.
Node This class implements the root of the intermediate representation.
This class transforms a tree to a lower-level representation for codegen.
NOP - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
NOT - static field in class org.mozilla.javascript.
Token Token types.
Value returned from get
if the property is not
found.
Tag to mark non-existing values.
NULL - static field in class org.mozilla.javascript.
Token Token types.
Tag to distinguish between uninitialized and null values.
NUMBER - static field in class org.mozilla.javascript.
Token Token types.
Helper function for builtin objects that use the varargs form.
The parent scope of this object.
This class implements the JavaScript parser.
Property attribute indicating property cannot be deleted.
A security controller relying on Java Policy
in effect.
POP - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
POS - static field in class org.mozilla.javascript.
Token Token types.
The prototype of this object.
Set int value of the key.
Set object value of the key.
Sets an indexed property in this object.
Sets the value of the indexed property, creating it if need be.
Sets a named property in this object.
Sets the value of the named property, creating it if need be.
Sets a named const property in this object.
Sets the value of the named const property, creating it if need be.
Puts a named property in an object or in an object in its prototype chain.
The byte opcodes defined by the Java Virtual Machine.
Puts an indexed property in an object or in an object in its prototype chain.
Puts a named property in an object or in an object in its prototype chain.
The byte opcodes defined by the Java Virtual Machine.
Put a value that can later be retrieved using a given key.
RB - static field in class org.mozilla.javascript.
Token RC - static field in class org.mozilla.javascript.
Token Property attribute indicating assignment to this property is ignored.
If hasProperty(obj, name) would return true, then if the property that
was found is compatible with the new property, this method just returns.
Ref - class org.mozilla.javascript.
Ref Generic notion of reference object that know how to query/modify the
target objects based on some property/index.
Perform function call in reference context.
Object that can allows assignments to the result of function calls.
REGEXP - static field in class org.mozilla.javascript.
Token Token types.
A proxy for the regexp package, so that the regexp package can be
loaded optionally.
Remove a name from the list of names forcing the creation of real
activation objects for functions.
Removes a name from the list of names to exclude.
Remove listener from bag of listeners.
Remove an object from the list of objects registered to receive
notification of changes to a bounded property
Remove values from thread-local storage.
Report an error using the error reporter for the current thread.
Report an error using the error reporter for the current thread.
Report a runtime error using the error reporter for the current thread.
Report a runtime error using the error reporter for the current thread.
Report a warning using the error reporter for the current thread.
Report a warning using the error reporter for the current thread.
Resume execution of a suspended generator.
RET - static field in class org.mozilla.classfile.
ByteCode The byte opcodes defined by the Java Virtual Machine.
RETHROW - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
RETURN - static field in class org.mozilla.javascript.
Token Token types.
The class of exceptions thrown by the JavaScript engine.
RIGHT - static field in class org.mozilla.javascript.
Node RP - static field in class org.mozilla.javascript.
Token RSH - static field in class org.mozilla.javascript.
Token Token types.
Execute action using the supplied Context instance.
Creates an EvaluatorException that may be thrown.
The byte opcodes defined by the Java Virtual Machine.
The byte opcodes defined by the Java Virtual Machine.
All compiled scripts implement this interface.
SCRIPT - static field in class org.mozilla.javascript.
Token Return new
Scriptable
instance using the default
constructor for the class of the underlying Java method.
This is interface that all objects in JavaScript must implement.
Class ScriptableInputStream is used to read in a JavaScript
object or function previously serialized with a ScriptableOutputStream.
Create a ScriptableInputStream.
This is the default implementation of the Scriptable interface.
Class ScriptableOutputStream is an ObjectOutputStream used
to serialize JavaScript objects and functions.
ScriptableOutputStream constructor.
This is the class that implements the runtime.
No instances should be created.
Seal this ContextFactory so any attempt to modify it like to add or
remove its listeners will throw an exception.
Seal this Context object so any attempt to modify any of its properties
including calling
enter()
and
exit()
methods will
throw an exception.
This class describes the support needed to implement security.
SEMI - static field in class org.mozilla.javascript.
Token SET - static field in class org.mozilla.javascript.
Token SET_REF - static field in class org.mozilla.javascript.
Token Token types.
Store an arbitrary object that applications can use to associate
their state with the continuation.
Set the attributes of an indexed property.
Set the attributes of a named property.
Set whether to cache some values.
Set the LiveConnect access filter for this context.
Associate
Context
instance with the current thread or remove
the current association if
cx is null.
Set the associated debugger.
SETELEM - static field in class org.mozilla.javascript.
Token Token types.
Change the current error reporter.
Mark the given script to indicate it was created by a call to
eval() or to a Function constructor.
Mark the given script to indicate it was created by a call to
eval() or to a Function constructor.
Mark the given script to indicate it was created by a call to
eval() or to a Function constructor.
Turn on or off generation of code with callbacks to
track the count of executed instructions.
Turn on or off generation of code with callbacks to
track the count of executed instructions.
Specify whether or not debug information should be generated.
Specify whether or not source information should be generated.
Specify whether or not source information should be generated.
Make value as DontEnum, DontDelete, ReadOnly
prototype property of this Function object
Set threshold of executed instructions counter that triggers call to
observeInstructionCount()
.
Set the language version.
Set the class name to use for main method implementation.
Sets the maximum stack depth (in terms of number of call frames)
allowed in a single invocation of interpreter.
SETNAME - static field in class org.mozilla.javascript.
Token Token types.
Version of setObjectElem when elem is a valid JS identifier name.
Set the current optimization level.
Sets the parent (enclosing) scope of the object.
Set the parent scope of the object.
Sets the parent (enclosing) scope of the object.
SETPROP - static field in class org.mozilla.javascript.
Token Token types.
Sets the prototype of the object.
Set the prototype of the object.
Sets the prototype of the object.
Can only be called when node has String context.
Set the security controller for this context.
Can only be called when node has String context.
Set the class that the generated target will extend.
Set the interfaces that the generated target will implement.
SETVAR - static field in class org.mozilla.javascript.
Token Token types.
Set a WrapFactory for this Context.
SHEQ - static field in class org.mozilla.javascript.
Token Token types.
SHNE - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
Get the uri of the script source containing the error, or null
if that information is not available.
Add a method and begin adding code.
Complete generation of the method.
STRING - static field in class org.mozilla.javascript.
Token Token types.
Check whether a string is ready to be compiled.
SUB - static field in class org.mozilla.javascript.
Token Token types.
The byte opcodes defined by the Java Virtual Machine.
SWITCH - static field in class org.mozilla.javascript.
Token This class provides support for implementing Java-style synchronized
methods in Javascript.
Create a new synchronized function from an existing one.
Types for the NEWARRAY opcode.
Types for the NEWARRAY opcode.
Types for the NEWARRAY opcode.
Types for the NEWARRAY opcode.
Types for the NEWARRAY opcode.
Types for the NEWARRAY opcode.
Types for the NEWARRAY opcode.
Types for the NEWARRAY opcode.
The byte opcodes defined by the Java Virtual Machine.
TARGET - static field in class org.mozilla.javascript.
Token If str is a decimal presentation of Uint32 value, return it as long.
THIS - static field in class org.mozilla.javascript.
Token Token types.
THISFN - static field in class org.mozilla.javascript.
Token Token types.
THROW - static field in class org.mozilla.javascript.
Token Token types.
Rethrow the exception wrapping it as the script runtime exception.
Flag to indicate that the decompilation generates toSource result.
Convert the value to a JavaScript boolean value.
Convert the value to a boolean.
Get the class file as array of bytesto the OutputStream.
Construct namespace for default xml statement.
This class implements the JavaScript scanner.
Convert the value to a JavaScript Number value.
Convert the value to a number.
ToNumber applied to the String type
See ECMA 9.3.1
Convert the value to an JavaScript object value.
Convert the value to an object.
Warning: this doesn't allow to resolve primitive prototype properly when many top scopes are involved
Optimized version of toString(Object) for numbers.
Convert the value to a JavaScript String value.
Convert the value to a string.
TRUE - static field in class org.mozilla.javascript.
Token Token types.
TRY - static field in class org.mozilla.javascript.
Token In many JVMSs, public methods in private
classes are not accessible by default (Sun Bug #4071593).
TYPEOF - static field in class org.mozilla.javascript.
Token Token types.
The typeof operator that correctly handles the undefined case