A B C D E F G H I J K L M N O P R S T U V W X Y Z _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AALOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- AASTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ACC_ABSTRACT - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACC_FINAL - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACC_NATIVE - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACC_PRIVATE - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACC_PROTECTED - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACC_PUBLIC - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACC_STATIC - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACC_SUPER - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACC_SYNCHRONIZED - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACC_TRANSIENT - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACC_VOLATILE - Static variable in class org.mozilla.classfile.ClassFileWriter
- ACONST_NULL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- acquireLabel() - Method in class org.mozilla.classfile.ClassFileWriter
- action(Context, Scriptable, Scriptable, Object[], int) - Method in class org.mozilla.javascript.regexp.RegExpImpl
- action(Context, Scriptable, Scriptable, Object[], int) - Method in interface org.mozilla.javascript.RegExpProxy
- activatePrototypeMap(int) - Method in class org.mozilla.javascript.IdScriptableObject
- add(double, Object) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- add(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Add the single-byte opcode to the current method.
- add(int, int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Add a single-operand opcode to the current method.
- add(int, int, int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Add the given two-operand bytecode to the current method.
- add(int, Object) - Method in class org.mozilla.javascript.NativeArray
- add(int, Object) - Method in class org.mozilla.javascript.ObjArray
- add(int, String) - Method in class org.mozilla.classfile.ClassFileWriter
- add(int, String, String, String) - Method in class org.mozilla.classfile.ClassFileWriter
- add(int, T) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- add(CharSequence, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- add(Object) - Method in class org.mozilla.javascript.NativeArray
- add(Object) - Method in class org.mozilla.javascript.ObjArray
- add(Object, double) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- add(Object, CharSequence) - Static method in class org.mozilla.javascript.ScriptRuntime
- add(Object, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- add(T) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayIterator
- add(T) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- ADD - Static variable in class org.mozilla.javascript.Token
-
Token types.
- addActivationName(String) - Method in class org.mozilla.javascript.Context
-
Add a name to the list of names forcing the creation of real activation objects for functions.
- addAll(int, Collection) - Method in class org.mozilla.javascript.NativeArray
- addAll(int, Collection<? extends T>) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- addAll(Collection) - Method in class org.mozilla.javascript.NativeArray
- addAll(Collection<? extends T>) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- addALoad(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Load object from the given local into stack.
- addArgument(AstNode) - Method in class org.mozilla.javascript.ast.FunctionCall
-
Adds an argument to the list, and sets its parent to this node.
- addAsConstructor(Scriptable, Scriptable) - Method in class org.mozilla.javascript.FunctionObject
-
Define this function as a JavaScript constructor.
- addAsProperty(Scriptable) - Method in class org.mozilla.javascript.IdFunctionObject
- addAStore(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Store object from stack top into the given local.
- addCase(SwitchCase) - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Adds a switch case statement to the end of the list.
- addCatchClause(CatchClause) - Method in class org.mozilla.javascript.ast.TryStatement
-
Add a catch-clause to the end of the list, and sets its parent to this node.
- addChild(AstNode) - Method in class org.mozilla.javascript.ast.AstNode
-
Adds a child or function to the end of the block.
- addChildAfter(Node, Node) - Method in class org.mozilla.javascript.Node
-
Add 'child' after 'node'.
- addChildBefore(Node, Node) - Method in class org.mozilla.javascript.Node
-
Add 'child' before 'node'.
- addChildrenToBack(Node) - Method in class org.mozilla.javascript.Node
- addChildrenToFront(Node) - Method in class org.mozilla.javascript.Node
- addChildScope(Scope) - Method in class org.mozilla.javascript.ast.Scope
-
Add a scope to our list of child scopes.
- addChildToBack(Node) - Method in class org.mozilla.javascript.Node
- addChildToFront(Node) - Method in class org.mozilla.javascript.Node
- addComment(Comment) - Method in class org.mozilla.javascript.ast.AstRoot
-
Add a comment to the comment set.
- addContextListener(ContextListener) - Static method in class org.mozilla.javascript.Context
-
Deprecated.
- addDLoad(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Load double from the given local into stack.
- addDStore(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Store double from stack top into the given local.
- addElement(AstNode) - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Adds an element to the list, and sets its parent to this node.
- addElement(ObjectProperty) - Method in class org.mozilla.javascript.ast.ObjectLiteral
-
Adds an element to the list, and sets its parent to this node.
- addExceptionHandler(int, int, int, String) - Method in class org.mozilla.classfile.ClassFileWriter
- addExcludedName(String) - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
-
Adds a qualified name to the list of objects to be excluded from serialization.
- addField(String, String, short) - Method in class org.mozilla.classfile.ClassFileWriter
-
Add a field to the class.
- addField(String, String, short, double) - Method in class org.mozilla.classfile.ClassFileWriter
-
Add a field to the class.
- addField(String, String, short, int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Add a field to the class.
- addField(String, String, short, long) - Method in class org.mozilla.classfile.ClassFileWriter
-
Add a field to the class.
- addFLoad(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Load float from the given local into stack.
- addFragment(XmlFragment) - Method in class org.mozilla.javascript.ast.XmlLiteral
-
Adds a fragment to the fragment list.
- addFStore(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Store float from stack top into the given local.
- addFunction(FunctionNode) - Method in class org.mozilla.javascript.ast.FunctionNode
- addFunction(FunctionNode) - Method in class org.mozilla.javascript.ast.ScriptNode
-
Adds a
FunctionNode
to the functions table for codegen. - addIdFunctionProperty(Scriptable, Object, int, String, int) - Method in class org.mozilla.javascript.IdScriptableObject
- addILoad(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Load integer from the given local into stack.
- addInstructionCount(Context, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- addInterface(String) - Method in class org.mozilla.classfile.ClassFileWriter
-
Add an interface implemented by this class.
- addInvoke(int, String, String, String) - Method in class org.mozilla.classfile.ClassFileWriter
- addIStore(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Store integer from stack top into the given local.
- addLabel(Label) - Method in class org.mozilla.javascript.ast.LabeledStatement
-
Adds a label and sets its parent to this node.
- addLineNumberEntry(short) - Method in class org.mozilla.classfile.ClassFileWriter
- addListener(Object, Object) - Static method in class org.mozilla.javascript.Kit
-
Add listener to bag of listeners.
- addListener(ContextFactory.Listener) - Method in class org.mozilla.javascript.ContextFactory
- addLiveLocals(Node, int[]) - Method in class org.mozilla.javascript.ast.FunctionNode
- addLLoad(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Load long from the given local into stack.
- addLoadConstant(double) - Method in class org.mozilla.classfile.ClassFileWriter
-
Generate the load constant bytecode for the given double.
- addLoadConstant(float) - Method in class org.mozilla.classfile.ClassFileWriter
-
Generate the load constant bytecode for the given float.
- addLoadConstant(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Generate the load constant bytecode for the given integer.
- addLoadConstant(long) - Method in class org.mozilla.classfile.ClassFileWriter
-
Generate the load constant bytecode for the given long.
- addLoadConstant(String) - Method in class org.mozilla.classfile.ClassFileWriter
-
Generate the load constant bytecode for the given string.
- addLoadThis() - Method in class org.mozilla.classfile.ClassFileWriter
-
Load "this" into stack.
- addLoop(ArrayComprehensionLoop) - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Adds a child loop node, and sets its parent to this node.
- addLoop(GeneratorExpressionLoop) - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Adds a child loop node, and sets its parent to this node.
- addLStore(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Store long from stack top into the given local.
- addOptionalExcludedName(String) - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
-
Adds a qualified name to the list of object to be excluded from serialization.
- addParam(AstNode) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Adds a parameter to the function parameter list.
- addPropertyChangeListener(PropertyChangeListener) - Method in class org.mozilla.javascript.Context
-
Register an object to receive notifications when a bound property has changed
- addPush(boolean) - Method in class org.mozilla.classfile.ClassFileWriter
- addPush(double) - Method in class org.mozilla.classfile.ClassFileWriter
-
Generate code to load the given double on stack.
- addPush(int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Generate code to load the given integer on stack.
- addPush(long) - Method in class org.mozilla.classfile.ClassFileWriter
-
Generate code to load the given long on stack.
- addPush(String) - Method in class org.mozilla.classfile.ClassFileWriter
-
Generate the code to leave on stack the given string even if the string encoding exeeds the class file limit for single string constant
- addRegExp(RegExpLiteral) - Method in class org.mozilla.javascript.ast.ScriptNode
-
Called by IRFactory to add a RegExp to the regexp table.
- addResumptionPoint(Node) - Method in class org.mozilla.javascript.ast.FunctionNode
- addStatement(AstNode) - Method in class org.mozilla.javascript.ast.Block
- addStatement(AstNode) - Method in class org.mozilla.javascript.ast.SwitchCase
-
Adds a statement to the end of the statement list.
- addTableSwitch(int, int) - Method in class org.mozilla.classfile.ClassFileWriter
- addValues(Context, boolean, Object) - Method in class org.mozilla.javascript.xml.XMLObject
-
Custom + operator.
- addVariable(VariableInitializer) - Method in class org.mozilla.javascript.ast.VariableDeclaration
-
Adds a variable initializer node to the child list.
- addVariableDescriptor(String, String, int, int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Add Information about java variable to use when generating the local variable table.
- adjustStackTop(int) - Method in class org.mozilla.classfile.ClassFileWriter
- ALOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ALOAD_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ALOAD_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ALOAD_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ALOAD_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- AND - Static variable in class org.mozilla.javascript.Token
- ANEWARRAY - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- applyDescriptorToAttributeBitset(int, ScriptableObject) - Method in class org.mozilla.javascript.ScriptableObject
- applyOrCall(boolean, Context, Scriptable, Scriptable, Object[]) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Function.prototype.apply and Function.prototype.call See Ecma 15.3.4.[34]
- ARETURN - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ARGC_LIMIT - Static variable in class org.mozilla.javascript.Parser
-
Maximum number of allowed function or constructor arguments, to follow SpiderMonkey.
- arguments - Variable in class org.mozilla.javascript.ast.FunctionCall
- Array - org.mozilla.javascript.TopLevel.Builtins
-
The built-in Array type.
- arrayBuffer - Variable in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
-
Many view objects can share the same backing array
- ARRAYCOMP - Static variable in class org.mozilla.javascript.Token
- ArrayComprehension - Class in org.mozilla.javascript.ast
-
AST node for a JavaScript 1.7 Array comprehension.
- ArrayComprehension() - Constructor for class org.mozilla.javascript.ast.ArrayComprehension
- ArrayComprehension(int) - Constructor for class org.mozilla.javascript.ast.ArrayComprehension
- ArrayComprehension(int, int) - Constructor for class org.mozilla.javascript.ast.ArrayComprehension
- ArrayComprehensionLoop - Class in org.mozilla.javascript.ast
-
AST node for a single 'for (foo in bar)' loop construct in a JavaScript 1.7 Array comprehension.
- ArrayComprehensionLoop() - Constructor for class org.mozilla.javascript.ast.ArrayComprehensionLoop
- ArrayComprehensionLoop(int) - Constructor for class org.mozilla.javascript.ast.ArrayComprehensionLoop
- ArrayComprehensionLoop(int, int) - Constructor for class org.mozilla.javascript.ast.ArrayComprehensionLoop
- ARRAYLENGTH - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ARRAYLIT - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ArrayLiteral - Class in org.mozilla.javascript.ast
-
AST node for an Array literal.
- ArrayLiteral() - Constructor for class org.mozilla.javascript.ast.ArrayLiteral
- ArrayLiteral(int) - Constructor for class org.mozilla.javascript.ast.ArrayLiteral
- ArrayLiteral(int, int) - Constructor for class org.mozilla.javascript.ast.ArrayLiteral
- ARROW - Static variable in class org.mozilla.javascript.Token
- ARROW_FUNCTION - Static variable in class org.mozilla.javascript.ast.FunctionNode
- ARROW_FUNCTION_PROP - Static variable in class org.mozilla.javascript.Node
- ArrowFunction - Class in org.mozilla.javascript
-
The class for Arrow Function Definitions EcmaScript 6 Rev 14, March 8, 2013 Draft spec , 13.2
- ArrowFunction(Context, Scriptable, Callable, Scriptable) - Constructor for class org.mozilla.javascript.ArrowFunction
- assertNotNull(Object) - Method in class org.mozilla.javascript.ast.AstNode
-
Bounces an IllegalArgumentException up if arg is
null
. - ASSIGN - Static variable in class org.mozilla.javascript.Token
- ASSIGN_ADD - Static variable in class org.mozilla.javascript.Token
- ASSIGN_BITAND - Static variable in class org.mozilla.javascript.Token
- ASSIGN_BITOR - Static variable in class org.mozilla.javascript.Token
- ASSIGN_BITXOR - Static variable in class org.mozilla.javascript.Token
- ASSIGN_DIV - Static variable in class org.mozilla.javascript.Token
- ASSIGN_LSH - Static variable in class org.mozilla.javascript.Token
- ASSIGN_MOD - Static variable in class org.mozilla.javascript.Token
- ASSIGN_MUL - Static variable in class org.mozilla.javascript.Token
- ASSIGN_RSH - Static variable in class org.mozilla.javascript.Token
- ASSIGN_SUB - Static variable in class org.mozilla.javascript.Token
- ASSIGN_URSH - Static variable in class org.mozilla.javascript.Token
- Assignment - Class in org.mozilla.javascript.ast
-
AST node representing the set of assignment operators such as
=
,*=
and+=
. - Assignment() - Constructor for class org.mozilla.javascript.ast.Assignment
- Assignment(int) - Constructor for class org.mozilla.javascript.ast.Assignment
- Assignment(int, int) - Constructor for class org.mozilla.javascript.ast.Assignment
- Assignment(int, int, AstNode, AstNode) - Constructor for class org.mozilla.javascript.ast.Assignment
- Assignment(int, AstNode, AstNode, int) - Constructor for class org.mozilla.javascript.ast.Assignment
- Assignment(AstNode, AstNode) - Constructor for class org.mozilla.javascript.ast.Assignment
- associate(ScriptableObject) - Method in class org.mozilla.javascript.ClassCache
-
Associate ClassCache object with the given top-level scope.
- associateValue(Object, Object) - Method in class org.mozilla.javascript.ScriptableObject
-
Associate arbitrary application-specific value with this object.
- AstNode - Class in org.mozilla.javascript.ast
-
Base class for AST node types.
- AstNode() - Constructor for class org.mozilla.javascript.ast.AstNode
- AstNode(int) - Constructor for class org.mozilla.javascript.ast.AstNode
-
Constructs a new AstNode
- AstNode(int, int) - Constructor for class org.mozilla.javascript.ast.AstNode
-
Constructs a new AstNode
- AstNode.DebugPrintVisitor - Class in org.mozilla.javascript.ast
- AstNode.PositionComparator - Class in org.mozilla.javascript.ast
- ASTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ASTORE_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ASTORE_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ASTORE_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ASTORE_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- AstRoot - Class in org.mozilla.javascript.ast
-
Node for the root of a parse tree.
- AstRoot() - Constructor for class org.mozilla.javascript.ast.AstRoot
- AstRoot(int) - Constructor for class org.mozilla.javascript.ast.AstRoot
- ATHROW - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- atPos - Variable in class org.mozilla.javascript.ast.XmlRef
- ATTRIBUTE_FLAG - Static variable in class org.mozilla.javascript.Node
- avoidObjectDetection() - Method in class org.mozilla.javascript.ScriptableObject
-
Emulate the SpiderMonkey (and Firefox) feature of allowing custom objects to avoid detection by normal "object detection" code patterns.
B
- BALOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- BaseFunction - Class in org.mozilla.javascript
-
The base class for Function objects See ECMA 15.3.
- BaseFunction() - Constructor for class org.mozilla.javascript.BaseFunction
- BaseFunction(Scriptable, Scriptable) - Constructor for class org.mozilla.javascript.BaseFunction
- BASTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- bind(Context, Scriptable, String) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Returns the object in the scope chain that has a given property.
- BINDNAME - Static variable in class org.mozilla.javascript.Token
-
Token types.
- bindThis(NativeFunction, Context, Scriptable, Scriptable) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- bindToScope(Scriptable) - Method in class org.mozilla.javascript.xml.XMLLib
- BIPUSH - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- BITAND - Static variable in class org.mozilla.javascript.Token
-
Token types.
- BITNOT - Static variable in class org.mozilla.javascript.Token
-
Token types.
- BITOR - Static variable in class org.mozilla.javascript.Token
-
Token types.
- BITXOR - Static variable in class org.mozilla.javascript.Token
-
Token types.
- Block - Class in org.mozilla.javascript.ast
-
A block statement delimited by curly braces.
- Block() - Constructor for class org.mozilla.javascript.ast.Block
- Block(int) - Constructor for class org.mozilla.javascript.ast.Block
- Block(int, int) - Constructor for class org.mozilla.javascript.ast.Block
- BLOCK - Static variable in class org.mozilla.javascript.Token
- BLOCK_COMMENT - org.mozilla.javascript.Token.CommentType
- body - Variable in class org.mozilla.javascript.ast.Loop
- Boolean - org.mozilla.javascript.TopLevel.Builtins
-
The built-in Boolean type.
- BooleanClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- BOTH - Static variable in class org.mozilla.javascript.Node
- BoundFunction - Class in org.mozilla.javascript
-
The class for results of the Function.bind operation EcmaScript 5 spec, 15.3.4.5
- BoundFunction(Context, Scriptable, Callable, Scriptable, Object[]) - Constructor for class org.mozilla.javascript.BoundFunction
- BREAK - Static variable in class org.mozilla.javascript.Token
- BREAKPOINT - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- BreakStatement - Class in org.mozilla.javascript.ast
-
A break statement.
- BreakStatement() - Constructor for class org.mozilla.javascript.ast.BreakStatement
- BreakStatement(int) - Constructor for class org.mozilla.javascript.ast.BreakStatement
- BreakStatement(int, int) - Constructor for class org.mozilla.javascript.ast.BreakStatement
- buildDataDescriptor(Scriptable, Object, int) - Static method in class org.mozilla.javascript.ScriptableObject
- ByteClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- ByteCode - Class in org.mozilla.classfile
-
This class provides opcode values expected by the JVM in Java class files.
- ByteCode() - Constructor for class org.mozilla.classfile.ByteCode
- ByteIo - Class in org.mozilla.javascript.typedarrays
- ByteIo() - Constructor for class org.mozilla.javascript.typedarrays.ByteIo
- byteLength - Variable in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
-
The length, in bytes, of the portion of the backing array that we use
C
- cacheBuiltins() - Method in class org.mozilla.javascript.TopLevel
-
Cache the built-in ECMAScript objects to protect them against modifications by the script.
- CachedModuleScript(ModuleScript, Object) - Constructor for class org.mozilla.javascript.commonjs.module.provider.CachingModuleScriptProviderBase.CachedModuleScript
-
Creates a new cached module script.
- CachedPowers - Class in org.mozilla.javascript.v8dtoa
- CachedPowers() - Constructor for class org.mozilla.javascript.v8dtoa.CachedPowers
- CachingModuleScriptProviderBase - Class in org.mozilla.javascript.commonjs.module.provider
-
Abstract base class that implements caching of loaded module scripts.
- CachingModuleScriptProviderBase(ModuleSourceProvider) - Constructor for class org.mozilla.javascript.commonjs.module.provider.CachingModuleScriptProviderBase
-
Creates a new module script provider with the specified source.
- CachingModuleScriptProviderBase.CachedModuleScript - Class in org.mozilla.javascript.commonjs.module.provider
-
Instances of this class represent a loaded and cached module script.
- calculateExpiry(URLConnection) - Method in class org.mozilla.javascript.commonjs.module.provider.DefaultUrlConnectionExpiryCalculator
- calculateExpiry(URLConnection) - Method in interface org.mozilla.javascript.commonjs.module.provider.UrlConnectionExpiryCalculator
-
Given a URL connection, returns a calculated heuristic expiry time (in terms of milliseconds since epoch) for the resource.
- call(Callable, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.PolicySecurityController.SecureCaller
- call(Callable, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.SecureCaller
- call(ContextAction) - Static method in class org.mozilla.javascript.Context
-
Deprecated.use
ContextFactory.call(ContextAction)
instead as this method relies on usage of a static singleton "global" ContextFactory. - call(ContextAction) - Method in class org.mozilla.javascript.ContextFactory
-
Call
ContextAction.run(Context cx)
using theContext
instance associated with the current thread. - call(ContextFactory, Callable, Scriptable, Scriptable, Object[]) - Static method in class org.mozilla.javascript.Context
-
Call
Callable.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
using the Context instance associated with the current thread. - call(Context, Object, Object, Object[], Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.The method is only present for compatibility.
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.ArrowFunction
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.BaseFunction
-
Should be overridden.
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.BoundFunction
- call(Context, Scriptable, Scriptable, Object[]) - Method in interface org.mozilla.javascript.Callable
-
Perform the call.
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.commonjs.module.Require
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.Delegator
- call(Context, Scriptable, Scriptable, Object[]) - Method in interface org.mozilla.javascript.Function
-
Call the function.
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.FunctionObject
-
Performs conversions on argument types if needed and invokes the underlying Java method or constructor.
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.IdFunctionObject
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeContinuation
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeJavaClass
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeJavaConstructor
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeJavaMethod
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeJavaTopPackage
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.regexp.NativeRegExp
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.Synchronizer
- CALL - Static variable in class org.mozilla.javascript.Token
-
Token types.
- call0(Callable, Scriptable, Context, Scriptable) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
-
Implement ....() call shrinking optimizer code.
- call1(Callable, Scriptable, Object, Context, Scriptable) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
-
Implement ....(arg) call shrinking optimizer code.
- call2(Callable, Scriptable, Object, Object, Context, Scriptable) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
-
Implement ....(arg0, arg1) call shrinking optimizer code.
- Callable - Interface in org.mozilla.javascript
-
Generic notion of callable object that can execute some script-related code upon request with specified values for script scope and this objects.
- callFunctionWithContinuations(Callable, Scriptable, Object[]) - Method in class org.mozilla.javascript.Context
-
Call function that may pause execution by capturing a continuation.
- callMethod(ContextFactory, Scriptable, Function, Object[], long) - Static method in class org.mozilla.javascript.JavaAdapter
-
Utility method which dynamically binds a Context to the current thread, if none already exists.
- callMethod(Context, Scriptable, String, Object[]) - Static method in class org.mozilla.javascript.ScriptableObject
-
Call a method of an object.
- callMethod(Scriptable, String, Object[]) - Static method in class org.mozilla.javascript.ScriptableObject
-
Call a method of an object.
- callN(Callable, Scriptable, Object[], Context, Scriptable) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
-
Implement ....(arg0, arg1, ...) call shrinking optimizer code.
- callName(Object[], String, Context, Scriptable) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
-
Implement name(args) call shrinking optimizer code.
- callName0(String, Context, Scriptable) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
-
Implement name() call shrinking optimizer code.
- callProp0(Object, String, Context, Scriptable) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
-
Implement x.property() call shrinking optimizer code.
- callRef(Callable, Scriptable, Object[], Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Perform function call in reference context.
- callSpecial(Context, Callable, Scriptable, Object[], Scriptable, Scriptable, int, String, int) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- callSpecial(Context, Callable, Scriptable, Object[], Scriptable, Scriptable, int, String, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- callWithDomain(Object, Context, Callable, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.PolicySecurityController
- callWithDomain(Object, Context, Callable, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.SecurityController
-
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. - CALOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- canConvert(Object, Class<?>) - Static method in class org.mozilla.javascript.NativeJavaObject
-
Determine whether we can/should convert between the given type and the desired one.
- captureContinuation() - Method in class org.mozilla.javascript.Context
-
Capture a continuation from the current execution.
- captureContinuation(Context) - Static method in class org.mozilla.javascript.Interpreter
- captureStackInfo(RhinoException) - Method in interface org.mozilla.javascript.Evaluator
-
Capture stack information from the given exception.
- captureStackInfo(RhinoException) - Method in class org.mozilla.javascript.Interpreter
- captureStackInfo(RhinoException) - Method in class org.mozilla.javascript.optimizer.Codegen
- CASE - Static variable in class org.mozilla.javascript.Token
- CASE_GAP_PROP - Static variable in class org.mozilla.javascript.Decompiler
-
Decompilation property to specify identation offset for case labels.
- CASEARRAY_PROP - Static variable in class org.mozilla.javascript.Node
- CASTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- CATCH - Static variable in class org.mozilla.javascript.Token
- CATCH_SCOPE - Static variable in class org.mozilla.javascript.Token
-
Token types.
- CATCH_SCOPE_PROP - Static variable in class org.mozilla.javascript.Node
- CatchClause - Class in org.mozilla.javascript.ast
-
Node representing a catch-clause of a try-statement.
- CatchClause() - Constructor for class org.mozilla.javascript.ast.CatchClause
- CatchClause(int) - Constructor for class org.mozilla.javascript.ast.CatchClause
- CatchClause(int, int) - Constructor for class org.mozilla.javascript.ast.CatchClause
- CharacterClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- charAt(int) - Method in class org.mozilla.javascript.ConsString
- checkActivationName(String, int) - Method in class org.mozilla.javascript.Parser
- CHECKCAST - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- checkIndex(int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- checkLanguageVersion(int) - Static method in class org.mozilla.javascript.Context
- checkMutableReference(Node) - Method in class org.mozilla.javascript.Parser
- checkNotSealed() - Method in class org.mozilla.javascript.ContextFactory
- checkOptimizationLevel(int) - Static method in class org.mozilla.javascript.Context
- checkParentLinks() - Method in class org.mozilla.javascript.ast.AstRoot
-
Debugging function to check that the parser has set the parent link for every node in the tree.
- checkPropertyChange(Object, ScriptableObject, ScriptableObject) - Method in class org.mozilla.javascript.ScriptableObject
- checkPropertyDefinition(ScriptableObject) - Method in class org.mozilla.javascript.ScriptableObject
- checkRegExpProxy(Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- CLASS_NAME - Static variable in class org.mozilla.javascript.NativeSymbol
- CLASS_NAME - Static variable in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- CLASS_NAME - Static variable in class org.mozilla.javascript.typedarrays.NativeDataView
- ClassCache - Class in org.mozilla.javascript
-
Cache of generated classes and data structures to access Java runtime from JavaScript.
- ClassCache() - Constructor for class org.mozilla.javascript.ClassCache
- ClassClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- ClassCompiler - Class in org.mozilla.javascript.optimizer
-
Generates class files from script sources.
- ClassCompiler(CompilerEnvirons) - Constructor for class org.mozilla.javascript.optimizer.ClassCompiler
-
Construct ClassCompiler that uses the specified compiler environment when generating classes.
- ClassDefinitionException - Exception in org.mozilla.javascript
-
Deprecated.The exception is no longer thrown by Rhino runtime as
EvaluatorException
is used instead. - ClassDefinitionException(String) - Constructor for exception org.mozilla.javascript.ClassDefinitionException
-
Deprecated.
- ClassFileWriter - Class in org.mozilla.classfile
-
ClassFileWriter A ClassFileWriter is used to write a Java class file.
- ClassFileWriter(String, String, String) - Constructor for class org.mozilla.classfile.ClassFileWriter
-
Construct a ClassFileWriter for a class.
- ClassFileWriter.ClassFileFormatException - Exception in org.mozilla.classfile
-
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.
- classNameToSignature(String) - Static method in class org.mozilla.classfile.ClassFileWriter
-
Convert Java class name in dot notation into "Lname-with-dots-replaced-by-slashes;" form suitable for use as JVM type signatures.
- classOrNull(ClassLoader, String) - Static method in class org.mozilla.javascript.Kit
-
Attempt to load the class of the given name.
- classOrNull(String) - Static method in class org.mozilla.javascript.Kit
- ClassShutter - Interface in org.mozilla.javascript
-
Embeddings that wish to filter Java classes that are visible to scripts through the LiveConnect, should implement this interface.
- clear() - Method in class org.mozilla.javascript.NativeArray
- clear() - Method in class org.mozilla.javascript.NativeObject
- clear() - Method in class org.mozilla.javascript.ObjArray
- clear() - Method in class org.mozilla.javascript.ObjToIntMap
- clear() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- clear() - Method in class org.mozilla.javascript.UintMap
- clearCaches() - Method in class org.mozilla.javascript.ClassCache
-
Empty caches of generated Java classes and Java reflection information.
- clearParentScope() - Method in class org.mozilla.javascript.ast.Scope
-
Used only for code generation.
- cmp_LE(Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- cmp_LT(Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- codeBug() - Static method in class org.mozilla.javascript.ast.AstNode
- codeBug() - Static method in class org.mozilla.javascript.Kit
-
Throws RuntimeException to indicate failed assertion.
- codeBug(String) - Static method in class org.mozilla.javascript.Kit
-
Throws RuntimeException to indicate failed assertion.
- Codegen - Class in org.mozilla.javascript.optimizer
-
This class generates code for a given IR tree.
- Codegen() - Constructor for class org.mozilla.javascript.optimizer.Codegen
- coerceType(Class<?>, Object) - Static method in class org.mozilla.javascript.NativeJavaObject
-
Deprecated.as of 1.5 Release 4
- COLON - Static variable in class org.mozilla.javascript.Token
- COLONCOLON - Static variable in class org.mozilla.javascript.Token
- colonPos - Variable in class org.mozilla.javascript.ast.XmlRef
- columnNumber() - Method in exception org.mozilla.javascript.RhinoException
-
The column number of the location of the error, or zero if unknown.
- COMMA - Static variable in class org.mozilla.javascript.Token
- Comment - Class in org.mozilla.javascript.ast
-
Node representing comments.
- Comment(int, int, Token.CommentType, String) - Constructor for class org.mozilla.javascript.ast.Comment
-
Constructs a new Comment
- COMMENT - Static variable in class org.mozilla.javascript.Token
- compare(Object, Object) - Method in class org.mozilla.javascript.NativeArray.ElementComparator
- compare(Object, Object) - Method in class org.mozilla.javascript.NativeArray.StringLikeComparator
- compare(Object, Object) - Method in class org.mozilla.javascript.ScriptableObject.KeyComparator
- compare(AstNode, AstNode) - Method in class org.mozilla.javascript.ast.AstNode.PositionComparator
-
Sorts nodes by (relative) start position.
- compareTo(AstNode) - Method in class org.mozilla.javascript.ast.AstNode
-
Permits AST nodes to be sorted based on start position and length.
- compile(CompilerEnvirons, ScriptNode, String, boolean) - Method in interface org.mozilla.javascript.Evaluator
-
Compile the script or function from intermediate representation tree into an executable form.
- compile(CompilerEnvirons, ScriptNode, String, boolean) - Method in class org.mozilla.javascript.Interpreter
- compile(CompilerEnvirons, ScriptNode, String, boolean) - Method in class org.mozilla.javascript.optimizer.Codegen
- compileFunction(Scriptable, String, String, int, Object) - Method in class org.mozilla.javascript.Context
-
Compile a JavaScript function.
- compileReader(Reader, String, int, Object) - Method in class org.mozilla.javascript.Context
-
Compiles the source in the given reader.
- compileReader(Scriptable, Reader, String, int, Object) - Method in class org.mozilla.javascript.Context
-
Deprecated.
- compileRegExp(Context, String, String) - Method in class org.mozilla.javascript.regexp.RegExpImpl
- compileRegExp(Context, String, String) - Method in interface org.mozilla.javascript.RegExpProxy
- CompilerEnvirons - Class in org.mozilla.javascript
- CompilerEnvirons() - Constructor for class org.mozilla.javascript.CompilerEnvirons
- compileString(String, String, int, Object) - Method in class org.mozilla.javascript.Context
-
Compiles the source in the given string.
- compileToClassFile(CompilerEnvirons, String, ScriptNode, String, boolean) - Method in class org.mozilla.javascript.optimizer.Codegen
- compileToClassFiles(String, String, int, String) - Method in class org.mozilla.javascript.optimizer.ClassCompiler
-
Compile JavaScript source into one or more Java class files.
- ConditionalExpression - Class in org.mozilla.javascript.ast
-
AST node representing the ternary operator.
- ConditionalExpression() - Constructor for class org.mozilla.javascript.ast.ConditionalExpression
- ConditionalExpression(int) - Constructor for class org.mozilla.javascript.ast.ConditionalExpression
- ConditionalExpression(int, int) - Constructor for class org.mozilla.javascript.ast.ConditionalExpression
- ConsString - Class in org.mozilla.javascript
-
This class represents a string composed of two components, each of which may be a
java.lang.String
or another ConsString. - ConsString(CharSequence, CharSequence) - Constructor for class org.mozilla.javascript.ConsString
- CONST - Static variable in class org.mozilla.javascript.ScriptableObject
- CONST - Static variable in class org.mozilla.javascript.Token
- ConstProperties - Interface in org.mozilla.javascript
- construct(Context, Scriptable, Object[]) - Method in class org.mozilla.javascript.ArrowFunction
- construct(Context, Scriptable, Object[]) - Method in class org.mozilla.javascript.BaseFunction
- construct(Context, Scriptable, Object[]) - Method in class org.mozilla.javascript.BoundFunction
- construct(Context, Scriptable, Object[]) - Method in class org.mozilla.javascript.commonjs.module.Require
- construct(Context, Scriptable, Object[]) - Method in class org.mozilla.javascript.Delegator
-
Note that if the
delegee
isnull
, this method creates a new instance of the Delegator itself rathert than forwarding the call to thedelegee
. - construct(Context, Scriptable, Object[]) - Method in interface org.mozilla.javascript.Function
-
Call the function as a constructor.
- construct(Context, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeContinuation
- construct(Context, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeJavaClass
- construct(Context, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeJavaTopPackage
- construct(Context, Scriptable, Object[]) - Static method in class org.mozilla.javascript.NativeSymbol
-
Use this when we need to create symbols internally because of the convoluted way we have to construct them.
- construct(Context, Scriptable, Object[]) - Method in class org.mozilla.javascript.regexp.NativeRegExp
- construct(NativeArrayBuffer, int, int) - Method in class org.mozilla.javascript.typedarrays.NativeFloat32Array
- construct(NativeArrayBuffer, int, int) - Method in class org.mozilla.javascript.typedarrays.NativeFloat64Array
- construct(NativeArrayBuffer, int, int) - Method in class org.mozilla.javascript.typedarrays.NativeInt16Array
- construct(NativeArrayBuffer, int, int) - Method in class org.mozilla.javascript.typedarrays.NativeInt32Array
- construct(NativeArrayBuffer, int, int) - Method in class org.mozilla.javascript.typedarrays.NativeInt8Array
- construct(NativeArrayBuffer, int, int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- construct(NativeArrayBuffer, int, int) - Method in class org.mozilla.javascript.typedarrays.NativeUint16Array
- construct(NativeArrayBuffer, int, int) - Method in class org.mozilla.javascript.typedarrays.NativeUint32Array
- construct(NativeArrayBuffer, int, int) - Method in class org.mozilla.javascript.typedarrays.NativeUint8Array
- construct(NativeArrayBuffer, int, int) - Method in class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- constructError(String, String) - Static method in class org.mozilla.javascript.ScriptRuntime
- constructError(String, String, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- constructError(String, String, String, int, String, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- constructError(Context, String, String, Scriptable) - Static method in class org.mozilla.javascript.NativeGlobal
-
Deprecated.Use
ScriptRuntime.constructError(String,String)
instead. - constructError(Context, String, String, Scriptable, String, int, int, String) - Static method in class org.mozilla.javascript.NativeGlobal
-
Deprecated.
- contains(Object) - Method in class org.mozilla.javascript.NativeArray
- contains(Object) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- containsAll(Collection) - Method in class org.mozilla.javascript.NativeArray
- containsAll(Collection<?>) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- containsKey(Object) - Method in class org.mozilla.javascript.NativeObject
- containsValue(Object) - Method in class org.mozilla.javascript.NativeObject
- Context - Class in org.mozilla.javascript
-
This class represents the runtime context of an executing script.
- Context() - Constructor for class org.mozilla.javascript.Context
-
Deprecated.this constructor is deprecated because it creates a dependency on a static singleton context factory. Use
ContextFactory.enter()
orContextFactory.call(ContextAction)
instead. If you subclass this class, consider usingContext(ContextFactory)
constructor instead in the subclasses' constructors. - Context(ContextFactory) - Constructor for class org.mozilla.javascript.Context
-
Creates a new context.
- Context.ClassShutterSetter - Interface in org.mozilla.javascript
- ContextAction - Interface in org.mozilla.javascript
-
Interface to represent arbitrary action that requires to have Context object associated with the current thread for its execution.
- ContextClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- contextCreated(Context) - Method in interface org.mozilla.javascript.ContextFactory.Listener
-
Notify about newly created
Context
object. - contextEntered(Context) - Method in interface org.mozilla.javascript.ContextListener
-
Deprecated.Rhino runtime never calls the method.
- contextExited(Context) - Method in interface org.mozilla.javascript.ContextListener
-
Deprecated.Rhino runtime never calls the method.
- ContextFactory - Class in org.mozilla.javascript
-
Factory class that Rhino runtime uses to create new
Context
instances. - ContextFactory() - Constructor for class org.mozilla.javascript.ContextFactory
- ContextFactory.GlobalSetter - Interface in org.mozilla.javascript
- ContextFactory.Listener - Interface in org.mozilla.javascript
-
Listener of
Context
creation and release events. - ContextFactoryClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- ContextListener - Interface in org.mozilla.javascript
-
Deprecated.Embeddings that wish to customize newly created
Context
instances should implementContextFactory.Listener
. - contextReleased(Context) - Method in interface org.mozilla.javascript.ContextFactory.Listener
-
Notify that the specified
Context
instance is no longer associated with the current thread. - ContinuationPending - Exception in org.mozilla.javascript
-
Exception thrown by
Context.executeScriptWithContinuations(Script, Scriptable)
andContext.callFunctionWithContinuations(Callable, Scriptable, Object[])
when execution encounters a continuation captured byContext.captureContinuation()
. - ContinuationPending(NativeContinuation) - Constructor for exception org.mozilla.javascript.ContinuationPending
-
Construct a ContinuationPending exception.
- CONTINUE - Static variable in class org.mozilla.javascript.Token
- ContinueStatement - Class in org.mozilla.javascript.ast
-
A continue statement.
- ContinueStatement() - Constructor for class org.mozilla.javascript.ast.ContinueStatement
- ContinueStatement(int) - Constructor for class org.mozilla.javascript.ast.ContinueStatement
- ContinueStatement(int, int) - Constructor for class org.mozilla.javascript.ast.ContinueStatement
- ContinueStatement(int, int, Name) - Constructor for class org.mozilla.javascript.ast.ContinueStatement
- ContinueStatement(int, Name) - Constructor for class org.mozilla.javascript.ast.ContinueStatement
- ContinueStatement(Name) - Constructor for class org.mozilla.javascript.ast.ContinueStatement
- CONTROL_BLOCK_PROP - Static variable in class org.mozilla.javascript.Node
- Conversions - Class in org.mozilla.javascript.typedarrays
-
Numeric conversions from section 7 of the ECMAScript 6 standard.
- Conversions() - Constructor for class org.mozilla.javascript.typedarrays.Conversions
- convertArg(Context, Scriptable, Object, int) - Static method in class org.mozilla.javascript.FunctionObject
- convertArg(Context, Scriptable, Object, Class<?>) - Static method in class org.mozilla.javascript.FunctionObject
-
Deprecated.Use
FunctionObject.getTypeTag(Class)
andFunctionObject.convertArg(Context, Scriptable, Object, int)
for type conversion. - convertResult(Object, Class<?>) - Static method in class org.mozilla.javascript.JavaAdapter
- create(String) - Static method in class org.mozilla.javascript.xml.XMLLib.Factory
- createAdapterCode(ObjToIntMap, String, Class<?>, Class<?>[], String) - Static method in class org.mozilla.javascript.JavaAdapter
- createAdapterWrapper(Scriptable, Object) - Static method in class org.mozilla.javascript.JavaAdapter
- createArrowFunctionActivation(NativeFunction, Scriptable, Object[], boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
- createClassLoader(ClassLoader) - Method in class org.mozilla.javascript.Context
-
Create class loader for generated classes.
- createClassLoader(ClassLoader) - Method in class org.mozilla.javascript.ContextFactory
-
Create class loader for generated classes.
- createClassLoader(ClassLoader, Object) - Method in class org.mozilla.javascript.PolicySecurityController
- createClassLoader(ClassLoader, Object) - Method in class org.mozilla.javascript.SecurityController
-
Get class loader-like object that can be used to define classes with the given security context.
- createFunctionActivation(NativeFunction, Scriptable, Object[]) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- createFunctionActivation(NativeFunction, Scriptable, Object[], boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
- createFunctionObject(Context, Scriptable, Object, Object) - Method in interface org.mozilla.javascript.Evaluator
-
Create a function object.
- createFunctionObject(Context, Scriptable, Object, Object) - Method in class org.mozilla.javascript.Interpreter
- createFunctionObject(Context, Scriptable, Object, Object) - Method in class org.mozilla.javascript.optimizer.Codegen
- createInterfaceAdapter(Class<?>, ScriptableObject) - Static method in class org.mozilla.javascript.NativeJavaObject
- createLoader(ClassLoader, Object) - Static method in class org.mozilla.javascript.SecurityController
-
Create
GeneratedClassLoader
with restrictions imposed by staticDomain and all current stack frames. - createName(int, String, Node) - Method in class org.mozilla.javascript.Parser
- createName(String) - Method in class org.mozilla.javascript.Parser
- createNativeGenerator(NativeFunction, Scriptable, Scriptable, int, int) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- createNumber(double) - Method in class org.mozilla.javascript.Parser
- createObject(Context, Scriptable) - Method in class org.mozilla.javascript.BaseFunction
-
Creates new script object.
- createObject(Context, Scriptable) - Method in class org.mozilla.javascript.FunctionObject
-
Return new
Scriptable
instance using the default constructor for the class of the underlying Java method. - createObject(Context, Scriptable) - Method in class org.mozilla.javascript.IdFunctionObject
- createRequire(Context, Scriptable) - Method in class org.mozilla.javascript.commonjs.module.RequireBuilder
-
Creates a new require() function.
- createScopeNode(int, int) - Method in class org.mozilla.javascript.Parser
-
Create a node that can be used to hold lexically scoped variable definitions (via let declarations).
- createScriptObject(Object, Object) - Method in interface org.mozilla.javascript.Evaluator
-
Create a script object.
- createScriptObject(Object, Object) - Method in class org.mozilla.javascript.Interpreter
- createScriptObject(Object, Object) - Method in class org.mozilla.javascript.optimizer.Codegen
D
- D2F - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- D2I - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- D2L - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DADD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DALOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DASTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DateClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- DCMPG - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DCMPL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DCONST_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DCONST_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DDIV - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DebugFrame - Interface in org.mozilla.javascript.debug
-
Interface to implement if the application is interested in receiving debug information during execution of a particular script or function.
- DebuggableObject - Interface in org.mozilla.javascript.debug
-
This interface exposes debugging information from objects.
- DebuggableScript - Interface in org.mozilla.javascript.debug
-
This interface exposes debugging information from executable code (either functions or top-level scripts).
- Debugger - Interface in org.mozilla.javascript.debug
-
Interface to implement if the application is interested in receiving debug information.
- DEBUGGER - Static variable in class org.mozilla.javascript.Token
- debugPrint() - Method in class org.mozilla.javascript.ast.AstNode
-
Returns a debugging representation of the parse tree starting at this node.
- debugPrint() - Method in class org.mozilla.javascript.ast.AstRoot
-
A debug-printer that includes comments (at the end).
- DebugPrintVisitor(StringBuilder) - Constructor for class org.mozilla.javascript.ast.AstNode.DebugPrintVisitor
- DEC - Static variable in class org.mozilla.javascript.Token
- decompile(String, int, UintMap) - Static method in class org.mozilla.javascript.Decompiler
-
Decompile the source information associated with this js function/script back into a string.
- decompileFunction(Function, int) - Method in class org.mozilla.javascript.Context
-
Decompile a JavaScript Function.
- decompileFunctionBody(Function, int) - Method in class org.mozilla.javascript.Context
-
Decompile the body of a JavaScript Function.
- Decompiler - Class in org.mozilla.javascript
-
The following class save decompilation information about the source.
- Decompiler() - Constructor for class org.mozilla.javascript.Decompiler
- decompileScript(Script, int) - Method in class org.mozilla.javascript.Context
-
Decompile the script.
- DECR_FLAG - Static variable in class org.mozilla.javascript.Node
- DEFAULT - Static variable in class org.mozilla.javascript.Token
- defaultGet(String) - Method in class org.mozilla.javascript.IdScriptableObject
- defaultHas(String) - Method in class org.mozilla.javascript.IdScriptableObject
- DEFAULTNAMESPACE - Static variable in class org.mozilla.javascript.Token
-
Token types.
- defaultPut(String, Object) - Method in class org.mozilla.javascript.IdScriptableObject
- DefaultUrlConnectionExpiryCalculator - Class in org.mozilla.javascript.commonjs.module.provider
-
The default heuristic for calculating cache expiry of URL-based resources.
- DefaultUrlConnectionExpiryCalculator() - Constructor for class org.mozilla.javascript.commonjs.module.provider.DefaultUrlConnectionExpiryCalculator
-
Creates a new default expiry calculator with one minute relative expiry.
- DefaultUrlConnectionExpiryCalculator(long) - Constructor for class org.mozilla.javascript.commonjs.module.provider.DefaultUrlConnectionExpiryCalculator
-
Creates a new default expiry calculator with the specified relative expiry.
- defineAttributesForArguments() - Method in class org.mozilla.javascript.NativeCall
- defineClass(String, byte[]) - Method in class org.mozilla.javascript.DefiningClassLoader
- defineClass(String, byte[]) - Method in interface org.mozilla.javascript.GeneratedClassLoader
-
Define a new Java class.
- defineClass(Scriptable, Class<T>) - Static method in class org.mozilla.javascript.ScriptableObject
-
Defines JavaScript objects from a Java class that implements Scriptable.
- defineClass(Scriptable, Class<T>, boolean) - Static method in class org.mozilla.javascript.ScriptableObject
-
Defines JavaScript objects from a Java class, optionally allowing sealing.
- defineClass(Scriptable, Class<T>, boolean, boolean) - Static method in class org.mozilla.javascript.ScriptableObject
-
Defines JavaScript objects from a Java class, optionally allowing sealing and mapping of Java inheritance to JavaScript prototype-based inheritance.
- defineConst(String, Scriptable) - Method in interface org.mozilla.javascript.ConstProperties
-
Reserves a definition spot for a const.
- defineConst(String, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
- defineConstProperty(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptableObject
-
Utility method to add properties to arbitrary Scriptable object.
- defineFunctionProperties(String[], Class<?>, int) - Method in class org.mozilla.javascript.ScriptableObject
-
Search for names in a class, adding the resulting methods as properties.
- defineOwnProperties(Context, ScriptableObject) - Method in class org.mozilla.javascript.ScriptableObject
-
Defines one or more properties on this object.
- defineOwnProperty(Context, Object, ScriptableObject) - Method in class org.mozilla.javascript.IdScriptableObject
- defineOwnProperty(Context, Object, ScriptableObject) - Method in class org.mozilla.javascript.ScriptableObject
-
Defines a property on an object.
- defineOwnProperty(Context, Object, ScriptableObject, boolean) - Method in class org.mozilla.javascript.NativeArray
- defineOwnProperty(Context, Object, ScriptableObject, boolean) - Method in class org.mozilla.javascript.ScriptableObject
-
Defines a property on an object.
- defineProperty(String, Class<?>, int) - Method in class org.mozilla.javascript.ScriptableObject
-
Define a JavaScript property with getter and setter side effects.
- defineProperty(String, Object, int) - Method in class org.mozilla.javascript.ScriptableObject
-
Define a JavaScript property.
- defineProperty(String, Object, Method, Method, int) - Method in class org.mozilla.javascript.ScriptableObject
-
Define a JavaScript property.
- defineProperty(Scriptable, String, Object, int) - Static method in class org.mozilla.javascript.ScriptableObject
-
Utility method to add properties to arbitrary Scriptable object.
- defineProperty(Symbol, Object, int) - Method in class org.mozilla.javascript.ScriptableObject
-
A version of defineProperty that uses a Symbol key.
- DefiningClassLoader - Class in org.mozilla.javascript
-
Load generated classes.
- DefiningClassLoader() - Constructor for class org.mozilla.javascript.DefiningClassLoader
- DefiningClassLoader(ClassLoader) - Constructor for class org.mozilla.javascript.DefiningClassLoader
- DEL_REF - Static variable in class org.mozilla.javascript.Token
-
Token types.
- Delegator - Class in org.mozilla.javascript
-
This is a helper class for implementing wrappers around Scriptable objects.
- Delegator() - Constructor for class org.mozilla.javascript.Delegator
-
Create a Delegator prototype.
- Delegator(Scriptable) - Constructor for class org.mozilla.javascript.Delegator
-
Create a new Delegator that forwards requests to a delegee Scriptable object.
- delete(int) - Method in class org.mozilla.javascript.Delegator
- delete(int) - Method in class org.mozilla.javascript.NativeArray
- delete(int) - Method in class org.mozilla.javascript.NativeJavaObject
- delete(int) - Method in class org.mozilla.javascript.NativeWith
- delete(int) - Method in interface org.mozilla.javascript.Scriptable
-
Removes a property from this object.
- delete(int) - Method in class org.mozilla.javascript.ScriptableObject
-
Removes the indexed property from the object.
- delete(int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- delete(Object, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- delete(Object, Object, Context, boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- delete(Object, Object, Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
-
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.
- delete(String) - Method in class org.mozilla.javascript.Delegator
- delete(String) - Method in class org.mozilla.javascript.IdScriptableObject
- delete(String) - Method in class org.mozilla.javascript.NativeJavaObject
- delete(String) - Method in class org.mozilla.javascript.NativeWith
- delete(String) - Method in interface org.mozilla.javascript.Scriptable
-
Removes a property from this object.
- delete(String) - Method in class org.mozilla.javascript.ScriptableObject
-
Removes a named property from the object.
- delete(Context) - Method in class org.mozilla.javascript.Ref
- delete(Context, Object) - Method in class org.mozilla.javascript.xml.XMLObject
-
Implementation of ECMAScript [[Delete]].
- delete(Symbol) - Method in class org.mozilla.javascript.IdScriptableObject
- delete(Symbol) - Method in class org.mozilla.javascript.ScriptableObject
-
Removes an object like the others, but using a Symbol as the key.
- delete(Symbol) - Method in interface org.mozilla.javascript.SymbolScriptable
-
Delete a property with the specified key.
- deleteObjectElem(Scriptable, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- deleteProperty(Scriptable, int) - Static method in class org.mozilla.javascript.ScriptableObject
-
Removes the property from an object or its prototype chain.
- deleteProperty(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptableObject
-
Removes the property from an object or its prototype chain.
- DELPROP - Static variable in class org.mozilla.javascript.Token
-
Token types.
- depth() - Method in class org.mozilla.javascript.ast.AstNode
-
Returns the depth of this node.
- DESCENDANTS_FLAG - Static variable in class org.mozilla.javascript.Node
- DESTRUCTURING_ARRAY_LENGTH - Static variable in class org.mozilla.javascript.Node
- DESTRUCTURING_NAMES - Static variable in class org.mozilla.javascript.Node
- DESTRUCTURING_PARAMS - Static variable in class org.mozilla.javascript.Node
- DESTRUCTURING_SHORTHAND - Static variable in class org.mozilla.javascript.Node
- DestructuringForm - Interface in org.mozilla.javascript.ast
-
Common interface for
ArrayLiteral
andObjectLiteral
node types, both of which may appear in "destructuring" expressions or contexts. - details() - Method in exception org.mozilla.javascript.EcmaError
- details() - Method in exception org.mozilla.javascript.JavaScriptException
- details() - Method in exception org.mozilla.javascript.RhinoException
- DIRECTCALL_PROP - Static variable in class org.mozilla.javascript.Node
- DIV - Static variable in class org.mozilla.javascript.Token
-
Token types.
- DLOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DLOAD_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DLOAD_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DLOAD_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DLOAD_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DMUL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DNEG - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DO - Static variable in class org.mozilla.javascript.Token
- DoLoop - Class in org.mozilla.javascript.ast
-
Do statement.
- DoLoop() - Constructor for class org.mozilla.javascript.ast.DoLoop
- DoLoop(int) - Constructor for class org.mozilla.javascript.ast.DoLoop
- DoLoop(int, int) - Constructor for class org.mozilla.javascript.ast.DoLoop
- done() - Method in class org.mozilla.javascript.ObjToIntMap.Iterator
- DONE_PROPERTY - Static variable in class org.mozilla.javascript.ES6Iterator
- DONTENUM - Static variable in class org.mozilla.javascript.ScriptableObject
-
Property attribute indicating property is not enumerated.
- DOT - Static variable in class org.mozilla.javascript.Token
- DOTDOT - Static variable in class org.mozilla.javascript.Token
- doTopCall(Callable, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.ContextFactory
-
Execute top call to script or function.
- doTopCall(Callable, Context, Scriptable, Scriptable, Object[]) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- doTopCall(Callable, Context, Scriptable, Scriptable, Object[], boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
- DOTQUERY - Static variable in class org.mozilla.javascript.Token
- DOUBLE_MARK - Static variable in class org.mozilla.javascript.UniqueTag
-
Tag to indicate that a object represents "double" with the real value stored somewhere else.
- DoubleClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- DoubleConversion - Class in org.mozilla.javascript.v8dtoa
- DoubleHelper - Class in org.mozilla.javascript.v8dtoa
- DoubleHelper() - Constructor for class org.mozilla.javascript.v8dtoa.DoubleHelper
- doubleToInt32(double) - Static method in class org.mozilla.javascript.v8dtoa.DoubleConversion
- DREM - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DRETURN - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DSTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DSTORE_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DSTORE_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DSTORE_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DSTORE_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DSUB - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- dtoa(double, FastDtoaBuilder) - Static method in class org.mozilla.javascript.v8dtoa.FastDtoa
- DUP - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DUP_X1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DUP_X2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DUP2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DUP2_X1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- DUP2_X2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
E
- eachPosition - Variable in class org.mozilla.javascript.ast.ForInLoop
- EcmaError - Exception in org.mozilla.javascript
-
The class of exceptions raised by the engine as described in ECMA edition 3.
- EcmaError(Scriptable, String, int, int, String) - Constructor for exception org.mozilla.javascript.EcmaError
-
Deprecated.EcmaError error instances should not be constructed explicitly since they are generated by the engine.
- EIGHT_BIT - Static variable in class org.mozilla.javascript.typedarrays.Conversions
- ElementComparator() - Constructor for class org.mozilla.javascript.NativeArray.ElementComparator
- ElementComparator(Comparator<Object>) - Constructor for class org.mozilla.javascript.NativeArray.ElementComparator
- ElementGet - Class in org.mozilla.javascript.ast
-
AST node for an indexed property reference, such as
foo['bar']
orfoo[2]
. - ElementGet() - Constructor for class org.mozilla.javascript.ast.ElementGet
- ElementGet(int) - Constructor for class org.mozilla.javascript.ast.ElementGet
- ElementGet(int, int) - Constructor for class org.mozilla.javascript.ast.ElementGet
- ElementGet(AstNode, AstNode) - Constructor for class org.mozilla.javascript.ast.ElementGet
- elemIncrDecr(Object, double, Context, int) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
-
Deprecated.
- elemIncrDecr(Object, double, Context, Scriptable, int) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- elemIncrDecr(Object, Object, Context, int) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- elemIncrDecr(Object, Object, Context, Scriptable, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- ELSE - Static variable in class org.mozilla.javascript.Token
- EMPTY - Static variable in class org.mozilla.javascript.ScriptableObject
-
The empty property attribute.
- EMPTY - Static variable in class org.mozilla.javascript.Token
- EMPTY_BUFFER - Static variable in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- emptyArgs - Static variable in class org.mozilla.javascript.Context
-
Convenient value to use as zero-length array of objects.
- emptyArgs - Static variable in class org.mozilla.javascript.ScriptRuntime
- EmptyExpression - Class in org.mozilla.javascript.ast
-
AST node for an empty expression.
- EmptyExpression() - Constructor for class org.mozilla.javascript.ast.EmptyExpression
- EmptyExpression(int) - Constructor for class org.mozilla.javascript.ast.EmptyExpression
- EmptyExpression(int, int) - Constructor for class org.mozilla.javascript.ast.EmptyExpression
- EmptyStatement - Class in org.mozilla.javascript.ast
-
AST node for an empty statement.
- EmptyStatement() - Constructor for class org.mozilla.javascript.ast.EmptyStatement
- EmptyStatement(int) - Constructor for class org.mozilla.javascript.ast.EmptyStatement
- EmptyStatement(int, int) - Constructor for class org.mozilla.javascript.ast.EmptyStatement
- emptyStrings - Static variable in class org.mozilla.javascript.ScriptRuntime
- emptySubString - Static variable in class org.mozilla.javascript.regexp.SubString
- END_DROPS_OFF - Static variable in class org.mozilla.javascript.Node
- END_RETURNS - Static variable in class org.mozilla.javascript.Node
- END_RETURNS_VALUE - Static variable in class org.mozilla.javascript.Node
- END_UNREACHED - Static variable in class org.mozilla.javascript.Node
-
These flags enumerate the possible ways a statement/function can terminate.
- END_YIELDS - Static variable in class org.mozilla.javascript.Node
- ensureScriptable(Object) - Static method in class org.mozilla.javascript.ScriptableObject
- ensureScriptableObject(Object) - Static method in class org.mozilla.javascript.ScriptableObject
- ensureSymbolScriptable(Object) - Static method in class org.mozilla.javascript.ScriptableObject
- enter() - Static method in class org.mozilla.javascript.Context
-
Same as calling
ContextFactory.enterContext()
on the global ContextFactory instance. - enter() - Method in class org.mozilla.javascript.ContextFactory
-
Deprecated.use
ContextFactory.enterContext()
instead - enter(Context) - Static method in class org.mozilla.javascript.Context
-
Deprecated.use
ContextFactory.enterContext(Context)
instead as this method relies on usage of a static singleton "global" ContextFactory. - enterActivationFunction(Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- enterContext() - Method in class org.mozilla.javascript.ContextFactory
-
Get a context associated with the current thread, creating one if need be.
- enterContext(Context) - Method in class org.mozilla.javascript.ContextFactory
-
Get a Context associated with the current thread, using the given Context if need be.
- enterDotQuery(Object, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- enterDotQuery(Scriptable) - Method in class org.mozilla.javascript.xml.XMLObject
-
Wrap this object into NativeWith to implement the .() query.
- enterWith(Object, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- enterWith(Scriptable) - Method in class org.mozilla.javascript.xml.XMLObject
-
Wrap this object into NativeWith to implement the with statement.
- ENTERWITH - Static variable in class org.mozilla.javascript.Token
-
Token types.
- entityNeedsRevalidation(Object) - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSourceProviderBase
-
Override to determine whether according to the validator, the cached module script needs revalidation.
- entityNeedsRevalidation(Object) - Method in class org.mozilla.javascript.commonjs.module.provider.UrlModuleSourceProvider
- entrySet() - Method in class org.mozilla.javascript.NativeObject
- ENUM_ID - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ENUM_INIT_ARRAY - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ENUM_INIT_KEYS - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ENUM_INIT_VALUES - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ENUM_INIT_VALUES_IN_ORDER - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ENUM_NEXT - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ENUMERATE_ARRAY - Static variable in class org.mozilla.javascript.ScriptRuntime
- ENUMERATE_ARRAY_NO_ITERATOR - Static variable in class org.mozilla.javascript.ScriptRuntime
- ENUMERATE_KEYS - Static variable in class org.mozilla.javascript.ScriptRuntime
- ENUMERATE_KEYS_NO_ITERATOR - Static variable in class org.mozilla.javascript.ScriptRuntime
- ENUMERATE_VALUES - Static variable in class org.mozilla.javascript.ScriptRuntime
- ENUMERATE_VALUES_IN_ORDER - Static variable in class org.mozilla.javascript.ScriptRuntime
- ENUMERATE_VALUES_NO_ITERATOR - Static variable in class org.mozilla.javascript.ScriptRuntime
- enumId(Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- enumInit(Object, Context, boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- enumInit(Object, Context, int) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- enumInit(Object, Context, Scriptable, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- enumNext(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- enumValue(Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- eof() - Method in class org.mozilla.javascript.Parser
- EOF - Static variable in class org.mozilla.javascript.Token
-
Token types.
- EOL - Static variable in class org.mozilla.javascript.Token
-
Token types.
- eq(Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Equality See ECMA 11.9
- EQ - Static variable in class org.mozilla.javascript.Token
-
Token types.
- equals(Object) - Method in class org.mozilla.javascript.NativeJavaPackage
- equals(Object) - Method in class org.mozilla.javascript.NativeSymbol
- equals(Object) - Method in class org.mozilla.javascript.SymbolKey
- equals(Object) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- equals(Object) - Method in class org.mozilla.javascript.Undefined
- equivalentValues(Object) - Method in class org.mozilla.javascript.ScriptableObject
-
Custom == operator.
- error(String, String, int, int) - Method in class org.mozilla.javascript.ast.ErrorCollector
- error(String, String, int, int) - Method in interface org.mozilla.javascript.ast.IdeErrorReporter
-
Report an error.
- error(String, String, int, String, int) - Method in class org.mozilla.javascript.ast.ErrorCollector
-
This is not called during AST generation.
- error(String, String, int, String, int) - Method in interface org.mozilla.javascript.ErrorReporter
-
Report an error.
- Error - org.mozilla.javascript.ast.ParseProblem.Type
- Error - org.mozilla.javascript.TopLevel.Builtins
-
The built-in Error type.
- ERROR - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ErrorCollector - Class in org.mozilla.javascript.ast
-
An error reporter that gathers the errors and warnings for later display.
- ErrorCollector() - Constructor for class org.mozilla.javascript.ast.ErrorCollector
- ErrorNode - Class in org.mozilla.javascript.ast
-
AST node representing a parse error or a warning.
- ErrorNode() - Constructor for class org.mozilla.javascript.ast.ErrorNode
- ErrorNode(int) - Constructor for class org.mozilla.javascript.ast.ErrorNode
- ErrorNode(int, int) - Constructor for class org.mozilla.javascript.ast.ErrorNode
- ErrorReporter - Interface in org.mozilla.javascript
-
This is interface defines a protocol for the reporting of errors during JavaScript translation or execution.
- errorReporterProperty - Static variable in class org.mozilla.javascript.Context
- ES6Iterator - Class in org.mozilla.javascript
- escapeAttributeValue(Object) - Method in class org.mozilla.javascript.xml.XMLLib
-
Escapes the reserved characters in a value of an attribute.
- escapeAttributeValue(Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Escapes the reserved characters in a value of an attribute
- escapeString(String) - Static method in class org.mozilla.javascript.ScriptRuntime
- escapeString(String, char) - Static method in class org.mozilla.javascript.ScriptRuntime
-
For escaping strings printed by object and array literals; not quite the same as 'escape.'
- escapeTextValue(Object) - Method in class org.mozilla.javascript.xml.XMLLib
-
Escapes the reserved characters in a value of a text node.
- escapeTextValue(Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Escapes the reserved characters in a value of a text node
- ESCXMLATTR - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ESCXMLTEXT - Static variable in class org.mozilla.javascript.Token
-
Token types.
- evalSpecial(Context, Scriptable, Object, Object[], String, int) - Static method in class org.mozilla.javascript.ScriptRuntime
-
The eval function property of the global object.
- evaluateReader(Scriptable, Reader, String, int, Object) - Method in class org.mozilla.javascript.Context
-
Evaluate a reader as JavaScript source.
- evaluateString(Scriptable, String, String, int, Object) - Method in class org.mozilla.javascript.Context
-
Evaluate a JavaScript source string.
- Evaluator - Interface in org.mozilla.javascript
-
Abstraction of evaluation, which can be implemented either by an interpreter or compiler.
- EvaluatorException - Exception in org.mozilla.javascript
-
The class of exceptions thrown by the JavaScript engine.
- EvaluatorException(String) - Constructor for exception org.mozilla.javascript.EvaluatorException
- EvaluatorException(String, String, int) - Constructor for exception org.mozilla.javascript.EvaluatorException
-
Create an exception with the specified detail message.
- EvaluatorException(String, String, int, String, int) - Constructor for exception org.mozilla.javascript.EvaluatorException
-
Create an exception with the specified detail message.
- excludeAllIds(Object[]) - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
- excludeStandardObjectNames() - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
-
Adds the names of the standard objects and their prototypes to the list of excluded names.
- exec(Context, Scriptable) - Method in interface org.mozilla.javascript.Script
-
Execute the script.
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.BaseFunction
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.ES6Iterator
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in interface org.mozilla.javascript.IdFunctionCall
-
'thisObj' will be null if invoked as constructor, in which case instance of Scriptable should be returned
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.IdScriptableObject
-
'thisObj' will be null if invoked as constructor, in which case instance of Scriptable should be returned.
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.ImporterTopLevel
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.JavaAdapter
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeArray
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeCall
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeCallSite
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeContinuation
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeGenerator
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeGlobal
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeIterator
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeJavaTopPackage
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeJSON
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeObject
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeSymbol
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.NativeWith
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.regexp.NativeRegExp
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.typedarrays.NativeDataView
- execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- executeScriptWithContinuations(Script, Scriptable) - Method in class org.mozilla.javascript.Context
-
Execute script that may pause execution by capturing a continuation.
- execWithDomain(Context, Scriptable, Script, Object) - Method in class org.mozilla.javascript.SecurityController
-
Deprecated.The application should not override this method and instead override
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)
. - exhausted - Variable in class org.mozilla.javascript.ES6Iterator
- exit() - Static method in class org.mozilla.javascript.Context
-
Exit a block of code requiring a Context.
- exit() - Method in class org.mozilla.javascript.ContextFactory
-
Deprecated.Use
Context.exit()
instead. - exitActivationFunction(Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- EXPORT - Static variable in class org.mozilla.javascript.Token
- exportAsJSClass(int, Scriptable, boolean) - Method in class org.mozilla.javascript.IdScriptableObject
- exportAsScopeProperty() - Method in class org.mozilla.javascript.IdFunctionObject
- EXPR_RESULT - Static variable in class org.mozilla.javascript.Token
- EXPR_VOID - Static variable in class org.mozilla.javascript.Token
- EXPRESSION_CLOSURE_PROP - Static variable in class org.mozilla.javascript.Node
- ExpressionStatement - Class in org.mozilla.javascript.ast
-
AST node representing an expression in a statement context.
- ExpressionStatement() - Constructor for class org.mozilla.javascript.ast.ExpressionStatement
- ExpressionStatement(int, int) - Constructor for class org.mozilla.javascript.ast.ExpressionStatement
- ExpressionStatement(int, int, AstNode) - Constructor for class org.mozilla.javascript.ast.ExpressionStatement
-
Constructs a new
ExpressionStatement
- ExpressionStatement(AstNode) - Constructor for class org.mozilla.javascript.ast.ExpressionStatement
-
Constructs a new
ExpressionStatement
wrapping the specified expression. - ExpressionStatement(AstNode, boolean) - Constructor for class org.mozilla.javascript.ast.ExpressionStatement
-
Constructs a new
ExpressionStatement
wrapping the specified expression. - ExternalArrayData - Interface in org.mozilla.javascript
-
Implement this interface in order to allow external data to be attached to a ScriptableObject.
- extractFromScope(Scriptable) - Static method in class org.mozilla.javascript.xml.XMLLib
- extractFromScopeOrNull(Scriptable) - Static method in class org.mozilla.javascript.xml.XMLLib
F
- F2D - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- F2I - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- F2L - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- Factory() - Constructor for class org.mozilla.javascript.xml.XMLLib.Factory
- FADD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FALOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FALSE - Static variable in class org.mozilla.javascript.Token
-
Token types.
- FastDtoa - Class in org.mozilla.javascript.v8dtoa
- FastDtoa() - Constructor for class org.mozilla.javascript.v8dtoa.FastDtoa
- FastDtoaBuilder - Class in org.mozilla.javascript.v8dtoa
- FastDtoaBuilder() - Constructor for class org.mozilla.javascript.v8dtoa.FastDtoaBuilder
- FASTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FCMPG - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FCMPL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FCONST_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FCONST_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FCONST_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FDIV - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FEATURE_DYNAMIC_SCOPE - Static variable in class org.mozilla.javascript.Context
-
Control if dynamic scope should be used for name access.
- FEATURE_E4X - Static variable in class org.mozilla.javascript.Context
-
Control if support for E4X(ECMAScript for XML) extension is available.
- FEATURE_ENHANCED_JAVA_ACCESS - Static variable in class org.mozilla.javascript.Context
-
Enables enhanced access to Java.
- FEATURE_ENUMERATE_IDS_FIRST - Static variable in class org.mozilla.javascript.Context
-
If set, then the order of property key enumeration will be first numeric keys in numeric order, followed by string keys in order of creation, and finally Symbol keys, as specified in ES6.
- FEATURE_LOCATION_INFORMATION_IN_ERROR - Static variable in class org.mozilla.javascript.Context
-
When the feature is on Rhino will add a "fileName" and "lineNumber" properties to Error objects automatically.
- FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME - Static variable in class org.mozilla.javascript.Context
-
Control if member expression as function name extension is available.
- FEATURE_NON_ECMA_GET_YEAR - Static variable in class org.mozilla.javascript.Context
-
Controls behaviour of Date.prototype.getYear().
- FEATURE_OLD_UNDEF_NULL_THIS - Static variable in class org.mozilla.javascript.Context
-
Defines how an undefined "this" parameter is handled in certain calls.
- FEATURE_PARENT_PROTO_PROPERTIES - Static variable in class org.mozilla.javascript.Context
-
Control if properties __proto__ and __parent__ are treated specially.
- FEATURE_PARENT_PROTO_PROPRTIES - Static variable in class org.mozilla.javascript.Context
-
Deprecated.In previous releases, this name was given to FEATURE_PARENT_PROTO_PROPERTIES.
- FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER - Static variable in class org.mozilla.javascript.Context
-
Control if reserved keywords are treated as identifiers.
- FEATURE_STRICT_EVAL - Static variable in class org.mozilla.javascript.Context
-
Control if strict eval mode is enabled.
- FEATURE_STRICT_MODE - Static variable in class org.mozilla.javascript.Context
-
Controls whether JS 1.5 'strict mode' is enabled.
- FEATURE_STRICT_VARS - Static variable in class org.mozilla.javascript.Context
-
Control if strict variable mode is enabled.
- FEATURE_TO_STRING_AS_SOURCE - Static variable in class org.mozilla.javascript.Context
-
Control if toString() should returns the same result as toSource() when applied to objects and arrays.
- FEATURE_V8_EXTENSIONS - Static variable in class org.mozilla.javascript.Context
-
Enables access to JavaScript features from ECMAscript 6 that are present in JavaScript engines that do not yet support version 6, such as V8.
- FEATURE_WARNING_AS_ERROR - Static variable in class org.mozilla.javascript.Context
-
Controls whether a warning should be treated as an error.
- fileName - Variable in class org.mozilla.javascript.ScriptStackElement
- fillConstructorProperties(IdFunctionObject) - Method in class org.mozilla.javascript.BaseFunction
- fillConstructorProperties(IdFunctionObject) - Method in class org.mozilla.javascript.IdScriptableObject
- fillConstructorProperties(IdFunctionObject) - Method in class org.mozilla.javascript.NativeArray
- fillConstructorProperties(IdFunctionObject) - Method in class org.mozilla.javascript.NativeObject
- fillConstructorProperties(IdFunctionObject) - Method in class org.mozilla.javascript.NativeSymbol
- fillConstructorProperties(IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- fillConstructorProperties(IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- FINALLY - Static variable in class org.mozilla.javascript.Token
- find_split(Context, Scriptable, String, String, Scriptable, int[], int[], boolean[], String[][]) - Method in class org.mozilla.javascript.regexp.RegExpImpl
- find_split(Context, Scriptable, String, String, Scriptable, int[], int[], boolean[], String[][]) - Method in interface org.mozilla.javascript.RegExpProxy
- findInstanceIdInfo(String) - Method in class org.mozilla.javascript.BaseFunction
- findInstanceIdInfo(String) - Method in class org.mozilla.javascript.IdFunctionObjectES6
- findInstanceIdInfo(String) - Method in class org.mozilla.javascript.IdScriptableObject
-
Map name to id of instance property.
- findInstanceIdInfo(String) - Method in class org.mozilla.javascript.NativeArray
- findInstanceIdInfo(String) - Method in class org.mozilla.javascript.regexp.NativeRegExp
- findInstanceIdInfo(String) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- findInstanceIdInfo(String) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
- findInstanceIdInfo(String) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- findInstanceIdInfo(Symbol) - Method in class org.mozilla.javascript.IdScriptableObject
-
Map name to id of instance property.
- findPrototypeId(String) - Method in class org.mozilla.javascript.BaseFunction
- findPrototypeId(String) - Method in class org.mozilla.javascript.ES6Iterator
- findPrototypeId(String) - Method in class org.mozilla.javascript.IdScriptableObject
- findPrototypeId(String) - Method in class org.mozilla.javascript.ImporterTopLevel
- findPrototypeId(String) - Method in class org.mozilla.javascript.NativeArray
- findPrototypeId(String) - Method in class org.mozilla.javascript.NativeCall
- findPrototypeId(String) - Method in class org.mozilla.javascript.NativeCallSite
- findPrototypeId(String) - Method in class org.mozilla.javascript.NativeContinuation
- findPrototypeId(String) - Method in class org.mozilla.javascript.NativeGenerator
- findPrototypeId(String) - Method in class org.mozilla.javascript.NativeIterator
- findPrototypeId(String) - Method in class org.mozilla.javascript.NativeJSON
- findPrototypeId(String) - Method in class org.mozilla.javascript.NativeObject
- findPrototypeId(String) - Method in class org.mozilla.javascript.NativeSymbol
- findPrototypeId(String) - Method in class org.mozilla.javascript.regexp.NativeRegExp
- findPrototypeId(String) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- findPrototypeId(String) - Method in class org.mozilla.javascript.typedarrays.NativeDataView
- findPrototypeId(String) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- findPrototypeId(Symbol) - Method in class org.mozilla.javascript.ES6Iterator
- findPrototypeId(Symbol) - Method in class org.mozilla.javascript.IdScriptableObject
- findPrototypeId(Symbol) - Method in class org.mozilla.javascript.NativeArray
- findPrototypeId(Symbol) - Method in class org.mozilla.javascript.NativeSymbol
- findPrototypeId(Symbol) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- first - Variable in class org.mozilla.javascript.Node
- FIRST_ASSIGN - Static variable in class org.mozilla.javascript.Token
- FIRST_BYTECODE_TOKEN - Static variable in class org.mozilla.javascript.Token
-
Token types.
- flattenSymbolTable(boolean) - Method in class org.mozilla.javascript.ast.ScriptNode
-
Assign every symbol a unique integer index.
- FLOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FLOAD_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FLOAD_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FLOAD_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FLOAD_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FloatClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- FMUL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FNEG - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- fnode - Variable in class org.mozilla.javascript.optimizer.OptFunctionNode
- FOR - Static variable in class org.mozilla.javascript.Token
- ForInLoop - Class in org.mozilla.javascript.ast
-
For-in or for-each-in or for-of statement.
- ForInLoop() - Constructor for class org.mozilla.javascript.ast.ForInLoop
- ForInLoop(int) - Constructor for class org.mozilla.javascript.ast.ForInLoop
- ForInLoop(int, int) - Constructor for class org.mozilla.javascript.ast.ForInLoop
- ForLoop - Class in org.mozilla.javascript.ast
-
C-style for-loop statement.
- ForLoop() - Constructor for class org.mozilla.javascript.ast.ForLoop
- ForLoop(int) - Constructor for class org.mozilla.javascript.ast.ForLoop
- ForLoop(int, int) - Constructor for class org.mozilla.javascript.ast.ForLoop
- format() - Method in class org.mozilla.javascript.v8dtoa.FastDtoaBuilder
- FREM - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FRETURN - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FSTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FSTORE_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FSTORE_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FSTORE_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FSTORE_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- FSUB - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- Function - org.mozilla.javascript.TopLevel.Builtins
-
The built-in Function type.
- Function - Interface in org.mozilla.javascript
-
This is interface that all functions in JavaScript must implement.
- FUNCTION - org.mozilla.javascript.ast.FunctionNode.Form
- FUNCTION - Static variable in class org.mozilla.javascript.Token
- FUNCTION_EXPRESSION - Static variable in class org.mozilla.javascript.ast.FunctionNode
- FUNCTION_EXPRESSION_STATEMENT - Static variable in class org.mozilla.javascript.ast.FunctionNode
- FUNCTION_PROP - Static variable in class org.mozilla.javascript.Node
- FUNCTION_STATEMENT - Static variable in class org.mozilla.javascript.ast.FunctionNode
-
There are three types of functions that can be defined.
- FunctionCall - Class in org.mozilla.javascript.ast
-
AST node for a function call.
- FunctionCall() - Constructor for class org.mozilla.javascript.ast.FunctionCall
- FunctionCall(int) - Constructor for class org.mozilla.javascript.ast.FunctionCall
- FunctionCall(int, int) - Constructor for class org.mozilla.javascript.ast.FunctionCall
- FunctionClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- functionName - Variable in class org.mozilla.javascript.ScriptStackElement
- FunctionNode - Class in org.mozilla.javascript.ast
-
A JavaScript function declaration or expression.
- FunctionNode() - Constructor for class org.mozilla.javascript.ast.FunctionNode
- FunctionNode(int) - Constructor for class org.mozilla.javascript.ast.FunctionNode
- FunctionNode(int, Name) - Constructor for class org.mozilla.javascript.ast.FunctionNode
- FunctionNode.Form - Enum in org.mozilla.javascript.ast
- FunctionObject - Class in org.mozilla.javascript
- FunctionObject(String, Member, Scriptable) - Constructor for class org.mozilla.javascript.FunctionObject
-
Create a JavaScript function object from a Java method.
G
- GE - Static variable in class org.mozilla.javascript.Token
-
Token types.
- GeneratedClassLoader - Interface in org.mozilla.javascript
-
Interface to define classes from generated byte code.
- generateObserverCount - Variable in class org.mozilla.javascript.Context
- GENERATOR_CLOSE - Static variable in class org.mozilla.javascript.NativeGenerator
- GENERATOR_END_PROP - Static variable in class org.mozilla.javascript.Node
- GENERATOR_SEND - Static variable in class org.mozilla.javascript.NativeGenerator
- GENERATOR_THROW - Static variable in class org.mozilla.javascript.NativeGenerator
- GeneratorClosedException() - Constructor for exception org.mozilla.javascript.NativeGenerator.GeneratorClosedException
- GeneratorExpression - Class in org.mozilla.javascript.ast
- GeneratorExpression() - Constructor for class org.mozilla.javascript.ast.GeneratorExpression
- GeneratorExpression(int) - Constructor for class org.mozilla.javascript.ast.GeneratorExpression
- GeneratorExpression(int, int) - Constructor for class org.mozilla.javascript.ast.GeneratorExpression
- GeneratorExpressionLoop - Class in org.mozilla.javascript.ast
- GeneratorExpressionLoop() - Constructor for class org.mozilla.javascript.ast.GeneratorExpressionLoop
- GeneratorExpressionLoop(int) - Constructor for class org.mozilla.javascript.ast.GeneratorExpressionLoop
- GeneratorExpressionLoop(int, int) - Constructor for class org.mozilla.javascript.ast.GeneratorExpressionLoop
- GENEXPR - Static variable in class org.mozilla.javascript.Token
- get(int) - Method in class org.mozilla.javascript.NativeArray
- get(int) - Method in class org.mozilla.javascript.ObjArray
- get(int) - Method in class org.mozilla.javascript.typedarrays.NativeFloat32Array
- get(int) - Method in class org.mozilla.javascript.typedarrays.NativeFloat64Array
- get(int) - Method in class org.mozilla.javascript.typedarrays.NativeInt16Array
- get(int) - Method in class org.mozilla.javascript.typedarrays.NativeInt32Array
- get(int) - Method in class org.mozilla.javascript.typedarrays.NativeInt8Array
- get(int) - Method in class org.mozilla.javascript.typedarrays.NativeUint16Array
- get(int) - Method in class org.mozilla.javascript.typedarrays.NativeUint32Array
- get(int) - Method in class org.mozilla.javascript.typedarrays.NativeUint8Array
- get(int) - Method in class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- get(int, Scriptable) - Method in class org.mozilla.javascript.Delegator
- get(int, Scriptable) - Method in class org.mozilla.javascript.NativeArray
- get(int, Scriptable) - Method in class org.mozilla.javascript.NativeJavaArray
- get(int, Scriptable) - Method in class org.mozilla.javascript.NativeJavaObject
- get(int, Scriptable) - Method in class org.mozilla.javascript.NativeJavaPackage
- get(int, Scriptable) - Method in class org.mozilla.javascript.NativeWith
- get(int, Scriptable) - Method in interface org.mozilla.javascript.Scriptable
-
Get a property from the object selected by an integral index.
- get(int, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
Returns the value of the indexed property or NOT_FOUND.
- get(int, Scriptable) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- get(long) - Method in class org.mozilla.javascript.NativeArray
- get(Object) - Method in class org.mozilla.javascript.ScriptableObject
- get(Object, int) - Method in class org.mozilla.javascript.ObjToIntMap
-
Get integer value assigned with key.
- get(String, Scriptable) - Method in class org.mozilla.javascript.Delegator
- get(String, Scriptable) - Method in class org.mozilla.javascript.IdScriptableObject
- get(String, Scriptable) - Method in class org.mozilla.javascript.ImporterTopLevel
- get(String, Scriptable) - Method in class org.mozilla.javascript.NativeJavaArray
- get(String, Scriptable) - Method in class org.mozilla.javascript.NativeJavaClass
- get(String, Scriptable) - Method in class org.mozilla.javascript.NativeJavaObject
- get(String, Scriptable) - Method in class org.mozilla.javascript.NativeJavaPackage
- get(String, Scriptable) - Method in class org.mozilla.javascript.NativeWith
- get(String, Scriptable) - Method in interface org.mozilla.javascript.Scriptable
-
Get a named property from the object.
- get(String, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
Returns the value of the named property or NOT_FOUND.
- get(ScriptNode) - Static method in class org.mozilla.javascript.optimizer.OptFunctionNode
- get(ScriptNode, int) - Static method in class org.mozilla.javascript.optimizer.OptFunctionNode
- get(Context) - Method in class org.mozilla.javascript.Ref
- get(Context, Object) - Method in class org.mozilla.javascript.xml.XMLObject
-
Implementation of ECMAScript [[Get]].
- get(Scriptable) - Static method in class org.mozilla.javascript.ClassCache
-
Search for ClassCache object in the given scope.
- get(Symbol, Scriptable) - Method in class org.mozilla.javascript.IdScriptableObject
- get(Symbol, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
Another version of Get that supports Symbol keyed properties.
- get(Symbol, Scriptable) - Method in interface org.mozilla.javascript.SymbolScriptable
-
Return the value of the property with the specified key, or NOT_FOUND.
- GET - Static variable in class org.mozilla.javascript.Token
- GET_REF - Static variable in class org.mozilla.javascript.Token
-
Token types.
- getAbsolutePosition() - Method in class org.mozilla.javascript.ast.AstNode
-
Returns the absolute document position of the node.
- getActivationNames() - Method in class org.mozilla.javascript.CompilerEnvirons
- getAdapterSelf(Class<?>, Object) - Static method in class org.mozilla.javascript.JavaAdapter
- getAllIds() - Method in interface org.mozilla.javascript.debug.DebuggableObject
-
Returns an array of ids for the properties of the object.
- getAllIds() - Method in class org.mozilla.javascript.ScriptableObject
-
Returns an array of ids for the properties of the object.
- getAllowSharpComments() - Method in class org.mozilla.javascript.CompilerEnvirons
- getApplicationClassLoader() - Method in class org.mozilla.javascript.Context
- getApplicationClassLoader() - Method in class org.mozilla.javascript.ContextFactory
-
Get ClassLoader to use when searching for Java classes.
- getApplicationState() - Method in exception org.mozilla.javascript.ContinuationPending
- getArguments() - Method in class org.mozilla.javascript.ast.FunctionCall
-
Returns function argument list
- getArity() - Method in class org.mozilla.javascript.BaseFunction
- getArity() - Method in class org.mozilla.javascript.commonjs.module.Require
- getArity() - Method in class org.mozilla.javascript.FunctionObject
-
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).
- getArity() - Method in class org.mozilla.javascript.IdFunctionObject
- getArity() - Method in class org.mozilla.javascript.NativeFunction
- getArrayElement(int) - Method in interface org.mozilla.javascript.ExternalArrayData
-
Return the element at the specified index.
- getArrayElement(int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- getArrayElements(Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- getArrayLength() - Method in interface org.mozilla.javascript.ExternalArrayData
-
Return the length of the array.
- getArrayLength() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- getArrayPrototype(Scriptable) - Static method in class org.mozilla.javascript.ScriptableObject
- getAssociatedValue(Object) - Method in class org.mozilla.javascript.ScriptableObject
-
Get arbitrary application-specific value associated with this object.
- getAstRoot() - Method in class org.mozilla.javascript.ast.AstNode
-
Returns the root of the tree containing this node.
- getAtPos() - Method in class org.mozilla.javascript.ast.XmlRef
-
Returns position of
@
-token, or -1 if this is not an attribute-access expression. - getAttributes(int) - Method in class org.mozilla.javascript.NativeArray
- getAttributes(int) - Method in class org.mozilla.javascript.ScriptableObject
-
Get the attributes of an indexed property.
- getAttributes(int, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
Deprecated.Use
ScriptableObject.getAttributes(int index)
. The engine always ignored the start argument. - getAttributes(String) - Method in class org.mozilla.javascript.IdScriptableObject
- getAttributes(String) - Method in class org.mozilla.javascript.ScriptableObject
-
Get the attributes of a named property.
- getAttributes(String, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
Deprecated.Use
ScriptableObject.getAttributes(String name)
. The engine always ignored the start argument. - getAttributes(Symbol) - Method in class org.mozilla.javascript.ScriptableObject
- getBase() - Method in class org.mozilla.javascript.commonjs.module.ModuleScope
- getBase() - Method in class org.mozilla.javascript.commonjs.module.ModuleScript
-
Returns the base URI from which this module source was loaded, or null if it was loaded from an absolute URI.
- getBase() - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSource
-
Returns the base URI from which this module source was loaded, or null if it was loaded from an absolute URI.
- getBaseLineno() - Method in class org.mozilla.javascript.ast.ScriptNode
- getBody() - Method in class org.mozilla.javascript.ast.ArrayComprehensionLoop
-
Returns
null
for loop body - getBody() - Method in class org.mozilla.javascript.ast.CatchClause
-
Returns catch body
- getBody() - Method in class org.mozilla.javascript.ast.FunctionNode
-
Returns function body.
- getBody() - Method in class org.mozilla.javascript.ast.LetNode
-
Returns body statement or expression.
- getBody() - Method in class org.mozilla.javascript.ast.Loop
-
Returns loop body
- getBreakLabel() - Method in class org.mozilla.javascript.ast.BreakStatement
-
Returns the intended label of this break statement
- getBreakTarget() - Method in class org.mozilla.javascript.ast.BreakStatement
-
Returns the statement to break to
- getBuffer() - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
-
Return the actual bytes that back the buffer.
- getBuffer() - Method in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
-
Return the buffer that backs this view.
- getBuiltinCtor(Context, Scriptable, TopLevel.Builtins) - Static method in class org.mozilla.javascript.TopLevel
-
Static helper method to get a built-in object constructor with the given
type
from the givenscope
. - getBuiltinCtor(TopLevel.Builtins) - Method in class org.mozilla.javascript.TopLevel
-
Get the cached built-in object constructor from this scope with the given
type
. - getBuiltinPrototype(Scriptable, TopLevel.Builtins) - Static method in class org.mozilla.javascript.TopLevel
-
Static helper method to get a built-in object prototype with the given
type
from the givenscope
. - getBuiltinPrototype(TopLevel.Builtins) - Method in class org.mozilla.javascript.TopLevel
-
Get the cached built-in object prototype from this scope with the given
type
. - getByteLength() - Method in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
-
Return the length, in bytes, of the part of the buffer that this view represents.
- getByteOffset() - Method in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
-
Return the offset in bytes from the start of the buffer that this view represents.
- getBytesPerElement() - Method in class org.mozilla.javascript.typedarrays.NativeFloat32Array
- getBytesPerElement() - Method in class org.mozilla.javascript.typedarrays.NativeFloat64Array
- getBytesPerElement() - Method in class org.mozilla.javascript.typedarrays.NativeInt16Array
- getBytesPerElement() - Method in class org.mozilla.javascript.typedarrays.NativeInt32Array
- getBytesPerElement() - Method in class org.mozilla.javascript.typedarrays.NativeInt8Array
- getBytesPerElement() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
-
Return the number of bytes represented by each element in the array.
- getBytesPerElement() - Method in class org.mozilla.javascript.typedarrays.NativeUint16Array
- getBytesPerElement() - Method in class org.mozilla.javascript.typedarrays.NativeUint32Array
- getBytesPerElement() - Method in class org.mozilla.javascript.typedarrays.NativeUint8Array
- getBytesPerElement() - Method in class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- getCases() - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Returns case statement list.
- getCatchClauses() - Method in class org.mozilla.javascript.ast.TryStatement
-
Returns list of
CatchClause
nodes. - getCatchCondition() - Method in class org.mozilla.javascript.ast.CatchClause
-
Returns catch condition node, if present
- getChildBefore(Node) - Method in class org.mozilla.javascript.Node
- getChildScopes() - Method in class org.mozilla.javascript.ast.Scope
-
Return a list of the scopes whose parent is this scope.
- getClassName() - Method in class org.mozilla.classfile.ClassFileWriter
- getClassName() - Method in class org.mozilla.javascript.BaseFunction
- getClassName() - Method in class org.mozilla.javascript.Delegator
- getClassName() - Method in class org.mozilla.javascript.ImporterTopLevel
- getClassName() - Method in class org.mozilla.javascript.NativeArray
- getClassName() - Method in class org.mozilla.javascript.NativeArrayIterator
- getClassName() - Method in class org.mozilla.javascript.NativeCall
- getClassName() - Method in class org.mozilla.javascript.NativeCallSite
- getClassName() - Method in class org.mozilla.javascript.NativeContinuation
- getClassName() - Method in class org.mozilla.javascript.NativeGenerator
- getClassName() - Method in class org.mozilla.javascript.NativeIterator
- getClassName() - Method in class org.mozilla.javascript.NativeJavaArray
- getClassName() - Method in class org.mozilla.javascript.NativeJavaClass
- getClassName() - Method in class org.mozilla.javascript.NativeJavaObject
- getClassName() - Method in class org.mozilla.javascript.NativeJavaPackage
- getClassName() - Method in class org.mozilla.javascript.NativeJSON
- getClassName() - Method in class org.mozilla.javascript.NativeObject
- getClassName() - Method in class org.mozilla.javascript.NativeStringIterator
- getClassName() - Method in class org.mozilla.javascript.NativeSymbol
- getClassName() - Method in class org.mozilla.javascript.NativeWith
- getClassName() - Method in class org.mozilla.javascript.regexp.NativeRegExp
- getClassName() - Method in interface org.mozilla.javascript.Scriptable
-
Get the name of the set of objects implemented by this Java class.
- getClassName() - Method in class org.mozilla.javascript.ScriptableObject
-
Return the name of the class.
- getClassName() - Method in class org.mozilla.javascript.TopLevel
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeDataView
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeFloat32Array
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeFloat64Array
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeInt16Array
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeInt32Array
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeInt8Array
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeUint16Array
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeUint32Array
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeUint8Array
- getClassName() - Method in class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- getClassObject() - Method in class org.mozilla.javascript.NativeJavaClass
- getClassPrototype() - Method in class org.mozilla.javascript.BaseFunction
- getClassPrototype(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptableObject
-
Get the prototype for the named class.
- getClassShutter() - Method in interface org.mozilla.javascript.Context.ClassShutterSetter
- getClassShutterSetter() - Method in class org.mozilla.javascript.Context
- getColonPos() - Method in class org.mozilla.javascript.ast.XmlRef
-
Returns position of
::
token, or -1 if not present. - getColonPosition() - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Returns position of : token
- getColumnNumber() - Method in exception org.mozilla.javascript.EcmaError
-
Deprecated.Use
RhinoException.columnNumber()
from the super class. - getColumnNumber() - Method in exception org.mozilla.javascript.EvaluatorException
-
Deprecated.Use
RhinoException.columnNumber()
from the super class. - getComments() - Method in class org.mozilla.javascript.ast.AstRoot
-
Returns comment set
- getCommentType() - Method in class org.mozilla.javascript.ast.Comment
-
Returns the comment style
- getCompilerData() - Method in class org.mozilla.javascript.ast.ScriptNode
- getCompilerEnv() - Method in class org.mozilla.javascript.optimizer.ClassCompiler
-
Get the compiler environment the compiler uses.
- getConcurrencyLevel() - Static method in class org.mozilla.javascript.commonjs.module.provider.CachingModuleScriptProviderBase
-
Returns the internal concurrency level utilized by caches in this JVM.
- getCondition() - Method in class org.mozilla.javascript.ast.DoLoop
-
Returns loop condition
- getCondition() - Method in class org.mozilla.javascript.ast.ForLoop
-
Returns loop condition
- getCondition() - Method in class org.mozilla.javascript.ast.IfStatement
-
Returns if condition
- getCondition() - Method in class org.mozilla.javascript.ast.WhileLoop
-
Returns loop condition
- getContainingTable() - Method in class org.mozilla.javascript.ast.Symbol
-
Returns the Scope in which this symbol is entered
- getContentType() - Method in class org.mozilla.javascript.commonjs.module.provider.ParsedContentType
-
Returns the content type (without charset declaration) of the MIME type.
- getContext(Object) - Method in class org.mozilla.javascript.jdk13.VMBridge_jdk13
- getContext(Object) - Method in class org.mozilla.javascript.VMBridge
-
Get
Context
instance associated with the current thread or null if none. - getContextFactoryGlobal() - Method in interface org.mozilla.javascript.ContextFactory.GlobalSetter
- getContinuation() - Method in exception org.mozilla.javascript.ContinuationPending
-
Get continuation object.
- getContinue() - Method in class org.mozilla.javascript.ast.Jump
- getCurrentCodeOffset() - Method in class org.mozilla.classfile.ClassFileWriter
-
Get the current offset into the code of the current method.
- getCurrentContext() - Static method in class org.mozilla.javascript.Context
-
Get the current Context.
- getCurrentScriptClass() - Method in class org.mozilla.javascript.RhinoSecurityManager
-
Get the class of the top-most stack element representing a script.
- getCurrentThreadClassLoader() - Method in class org.mozilla.javascript.jdk13.VMBridge_jdk13
- getCurrentThreadClassLoader() - Method in class org.mozilla.javascript.VMBridge
-
Return the ClassLoader instance associated with the current thread.
- getDebuggableView() - Method in class org.mozilla.javascript.NativeFunction
- getDebuggableView(Script) - Static method in class org.mozilla.javascript.Context
-
Return DebuggableScript instance if any associated with the script.
- getDebugger() - Method in class org.mozilla.javascript.Context
-
Return the current debugger.
- getDebuggerContextData() - Method in class org.mozilla.javascript.Context
-
Return the debugger context data associated with current context.
- getDeclType() - Method in class org.mozilla.javascript.ast.Symbol
-
Returns symbol declaration type
- getDeclTypeName() - Method in class org.mozilla.javascript.ast.Symbol
- getDefault() - Method in class org.mozilla.javascript.ast.Jump
- getDefaultValue(Class<?>) - Method in class org.mozilla.javascript.Delegator
-
Note that this method does not get forwarded to the delegee if the
hint
parameter is null,ScriptRuntime.ScriptableClass
orScriptRuntime.FunctionClass
. - getDefaultValue(Class<?>) - Method in class org.mozilla.javascript.NativeArray
- getDefaultValue(Class<?>) - Method in class org.mozilla.javascript.NativeJavaArray
- getDefaultValue(Class<?>) - Method in class org.mozilla.javascript.NativeJavaClass
- getDefaultValue(Class<?>) - Method in class org.mozilla.javascript.NativeJavaObject
- getDefaultValue(Class<?>) - Method in class org.mozilla.javascript.NativeJavaPackage
- getDefaultValue(Class<?>) - Method in class org.mozilla.javascript.NativeWith
- getDefaultValue(Class<?>) - Method in interface org.mozilla.javascript.Scriptable
-
Get the default value of the object with a given hint.
- getDefaultValue(Class<?>) - Method in class org.mozilla.javascript.ScriptableObject
-
Implements the [[DefaultValue]] internal method.
- getDefaultValue(Scriptable, Class<?>) - Static method in class org.mozilla.javascript.ScriptableObject
- getDefiningScope() - Method in class org.mozilla.javascript.ast.Name
-
Returns the
Scope
in which thisName
is defined. - getDefiningScope(String) - Method in class org.mozilla.javascript.ast.Scope
-
Returns the scope in which this name is defined
- getDelegee() - Method in class org.mozilla.javascript.Delegator
-
Retrieve the delegee.
- getDestructuringLength() - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Returns destructuring length
- getDirectTargetIndex() - Method in class org.mozilla.javascript.optimizer.OptFunctionNode
- getDouble() - Method in class org.mozilla.javascript.Node
-
Can only be called when getType() == Token.NUMBER
- getDynamicSecurityDomain(Object) - Method in class org.mozilla.javascript.PolicySecurityController
- getDynamicSecurityDomain(Object) - Method in class org.mozilla.javascript.SecurityController
-
Get dynamic security domain that allows an action only if it is allowed by the current Java stack and securityDomain.
- getE4xImplementationFactory() - Method in class org.mozilla.javascript.Context
-
Returns an object which specifies an E4X implementation to use within this
Context
. - getE4xImplementationFactory() - Method in class org.mozilla.javascript.ContextFactory
-
Provides a default
XMLLib.Factory
to be used by theContext
instances produced by this factory. - getEachPosition() - Method in class org.mozilla.javascript.ast.ForInLoop
-
Returns position of "each" keyword
- GETELEM - Static variable in class org.mozilla.javascript.Token
-
Token types.
- getElement() - Method in class org.mozilla.javascript.ast.ElementGet
-
Returns the element being accessed
- getElement(int) - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Returns element at specified index.
- getElements() - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Returns the element list
- getElements() - Method in class org.mozilla.javascript.ast.ObjectLiteral
-
Returns the element list.
- getElements(Scriptable) - Method in class org.mozilla.javascript.Context
-
Get the elements of a JavaScript array.
- getElemFunctionAndThis(Object, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- getElemFunctionAndThis(Object, Object, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
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.
- getElsePart() - Method in class org.mozilla.javascript.ast.IfStatement
-
Returns statement to execute if condition is false
- getElsePosition() - Method in class org.mozilla.javascript.ast.IfStatement
-
Returns position of "else" keyword, or -1
- getEnclosingFunction() - Method in class org.mozilla.javascript.ast.AstNode
-
Returns the innermost enclosing function, or
null
if not in a function. - getEnclosingScope() - Method in class org.mozilla.javascript.ast.AstNode
-
Returns the innermost enclosing
Scope
node, ornull
if we're not nested in a scope. - getEncodedSource() - Method in class org.mozilla.javascript.ast.ScriptNode
-
Returns a canonical version of the source for this script or function, for use in implementing the
Object.toSource
method of JavaScript objects. - getEncodedSource() - Method in class org.mozilla.javascript.NativeFunction
-
Get encoded source string.
- getEncodedSourceEnd() - Method in class org.mozilla.javascript.ast.ScriptNode
-
Returns the end offset of the encoded source.
- getEncodedSourceStart() - Method in class org.mozilla.javascript.ast.ScriptNode
-
Returns the start offset of the encoded source.
- getEncoding() - Method in class org.mozilla.javascript.commonjs.module.provider.ParsedContentType
-
Returns the character encoding of the MIME type.
- getEndLineno() - Method in class org.mozilla.javascript.ast.ScriptNode
- getErrorMessage() - Method in exception org.mozilla.javascript.EcmaError
-
Gets the message corresponding to the error.
- getErrorObject() - Method in exception org.mozilla.javascript.EcmaError
-
Deprecated.Always returns null.
- getErrorReporter() - Method in class org.mozilla.javascript.CompilerEnvirons
- getErrorReporter() - Method in class org.mozilla.javascript.Context
-
Get the current error reporter.
- getErrors() - Method in class org.mozilla.javascript.ast.ErrorCollector
-
Returns the list of errors and warnings produced during parsing.
- getExisting(Object) - Method in class org.mozilla.javascript.ObjToIntMap
-
Get integer value assigned with key.
- getExistingInt(int) - Method in class org.mozilla.javascript.UintMap
-
Get integer value assigned with key.
- getExistingIntProp(int) - Method in class org.mozilla.javascript.Node
- getExpression() - Method in class org.mozilla.javascript.ast.ExpressionStatement
-
Returns the wrapped expression
- getExpression() - Method in class org.mozilla.javascript.ast.ParenthesizedExpression
-
Returns the expression between the parens
- getExpression() - Method in class org.mozilla.javascript.ast.SwitchCase
-
Returns the case expression,
null
for default case - getExpression() - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Returns the switch discriminant expression
- getExpression() - Method in class org.mozilla.javascript.ast.ThrowStatement
-
Returns the expression being thrown
- getExpression() - Method in class org.mozilla.javascript.ast.WithStatement
-
Returns object expression
- getExpression() - Method in class org.mozilla.javascript.ast.XmlElemRef
-
Returns index expression: the 'expr' in
@[expr]
or@*::[expr]
. - getExpression() - Method in class org.mozilla.javascript.ast.XmlExpression
-
Returns the expression embedded in {}
- getExternalArrayData() - Method in class org.mozilla.javascript.ScriptableObject
-
Return the array that was previously set by the call to "setExternalArrayData".
- getExternalArrayLength() - Method in class org.mozilla.javascript.ScriptableObject
-
This is a function used by setExternalArrayData to dynamically get the "length" property value.
- getExtraMethodSource(Context) - Method in class org.mozilla.javascript.xml.XMLObject
-
Return an additional object to look for methods that runtime should consider during method search.
- getFactory() - Method in class org.mozilla.javascript.Context
-
Return
ContextFactory
instance used to create this Context. - getFalseExpression() - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Returns expression to evaluate if test is false
- GETFIELD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- getFileOffset() - Method in class org.mozilla.javascript.ast.ParseProblem
- getFilter() - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Returns filter expression, or
null
if not present - getFilter() - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Returns filter expression, or
null
if not present - getFilterLp() - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Returns filter left paren position, or -1 if no filter
- getFilterLp() - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Returns filter left paren position, or -1 if no filter
- getFilterRp() - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Returns filter right paren position, or -1 if no filter
- getFilterRp() - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Returns filter right paren position, or -1 if no filter
- getFinally() - Method in class org.mozilla.javascript.ast.Jump
- getFinallyBlock() - Method in class org.mozilla.javascript.ast.TryStatement
-
Returns finally block, or
null
if not present - getFinallyPosition() - Method in class org.mozilla.javascript.ast.TryStatement
-
Returns position of
finally
keyword, if present, or -1 - getFirstChild() - Method in class org.mozilla.javascript.Node
- getFirstLabel() - Method in class org.mozilla.javascript.ast.LabeledStatement
- getFlags() - Method in class org.mozilla.javascript.ast.RegExpLiteral
-
Returns regexp flags,
null
or "" if no flags specified - getFragments() - Method in class org.mozilla.javascript.ast.XmlLiteral
-
Returns fragment list - a list of expression nodes.
- getFrame(Context, DebuggableScript) - Method in interface org.mozilla.javascript.debug.Debugger
-
Called when execution entered a particular function or script.
- getFunction(int) - Method in interface org.mozilla.javascript.debug.DebuggableScript
- getFunction(Scriptable, String) - Static method in class org.mozilla.javascript.JavaAdapter
- getFunctionCount() - Method in class org.mozilla.javascript.ast.ScriptNode
- getFunctionCount() - Method in interface org.mozilla.javascript.debug.DebuggableScript
- getFunctionName() - Method in class org.mozilla.javascript.ast.FunctionNode
-
Returns function name
- getFunctionName() - Method in class org.mozilla.javascript.BaseFunction
- getFunctionName() - Method in class org.mozilla.javascript.commonjs.module.Require
- getFunctionName() - Method in interface org.mozilla.javascript.debug.DebuggableScript
-
Get name of the function described by this script.
- getFunctionName() - Method in class org.mozilla.javascript.FunctionObject
- getFunctionName() - Method in class org.mozilla.javascript.IdFunctionObject
- getFunctionName() - Method in class org.mozilla.javascript.NativeJavaConstructor
- getFunctionName() - Method in class org.mozilla.javascript.NativeJavaMethod
- getFunctionNode(int) - Method in class org.mozilla.javascript.ast.ScriptNode
- getFunctionProperty(Context, int) - Method in class org.mozilla.javascript.xml.XMLObject
- getFunctionProperty(Context, String) - Method in class org.mozilla.javascript.xml.XMLObject
- getFunctionPrototype(Scriptable) - Static method in class org.mozilla.javascript.ScriptableObject
-
Get the Function.prototype property.
- getFunctions() - Method in class org.mozilla.javascript.ast.ScriptNode
- getFunctionType() - Method in class org.mozilla.javascript.ast.FunctionNode
-
Returns the function type (statement, expr, statement expr)
- getGeneratorLocalsState(Object) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- getGeneratorStackState(Object) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- getGetterOrSetter(String, int, boolean) - Method in class org.mozilla.javascript.ScriptableObject
-
Get the getter or setter for a given property.
- getGlobal() - Static method in class org.mozilla.javascript.ContextFactory
-
Get global ContextFactory.
- getGlobal(Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- getGlobalSetter() - Static method in class org.mozilla.javascript.ContextFactory
- getIdentifier() - Method in class org.mozilla.javascript.ast.Name
-
Returns the node's identifier
- getIds() - Method in class org.mozilla.javascript.Delegator
- getIds() - Method in class org.mozilla.javascript.NativeJavaArray
- getIds() - Method in class org.mozilla.javascript.NativeJavaClass
- getIds() - Method in class org.mozilla.javascript.NativeJavaObject
- getIds() - Method in class org.mozilla.javascript.NativeWith
- getIds() - Method in interface org.mozilla.javascript.Scriptable
-
Get an array of property ids.
- getIds() - Method in class org.mozilla.javascript.ScriptableObject
-
Returns an array of ids for the properties of the object.
- getIds() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- getIds(boolean, boolean) - Method in class org.mozilla.javascript.NativeArray
- getIfPosition() - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Returns position of 'if' keyword, -1 if not present
- getIfPosition() - Method in class org.mozilla.javascript.ast.CatchClause
-
Returns position of "if" keyword
- getIfPosition() - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Returns position of 'if' keyword, -1 if not present
- getImplementation() - Method in class org.mozilla.javascript.NativeContinuation
- getImplementationClassName() - Method in class org.mozilla.javascript.xml.XMLLib.Factory
- getImplementationVersion() - Method in class org.mozilla.javascript.Context
-
Get the implementation version.
- getIncrement() - Method in class org.mozilla.javascript.ast.ForLoop
-
Returns loop increment expression
- getIndex() - Method in class org.mozilla.javascript.ast.Symbol
-
Returns symbol's index in its scope
- getIndexForNameNode(Node) - Method in class org.mozilla.javascript.ast.ScriptNode
- getIndexIds() - Method in class org.mozilla.javascript.NativeArray
- getInitializer() - Method in class org.mozilla.javascript.ast.ForLoop
-
Returns loop initializer variable declaration list.
- getInitializer() - Method in class org.mozilla.javascript.ast.NewExpression
-
Returns initializer object, if any.
- getInitializer() - Method in class org.mozilla.javascript.ast.VariableInitializer
-
Returns the initial value, or
null
if not provided - getInPosition() - Method in class org.mozilla.javascript.ast.ForInLoop
-
Returns position of "in" or "of" keyword
- getInstanceIdName(int) - Method in class org.mozilla.javascript.BaseFunction
- getInstanceIdName(int) - Method in class org.mozilla.javascript.IdScriptableObject
-
Map id back to property name it defines.
- getInstanceIdName(int) - Method in class org.mozilla.javascript.NativeArray
- getInstanceIdName(int) - Method in class org.mozilla.javascript.regexp.NativeRegExp
- getInstanceIdName(int) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- getInstanceIdName(int) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
- getInstanceIdName(int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- getInstanceIdValue(int) - Method in class org.mozilla.javascript.BaseFunction
- getInstanceIdValue(int) - Method in class org.mozilla.javascript.IdFunctionObjectES6
- getInstanceIdValue(int) - Method in class org.mozilla.javascript.IdScriptableObject
-
Get id value.
- getInstanceIdValue(int) - Method in class org.mozilla.javascript.NativeArray
- getInstanceIdValue(int) - Method in class org.mozilla.javascript.regexp.NativeRegExp
- getInstanceIdValue(int) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- getInstanceIdValue(int) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
- getInstanceIdValue(int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- getInstructionObserverThreshold() - Method in class org.mozilla.javascript.Context
-
Get threshold of executed instructions counter that triggers call to
observeInstructionCount()
. - getInt(int, int) - Method in class org.mozilla.javascript.UintMap
-
Get integer value assigned with key.
- getInterfaceProxyHelper(ContextFactory, Class<?>[]) - Method in class org.mozilla.javascript.jdk13.VMBridge_jdk13
- getInterfaceProxyHelper(ContextFactory, Class<?>[]) - Method in class org.mozilla.javascript.VMBridge
-
Create helper object to create later proxies implementing the specified interfaces later.
- getIntProp(int, int) - Method in class org.mozilla.javascript.Node
- getIteratedObject() - Method in class org.mozilla.javascript.ast.ForInLoop
-
Returns object being iterated over
- getIterator() - Method in class org.mozilla.javascript.ast.ForInLoop
-
Returns loop iterator expression
- getJavaIterator(Context, Scriptable, Object) - Method in class org.mozilla.javascript.jdk15.VMBridge_jdk15
-
If "obj" is a java.util.Iterator or a java.lang.Iterable, return a wrapping as a JavaScript Iterator.
- getJavaIterator(Context, Scriptable, Object) - Method in class org.mozilla.javascript.VMBridge
-
If "obj" is a java.util.Iterator or a java.lang.Iterable, return a wrapping as a JavaScript Iterator.
- getJsDoc() - Method in class org.mozilla.javascript.Node
-
Gets the JsDoc comment string attached to this node.
- getJsDocNode() - Method in class org.mozilla.javascript.Node
-
Gets the JsDoc Comment object attached to this node.
- getJumpStatement() - Method in class org.mozilla.javascript.ast.Jump
- getKey() - Method in class org.mozilla.javascript.ObjToIntMap.Iterator
- getKeys() - Method in class org.mozilla.javascript.ObjToIntMap
-
Return array of present keys
- getKeys() - Method in class org.mozilla.javascript.UintMap
-
Return array of present keys
- getKeys(Object[], int) - Method in class org.mozilla.javascript.ObjToIntMap
- getLabel() - Method in class org.mozilla.javascript.ast.ContinueStatement
-
Returns the intended label of this continue statement
- getLabelByName(String) - Method in class org.mozilla.javascript.ast.LabeledStatement
-
Returns label with specified name from the label list for this labeled statement.
- getLabelPC(int) - Method in class org.mozilla.classfile.ClassFileWriter
- getLabels() - Method in class org.mozilla.javascript.ast.LabeledStatement
-
Returns label list
- getLanguageVersion() - Method in class org.mozilla.javascript.CompilerEnvirons
- getLanguageVersion() - Method in class org.mozilla.javascript.Context
-
Get the current language version.
- getLanguageVersion() - Method in class org.mozilla.javascript.NativeFunction
- getLastChild() - Method in class org.mozilla.javascript.Node
- getLastSibling() - Method in class org.mozilla.javascript.Node
- getLb() - Method in class org.mozilla.javascript.ast.ElementGet
-
Returns left bracket position
- getLb() - Method in class org.mozilla.javascript.ast.XmlElemRef
-
Returns left bracket position, or -1 if missing.
- getLeft() - Method in class org.mozilla.javascript.ast.InfixExpression
-
Returns the left-hand side of the expression
- getLength() - Method in class org.mozilla.javascript.ArrowFunction
- getLength() - Method in class org.mozilla.javascript.ast.AstNode
-
Returns node length
- getLength() - Method in class org.mozilla.javascript.ast.ParseProblem
- getLength() - Method in class org.mozilla.javascript.BaseFunction
- getLength() - Method in class org.mozilla.javascript.BoundFunction
- getLength() - Method in class org.mozilla.javascript.commonjs.module.Require
- getLength() - Method in class org.mozilla.javascript.FunctionObject
-
Return the same value as
FunctionObject.getArity()
. - getLength() - Method in class org.mozilla.javascript.IdFunctionObject
- getLength() - Method in class org.mozilla.javascript.NativeArray
- getLength() - Method in class org.mozilla.javascript.NativeFunction
- getLength() - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
-
Get the number of bytes in the buffer.
- getLibraryScopeOrNull(Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- getLineno() - Method in class org.mozilla.javascript.ast.AstNode
-
Return the line number recorded for this node.
- getLineno() - Method in class org.mozilla.javascript.Node
-
Return the line number recorded for this node.
- getLineNumber() - Method in exception org.mozilla.javascript.EcmaError
-
Deprecated.Use
RhinoException.lineNumber()
from the super class. - getLineNumber() - Method in exception org.mozilla.javascript.EvaluatorException
-
Deprecated.Use
RhinoException.lineNumber()
from the super class. - getLineNumber() - Method in exception org.mozilla.javascript.JavaScriptException
-
Deprecated.Use
RhinoException.lineNumber()
from the super class. - getLineNumbers() - Method in interface org.mozilla.javascript.debug.DebuggableScript
-
Get array containing the line numbers that that can be passed to
DebugFrame.onLineChange()
.
- getLineSource() - Method in exception org.mozilla.javascript.EcmaError
-
Deprecated.Use
RhinoException.lineSource()
from the super class. - getLineSource() - Method in exception org.mozilla.javascript.EvaluatorException
-
Deprecated.Use
RhinoException.lineSource()
from the super class. - getListener(Object, int) - Static method in class org.mozilla.javascript.Kit
-
Get listener at index position in bag or null if index equals to number of listeners in bag.
- getLiveLocals() - Method in class org.mozilla.javascript.ast.FunctionNode
- getLoadedModule(String) - Method in class org.mozilla.javascript.commonjs.module.provider.CachingModuleScriptProviderBase
-
Retrieves an already loaded moduleScript stored using
CachingModuleScriptProviderBase.putLoadedModule(String, ModuleScript, Object)
. - getLoadedModule(String) - Method in class org.mozilla.javascript.commonjs.module.provider.SoftCachingModuleScriptProvider
- getLoadedModule(String) - Method in class org.mozilla.javascript.commonjs.module.provider.StrongCachingModuleScriptProvider
- getLocale() - Method in class org.mozilla.javascript.Context
-
Get the current locale.
- getLoop() - Method in class org.mozilla.javascript.ast.Jump
- getLoops() - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Returns loop list
- getLoops() - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Returns loop list
- getLp() - Method in class org.mozilla.javascript.ast.CatchClause
-
Returns left paren position
- getLp() - Method in class org.mozilla.javascript.ast.FunctionCall
-
Returns left paren position, -1 if missing
- getLp() - Method in class org.mozilla.javascript.ast.FunctionNode
-
Returns left paren position, -1 if missing
- getLp() - Method in class org.mozilla.javascript.ast.IfStatement
-
Returns left paren offset
- getLp() - Method in class org.mozilla.javascript.ast.LetNode
-
Returns left paren position, -1 if missing
- getLp() - Method in class org.mozilla.javascript.ast.Loop
-
Returns left paren position, -1 if missing
- getLp() - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Returns left paren position, -1 if missing
- getLp() - Method in class org.mozilla.javascript.ast.WithStatement
-
Returns left paren offset
- getMainMethodClass() - Method in class org.mozilla.javascript.optimizer.ClassCompiler
-
Get the name of the class for main method implementation.
- getMaximumInterpreterStackDepth() - Method in class org.mozilla.javascript.Context
-
Returns the maximum stack depth (in terms of number of call frames) allowed in a single invocation of interpreter.
- getMaxInstanceId() - Method in class org.mozilla.javascript.BaseFunction
- getMaxInstanceId() - Method in class org.mozilla.javascript.IdScriptableObject
-
Get maximum id findInstanceIdInfo can generate.
- getMaxInstanceId() - Method in class org.mozilla.javascript.NativeArray
- getMaxInstanceId() - Method in class org.mozilla.javascript.regexp.NativeRegExp
- getMaxInstanceId() - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- getMaxInstanceId() - Method in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
- getMaxInstanceId() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- getMemberExprNode() - Method in class org.mozilla.javascript.ast.FunctionNode
- getMemberRef() - Method in class org.mozilla.javascript.ast.XmlMemberGet
-
Returns the right-side XML member ref expression.
- getMessage() - Method in class org.mozilla.javascript.ast.ErrorNode
-
Returns error message key
- getMessage() - Method in class org.mozilla.javascript.ast.ParseProblem
- getMessage() - Method in exception org.mozilla.javascript.RhinoException
- getMessage(String, Object[]) - Static method in class org.mozilla.javascript.ScriptRuntime
- getMessage(String, Object[]) - Method in interface org.mozilla.javascript.ScriptRuntime.MessageProvider
-
Returns a textual message identified by the given messageId, parameterized by the given arguments.
- getMessage0(String) - Static method in class org.mozilla.javascript.ScriptRuntime
- getMessage1(String, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- getMessage2(String, Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- getMessage3(String, Object, Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- getMessage4(String, Object, Object, Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- getMethodOrConstructor() - Method in class org.mozilla.javascript.FunctionObject
-
Get Java method or constructor this function represent.
- getModuleScript(Context, String, URI, URI, Scriptable) - Method in interface org.mozilla.javascript.commonjs.module.ModuleScriptProvider
-
Returns a module script.
- getModuleScript(Context, String, URI, URI, Scriptable) - Method in class org.mozilla.javascript.commonjs.module.provider.CachingModuleScriptProviderBase
- getModuleScript(Context, String, URI, URI, Scriptable) - Method in class org.mozilla.javascript.commonjs.module.provider.MultiModuleScriptProvider
- getModuleScript(Context, String, URI, URI, Scriptable) - Method in class org.mozilla.javascript.commonjs.module.provider.SoftCachingModuleScriptProvider
- getName() - Method in class org.mozilla.javascript.ast.FunctionNode
-
Returns the function name as a string
- getName() - Method in class org.mozilla.javascript.ast.Label
-
Returns the label text
- getName() - Method in class org.mozilla.javascript.ast.Symbol
-
Returns symbol name
- getName() - Method in exception org.mozilla.javascript.EcmaError
-
Gets the name of the error.
- getName() - Method in class org.mozilla.javascript.SymbolKey
- getNameFunctionAndThis(String, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Prepare for calling name(...): return function corresponding to name and make current top scope available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
- getNamespace() - Method in class org.mozilla.javascript.ast.XmlRef
-
Return the namespace.
- getNext() - Method in class org.mozilla.javascript.Node
- getNextTempName() - Method in class org.mozilla.javascript.ast.ScriptNode
- getNode() - Method in class org.mozilla.javascript.ast.Symbol
-
Returns the node associated with this identifier
- getNumber() - Method in class org.mozilla.javascript.ast.NumberLiteral
-
Gets the
double
value. - getObject(int) - Method in class org.mozilla.javascript.UintMap
-
Get object value assigned with key.
- getObjectElem(Object, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- getObjectElem(Object, Object, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Call obj.[[Get]](id)
- getObjectElem(Scriptable, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- getObjectIndex(Object, double, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- getObjectIndex(Object, double, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
A cheaper and less general version of the above for well-known argument types.
- getObjectIndex(Scriptable, int, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- getObjectProp(Object, String, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- getObjectProp(Object, String, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Version of getObjectElem when elem is a valid JS identifier name.
- getObjectProp(Scriptable, String, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- getObjectPropNoWarn(Object, String, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- getObjectPropNoWarn(Object, String, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- getObjectPrototype(Scriptable) - Static method in class org.mozilla.javascript.ScriptableObject
-
Get the Object.prototype property.
- getOperand() - Method in class org.mozilla.javascript.ast.UnaryExpression
- getOperator() - Method in class org.mozilla.javascript.ast.InfixExpression
-
Returns operator token – alias for
Node.getType()
- getOperator() - Method in class org.mozilla.javascript.ast.UnaryExpression
-
Returns operator token – alias for
Node.getType()
- getOperatorPosition() - Method in class org.mozilla.javascript.ast.InfixExpression
-
Returns relative offset of operator token
- getOptimizationLevel() - Method in class org.mozilla.javascript.CompilerEnvirons
- getOptimizationLevel() - Method in class org.mozilla.javascript.Context
-
Get the current optimization level.
- getOwnPropertyDescriptor(Context, Object) - Method in class org.mozilla.javascript.IdScriptableObject
- getOwnPropertyDescriptor(Context, Object) - Method in class org.mozilla.javascript.NativeArray
- getOwnPropertyDescriptor(Context, Object) - Method in class org.mozilla.javascript.ScriptableObject
- getParamAndVarConst() - Method in class org.mozilla.javascript.ast.ScriptNode
- getParamAndVarCount() - Method in class org.mozilla.javascript.ast.ScriptNode
- getParamAndVarCount() - Method in interface org.mozilla.javascript.debug.DebuggableScript
-
Get number of declared parameters and local variables.
- getParamAndVarCount() - Method in class org.mozilla.javascript.NativeFunction
-
Get number of declared parameters and variables defined through var statements.
- getParamAndVarNames() - Method in class org.mozilla.javascript.ast.ScriptNode
- getParamCount() - Method in class org.mozilla.javascript.ast.ScriptNode
- getParamCount() - Method in interface org.mozilla.javascript.debug.DebuggableScript
-
Get number of declared parameters in the function.
- getParamCount() - Method in class org.mozilla.javascript.NativeFunction
-
Get number of declared parameters.
- getParameterNumberContext() - Method in class org.mozilla.javascript.optimizer.OptFunctionNode
- getParamOrVarConst(int) - Method in class org.mozilla.javascript.NativeFunction
-
Get parameter or variable const-ness.
- getParamOrVarName(int) - Method in class org.mozilla.javascript.ast.ScriptNode
- getParamOrVarName(int) - Method in interface org.mozilla.javascript.debug.DebuggableScript
-
Get name of a declared parameter or local variable.
- getParamOrVarName(int) - Method in class org.mozilla.javascript.NativeFunction
-
Get parameter or variable name.
- getParams() - Method in class org.mozilla.javascript.ast.FunctionNode
-
Returns the function parameter list
- getParent() - Method in class org.mozilla.javascript.ast.AstNode
-
Returns the node parent, or
null
if it has none - getParent() - Method in interface org.mozilla.javascript.debug.DebuggableScript
- getParentScope() - Method in class org.mozilla.javascript.ast.Scope
- getParentScope() - Method in class org.mozilla.javascript.Delegator
- getParentScope() - Method in class org.mozilla.javascript.NativeJavaObject
-
Returns the parent (enclosing) scope of the object.
- getParentScope() - Method in class org.mozilla.javascript.NativeWith
- getParentScope() - Method in interface org.mozilla.javascript.Scriptable
-
Get the parent scope of the object.
- getParentScope() - Method in class org.mozilla.javascript.ScriptableObject
-
Returns the parent (enclosing) scope of the object.
- getPatchedStack(RhinoException, String) - Method in interface org.mozilla.javascript.Evaluator
-
Given a native stack trace, patch it with script-specific source and line information
- getPatchedStack(RhinoException, String) - Method in class org.mozilla.javascript.Interpreter
- getPatchedStack(RhinoException, String) - Method in class org.mozilla.javascript.optimizer.Codegen
- getPosition() - Method in class org.mozilla.javascript.ast.AstNode
-
Returns relative position in parent
- getPrettyIndent() - Method in class org.mozilla.javascript.xml.XMLLib
- getProp(int) - Method in class org.mozilla.javascript.Node
- GETPROP - Static variable in class org.mozilla.javascript.Token
-
Token types.
- getProperty() - Method in class org.mozilla.javascript.ast.PropertyGet
-
Returns the property being accessed.
- getProperty(Scriptable, int) - Static method in class org.mozilla.javascript.ScriptableObject
-
Gets an indexed property from an object or any object in its prototype chain.
- getProperty(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptableObject
-
Gets a named property from an object or any object in its prototype chain.
- getProperty(Scriptable, Symbol) - Static method in class org.mozilla.javascript.ScriptableObject
-
This is a version of getProperty that works with Symbols.
- getPropertyIds(Scriptable) - Static method in class org.mozilla.javascript.ScriptableObject
-
Returns an array of all ids from an object and its prototypes.
- getPropFunctionAndThis(Object, String, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- getPropFunctionAndThis(Object, String, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
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.
- getPropName() - Method in class org.mozilla.javascript.ast.XmlPropRef
-
Returns property name.
- GETPROPNOWARN - Static variable in class org.mozilla.javascript.Token
-
Token types.
- getProtectionDomain(Class<?>) - Static method in class org.mozilla.javascript.SecurityUtilities
- getPrototype() - Method in class org.mozilla.javascript.Delegator
- getPrototype() - Method in class org.mozilla.javascript.IdFunctionObject
- getPrototype() - Method in class org.mozilla.javascript.NativeJavaArray
- getPrototype() - Method in class org.mozilla.javascript.NativeJavaObject
- getPrototype() - Method in class org.mozilla.javascript.NativeWith
- getPrototype() - Method in interface org.mozilla.javascript.Scriptable
-
Get the prototype of the object.
- getPrototype() - Method in class org.mozilla.javascript.ScriptableObject
-
Returns the prototype of the object.
- getPrototypeProperty() - Method in class org.mozilla.javascript.BaseFunction
- getQuestionMarkPosition() - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Returns position of ? token
- getQuoteCharacter() - Method in class org.mozilla.javascript.ast.StringLiteral
-
Returns the character used as the delimiter for this string.
- getRb() - Method in class org.mozilla.javascript.ast.ElementGet
-
Returns right bracket position, -1 if missing
- getRb() - Method in class org.mozilla.javascript.ast.XmlElemRef
-
Returns left bracket position, or -1 if missing.
- getReader() - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSource
-
Returns the reader returning the source text of the module.
- getRegexpCount() - Method in class org.mozilla.javascript.ast.ScriptNode
- getRegexpFlags(int) - Method in class org.mozilla.javascript.ast.ScriptNode
- getRegExpProxy(Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- getRegexpString(int) - Method in class org.mozilla.javascript.ast.ScriptNode
- getResult() - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Returns result expression node (just after opening bracket)
- getResult() - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Returns result expression node (just after opening bracket)
- getResumptionPoints() - Method in class org.mozilla.javascript.ast.FunctionNode
- getReturnValue() - Method in class org.mozilla.javascript.ast.ReturnStatement
-
Returns return value,
null
if return value is void - getRight() - Method in class org.mozilla.javascript.ast.InfixExpression
-
Returns the right-hand side of the expression
- getRp() - Method in class org.mozilla.javascript.ast.CatchClause
-
Returns right paren position
- getRp() - Method in class org.mozilla.javascript.ast.FunctionCall
-
Returns right paren position, -1 if missing
- getRp() - Method in class org.mozilla.javascript.ast.FunctionNode
-
Returns right paren position, -1 if missing
- getRp() - Method in class org.mozilla.javascript.ast.IfStatement
-
Returns right paren position, -1 if missing
- getRp() - Method in class org.mozilla.javascript.ast.LetNode
-
Returns right paren position, -1 if missing
- getRp() - Method in class org.mozilla.javascript.ast.Loop
-
Returns right paren position, -1 if missing
- getRp() - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Returns right paren position, -1 if missing
- getRp() - Method in class org.mozilla.javascript.ast.WithStatement
-
Returns right paren offset
- getRp() - Method in class org.mozilla.javascript.ast.XmlDotQuery
-
Returns right-paren position, -1 if missing.
- getScope() - Method in class org.mozilla.javascript.ast.Name
-
Return the
Scope
associated with this node. - getScope() - Method in class org.mozilla.javascript.Node
-
Can only be called when node has String context.
- getScript() - Method in class org.mozilla.javascript.commonjs.module.ModuleScript
-
Returns the script object representing the code of the module.
- getScriptProtectionDomain() - Static method in class org.mozilla.javascript.SecurityUtilities
-
Look up the top-most element in the current stack representing a script and return its protection domain.
- getScriptStack() - Method in exception org.mozilla.javascript.RhinoException
-
Get the script stack of this exception as an array of
ScriptStackElement
s. - getScriptStack(int, String) - Method in exception org.mozilla.javascript.RhinoException
-
Get the script stack of this exception as an array of
ScriptStackElement
s. - getScriptStack(RhinoException) - Method in interface org.mozilla.javascript.Evaluator
-
Get the script stack for the given exception
- getScriptStack(RhinoException) - Method in class org.mozilla.javascript.Interpreter
- getScriptStack(RhinoException) - Method in class org.mozilla.javascript.optimizer.Codegen
- getScriptStackElements(RhinoException) - Method in class org.mozilla.javascript.Interpreter
- getScriptStackTrace() - Method in exception org.mozilla.javascript.RhinoException
-
Get a string representing the script stack of this exception.
- getScriptStackTrace(int, String) - Method in exception org.mozilla.javascript.RhinoException
-
Get a string representing the script stack of this exception.
- getScriptStackTrace(FilenameFilter) - Method in exception org.mozilla.javascript.RhinoException
-
Deprecated.the filter argument is ignored as we are able to recognize script stack elements by our own. Use #getScriptStackTrace() instead.
- getSecurityDomain() - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSource
-
Returns the object representing the security domain for the module's source.
- getSecurityDomain(URLConnection) - Method in interface org.mozilla.javascript.commonjs.module.provider.UrlConnectionSecurityDomainProvider
-
Create a new security domain object for a script source identified by its URL connection.
- getSize() - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Returns the number of elements in this
Array
literal, including empty elements. - getSkipCount() - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Used by code generator.
- getSlot(Context, Object, int) - Method in class org.mozilla.javascript.ScriptableObject
- getSourceName() - Method in class org.mozilla.javascript.ast.ParseProblem
- getSourceName() - Method in class org.mozilla.javascript.ast.ScriptNode
-
Returns the URI, path or descriptive text indicating the origin of this script's source code.
- getSourceName() - Method in interface org.mozilla.javascript.debug.DebuggableScript
-
Get the name of the source (usually filename or URL) of the script.
- getSourceName() - Method in exception org.mozilla.javascript.EcmaError
-
Deprecated.Use
RhinoException.sourceName()
from the super class. - getSourceName() - Method in exception org.mozilla.javascript.EvaluatorException
-
Deprecated.Use
RhinoException.sourceName()
from the super class. - getSourceName() - Method in exception org.mozilla.javascript.JavaScriptException
-
Deprecated.Use
RhinoException.sourceName()
from the super class. - getSourcePositionFromStack(int[]) - Static method in class org.mozilla.javascript.Context
- getSourcePositionFromStack(Context, int[]) - Method in interface org.mozilla.javascript.Evaluator
-
Get the source position information by examining the stack.
- getSourcePositionFromStack(Context, int[]) - Method in class org.mozilla.javascript.Interpreter
- getSourcePositionFromStack(Context, int[]) - Method in class org.mozilla.javascript.optimizer.Codegen
- getStackStyle() - Static method in exception org.mozilla.javascript.RhinoException
-
Return the current stack style in use.
- getStackTop() - Method in class org.mozilla.classfile.ClassFileWriter
- getStatement() - Method in class org.mozilla.javascript.ast.LabeledStatement
-
Returns the labeled statement
- getStatement() - Method in class org.mozilla.javascript.ast.WithStatement
-
Returns the statement or block
- getStatements() - Method in class org.mozilla.javascript.ast.Scope
-
Returns a copy of the child list, with each child cast to an
AstNode
. - getStatements() - Method in class org.mozilla.javascript.ast.SwitchCase
-
Returns statement list, which may be
null
. - GETSTATIC - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- getStaticSecurityDomainClass() - Static method in class org.mozilla.javascript.SecurityController
- getStaticSecurityDomainClassInternal() - Method in class org.mozilla.javascript.PolicySecurityController
- getStaticSecurityDomainClassInternal() - Method in class org.mozilla.javascript.SecurityController
- getStopIterationObject(Scriptable) - Static method in class org.mozilla.javascript.NativeIterator
-
Get the value of the "StopIteration" object.
- getString() - Method in class org.mozilla.javascript.Node
-
Can only be called when node has String context.
- getSymbol(String) - Method in class org.mozilla.javascript.ast.Scope
-
Looks up a symbol in this scope.
- getSymbols() - Method in class org.mozilla.javascript.ast.ScriptNode
- getSymbolTable() - Method in class org.mozilla.javascript.ast.Scope
-
Returns the symbol table for this scope.
- getSystemProperty(String) - Static method in class org.mozilla.javascript.SecurityUtilities
-
Retrieves a system property within a privileged block.
- getTag() - Method in class org.mozilla.javascript.ES6Iterator
- getTag() - Method in class org.mozilla.javascript.IdFunctionObject
- getTag() - Method in class org.mozilla.javascript.NativeArrayIterator
- getTag() - Method in class org.mozilla.javascript.NativeStringIterator
- getTarget() - Method in class org.mozilla.javascript.ast.ContinueStatement
-
Returns continue target
- getTarget() - Method in class org.mozilla.javascript.ast.ElementGet
-
Returns the object on which the element is being fetched.
- getTarget() - Method in class org.mozilla.javascript.ast.FunctionCall
-
Returns node evaluating to the function to call
- getTarget() - Method in class org.mozilla.javascript.ast.PropertyGet
-
Returns the object on which the property is being fetched.
- getTarget() - Method in class org.mozilla.javascript.ast.VariableInitializer
-
Returns the variable name or destructuring form
- getTarget() - Method in class org.mozilla.javascript.ast.XmlMemberGet
-
Returns the object on which the XML member-ref expression is being evaluated.
- getTargetExtends() - Method in class org.mozilla.javascript.optimizer.ClassCompiler
-
Get the class that the generated target will extend.
- getTargetImplements() - Method in class org.mozilla.javascript.optimizer.ClassCompiler
-
Get the interfaces that the generated target will implement.
- GETTER - org.mozilla.javascript.ast.FunctionNode.Form
- getTestExpression() - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Returns test expression
- getThenPart() - Method in class org.mozilla.javascript.ast.IfStatement
-
Returns statement to execute if condition is true
- getThreadContextHelper() - Method in class org.mozilla.javascript.jdk13.VMBridge_jdk13
- getThreadContextHelper() - Method in class org.mozilla.javascript.VMBridge
-
Return a helper object to optimize
Context
access. - getThreadLocal(Object) - Method in class org.mozilla.javascript.Context
-
Get a value corresponding to a key.
- getTop() - Method in class org.mozilla.javascript.ast.Scope
-
Returns current script or function scope
- getTopCallScope(Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- getTopLevelProp(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptRuntime
- getTopLevelScope(Scriptable) - Static method in class org.mozilla.javascript.ScriptableObject
-
Get the global scope.
- getTopScopeValue(Scriptable, Object) - Static method in class org.mozilla.javascript.ScriptableObject
-
Get arbitrary application-specific value associated with the top scope of the given scope.
- getTrueExpression() - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Returns expression to evaluate if test is true
- getTryBlock() - Method in class org.mozilla.javascript.ast.TryStatement
- getType() - Method in class org.mozilla.javascript.ast.ParseProblem
- getType() - Method in class org.mozilla.javascript.Node
- getTypedProperty(Scriptable, int, Class<T>) - Static method in class org.mozilla.javascript.ScriptableObject
-
Gets an indexed property from an object or any object in its prototype chain and coerces it to the requested Java type.
- getTypedProperty(Scriptable, String, Class<T>) - Static method in class org.mozilla.javascript.ScriptableObject
-
Gets a named property from an object or any object in its prototype chain and coerces it to the requested Java type.
- getTypeOf() - Method in class org.mozilla.javascript.BaseFunction
-
Gets the value returned by calling the typeof operator on this object.
- getTypeOf() - Method in class org.mozilla.javascript.NativeSymbol
- getTypeOf() - Method in class org.mozilla.javascript.regexp.NativeRegExp
-
Gets the value to be returned by the typeof operator called on this object.
- getTypeOf() - Method in class org.mozilla.javascript.ScriptableObject
-
Gets the value that will be returned by calling the typeof operator on this object.
- getTypeOf() - Method in class org.mozilla.javascript.xml.XMLObject
-
Gets the value returned by calling the typeof operator on this object.
- getTypeTag(Class<?>) - Static method in class org.mozilla.javascript.FunctionObject
- getUndefinedValue() - Static method in class org.mozilla.javascript.Context
-
Get the singleton object that represents the JavaScript Undefined value.
- getUri() - Method in class org.mozilla.javascript.commonjs.module.ModuleScope
- getUri() - Method in class org.mozilla.javascript.commonjs.module.ModuleScript
-
Returns the URI of the module.
- getUri() - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSource
-
Returns the URI of the module source text.
- getValidator() - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSource
-
Returns the validator that can be used for subsequent cache validation of the source text.
- getValue() - Method in class org.mozilla.javascript.ast.Comment
-
Returns a string of the comment value.
- getValue() - Method in class org.mozilla.javascript.ast.NumberLiteral
-
Returns the node's string value (the original source token)
- getValue() - Method in class org.mozilla.javascript.ast.RegExpLiteral
-
Returns the regexp string without delimiters
- getValue() - Method in class org.mozilla.javascript.ast.StringLiteral
-
Returns the node's value: the parsed string without the enclosing quotes
- getValue() - Method in class org.mozilla.javascript.ast.Yield
-
Returns yielded expression,
null
if none - getValue() - Method in exception org.mozilla.javascript.JavaScriptException
- getValue() - Method in class org.mozilla.javascript.ObjToIntMap.Iterator
- getValue(boolean) - Method in class org.mozilla.javascript.ast.StringLiteral
-
Returns the string value, optionally including the enclosing quotes.
- getValueFunctionAndThis(Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Prepare for calling
(...): return function corresponding to and make parent scope of the function available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj. - GETVAR - Static variable in class org.mozilla.javascript.Token
-
Token types.
- getVarCount() - Method in class org.mozilla.javascript.optimizer.OptFunctionNode
- getVariables() - Method in class org.mozilla.javascript.ast.LetNode
-
Returns variable list
- getVariables() - Method in class org.mozilla.javascript.ast.VariableDeclaration
-
Returns variable list.
- getVarIndex(Node) - Method in class org.mozilla.javascript.optimizer.OptFunctionNode
- getVarName() - Method in class org.mozilla.javascript.ast.CatchClause
-
Returns catch variable node
- getWarnTrailingComma() - Method in class org.mozilla.javascript.CompilerEnvirons
- getWhilePosition() - Method in class org.mozilla.javascript.ast.DoLoop
-
Returns source position of "while" keyword
- getWrapFactory() - Method in class org.mozilla.javascript.Context
-
Return the current WrapFactory, or null if none is defined.
- getWrappedException() - Method in exception org.mozilla.javascript.WrappedException
-
Get the wrapped exception.
- getXml() - Method in class org.mozilla.javascript.ast.XmlString
-
Returns the xml string for this component.
- GOTO - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- GOTO - Static variable in class org.mozilla.javascript.Token
-
Token types.
- GOTO_W - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- GT - Static variable in class org.mozilla.javascript.Token
-
Token types.
H
- handleCompilationDone(Context, DebuggableScript, String) - Method in interface org.mozilla.javascript.debug.Debugger
-
Called when compilation of a particular function or script into internal bytecode is done.
- has(int) - Method in class org.mozilla.javascript.UintMap
- has(int, Scriptable) - Method in class org.mozilla.javascript.Delegator
- has(int, Scriptable) - Method in class org.mozilla.javascript.NativeArray
- has(int, Scriptable) - Method in class org.mozilla.javascript.NativeJavaArray
- has(int, Scriptable) - Method in class org.mozilla.javascript.NativeJavaObject
- has(int, Scriptable) - Method in class org.mozilla.javascript.NativeJavaPackage
- has(int, Scriptable) - Method in class org.mozilla.javascript.NativeWith
- has(int, Scriptable) - Method in interface org.mozilla.javascript.Scriptable
-
Indicates whether or not an indexed property is defined in an object.
- has(int, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
Returns true if the property index is defined.
- has(int, Scriptable) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- has(Object) - Method in class org.mozilla.javascript.ObjToIntMap
- has(String, Scriptable) - Method in class org.mozilla.javascript.Delegator
- has(String, Scriptable) - Method in class org.mozilla.javascript.IdScriptableObject
- has(String, Scriptable) - Method in class org.mozilla.javascript.ImporterTopLevel
- has(String, Scriptable) - Method in class org.mozilla.javascript.NativeJavaArray
- has(String, Scriptable) - Method in class org.mozilla.javascript.NativeJavaClass
- has(String, Scriptable) - Method in class org.mozilla.javascript.NativeJavaObject
- has(String, Scriptable) - Method in class org.mozilla.javascript.NativeJavaPackage
- has(String, Scriptable) - Method in class org.mozilla.javascript.NativeWith
- has(String, Scriptable) - Method in interface org.mozilla.javascript.Scriptable
-
Indicates whether or not a named property is defined in an object.
- has(String, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
Returns true if the named property is defined.
- has(Context) - Method in class org.mozilla.javascript.Ref
- has(Context, Object) - Method in class org.mozilla.javascript.xml.XMLObject
-
Implementation of ECMAScript [[Has]].
- has(Symbol, Scriptable) - Method in class org.mozilla.javascript.IdScriptableObject
- has(Symbol, Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
A version of "has" that supports symbols.
- has(Symbol, Scriptable) - Method in interface org.mozilla.javascript.SymbolScriptable
-
Return true if the specified property exists.
- HAS_INSTANCE - Static variable in class org.mozilla.javascript.SymbolKey
- hasChildren() - Method in class org.mozilla.javascript.Node
- hasConsistentReturnUsage() - Method in class org.mozilla.javascript.Node
-
Checks that every return usage in a function body is consistent with the requirements of strict-mode.
- hasExcludedName(String) - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
-
Returns true if the name is excluded from serialization.
- hasExplicitGlobal() - Static method in class org.mozilla.javascript.ContextFactory
-
Check if global factory was set.
- hasFeature(int) - Method in class org.mozilla.javascript.Context
-
Controls certain aspects of script semantics.
- hasFeature(Context, int) - Method in class org.mozilla.javascript.ContextFactory
-
Implementation of
Context.hasFeature(int featureIndex)
. - hasGlobal() - Static method in class org.mozilla.javascript.SecurityController
-
Check if global
SecurityController
was already installed. - hashCode() - Method in class org.mozilla.javascript.NativeJavaPackage
- hashCode() - Method in class org.mozilla.javascript.NativeSymbol
- hashCode() - Method in class org.mozilla.javascript.SymbolKey
- hashCode() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- hashCode() - Method in class org.mozilla.javascript.Undefined
- hasInstance(Scriptable) - Method in class org.mozilla.javascript.ArrowFunction
- hasInstance(Scriptable) - Method in class org.mozilla.javascript.BaseFunction
-
Implements the instanceof operator for JavaScript Function objects.
- hasInstance(Scriptable) - Method in class org.mozilla.javascript.BoundFunction
- hasInstance(Scriptable) - Method in class org.mozilla.javascript.Delegator
- hasInstance(Scriptable) - Method in class org.mozilla.javascript.NativeJavaArray
- hasInstance(Scriptable) - Method in class org.mozilla.javascript.NativeJavaClass
-
Determines if prototype is a wrapped Java object and performs a Java "instanceof".
- hasInstance(Scriptable) - Method in class org.mozilla.javascript.NativeJavaObject
- hasInstance(Scriptable) - Method in class org.mozilla.javascript.NativeWith
- hasInstance(Scriptable) - Method in interface org.mozilla.javascript.Scriptable
-
The instanceof operator.
- hasInstance(Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
Implements the instanceof operator.
- hasNext() - Method in class org.mozilla.javascript.Node.NodeIterator
- hasNext() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayIterator
- hasObjectElem(Scriptable, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- hasPrevious() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayIterator
- hasProperty(Scriptable, int) - Static method in class org.mozilla.javascript.ScriptableObject
-
Returns whether an indexed property is defined in an object or any object in its prototype chain.
- hasProperty(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptableObject
-
Returns whether a named property is defined in an object or any object in its prototype chain.
- hasProperty(Scriptable, Symbol) - Static method in class org.mozilla.javascript.ScriptableObject
-
A version of hasProperty for properties with Symbol keys.
- hasPrototypeMap() - Method in class org.mozilla.javascript.IdScriptableObject
- hasPrototypeProperty() - Method in class org.mozilla.javascript.BaseFunction
- hasSideEffects() - Method in class org.mozilla.javascript.ast.AstNode
- hasSideEffects() - Method in class org.mozilla.javascript.ast.ConditionalExpression
- hasSideEffects() - Method in class org.mozilla.javascript.ast.ExpressionStatement
-
Returns true if this node has side effects
- hasSideEffects() - Method in class org.mozilla.javascript.ast.InfixExpression
- hasSideEffects() - Method in class org.mozilla.javascript.ast.LabeledStatement
- hasSideEffects() - Method in class org.mozilla.javascript.Node
- hasTag(Object) - Method in class org.mozilla.javascript.IdFunctionObject
- hasTopCall(Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- HOOK - Static variable in class org.mozilla.javascript.Token
- HTML - org.mozilla.javascript.Token.CommentType
- hybridSort(Object[], Comparator<Object>) - Static method in class org.mozilla.javascript.Sorting
I
- I2B - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- I2C - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- I2D - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- I2F - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- I2L - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- I2S - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IADD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IALOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IAND - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IASTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ICONST_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ICONST_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ICONST_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ICONST_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ICONST_4 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ICONST_5 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ICONST_M1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ideEnvirons() - Static method in class org.mozilla.javascript.CompilerEnvirons
-
Returns a
CompilerEnvirons
suitable for using Rhino in an IDE environment. - IdeErrorReporter - Interface in org.mozilla.javascript.ast
-
This is interface defines a protocol for the reporting of errors during JavaScript translation in IDE-mode.
- IdFunctionCall - Interface in org.mozilla.javascript
-
Master for id-based functions that knows their properties and how to execute them.
- IdFunctionObject - Class in org.mozilla.javascript
- IdFunctionObject(IdFunctionCall, Object, int, int) - Constructor for class org.mozilla.javascript.IdFunctionObject
- IdFunctionObject(IdFunctionCall, Object, int, String, int, Scriptable) - Constructor for class org.mozilla.javascript.IdFunctionObject
- IdFunctionObjectES6 - Class in org.mozilla.javascript
- IdFunctionObjectES6(IdFunctionCall, Object, int, String, int, Scriptable) - Constructor for class org.mozilla.javascript.IdFunctionObjectES6
- IDIV - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IdScriptableObject - Class in org.mozilla.javascript
-
Base class for native object implementation that uses IdFunctionObject to export its methods to script via
.prototype object. - IdScriptableObject() - Constructor for class org.mozilla.javascript.IdScriptableObject
- IdScriptableObject(Scriptable, Scriptable) - Constructor for class org.mozilla.javascript.IdScriptableObject
- IF - Static variable in class org.mozilla.javascript.Token
- IF_ACMPEQ - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IF_ACMPNE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IF_ICMPEQ - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IF_ICMPGE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IF_ICMPGT - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IF_ICMPLE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IF_ICMPLT - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IF_ICMPNE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IFEQ - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IFEQ - Static variable in class org.mozilla.javascript.Token
-
Token types.
- IFGE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IFGT - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IFLE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IFLT - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IFNE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IFNE - Static variable in class org.mozilla.javascript.Token
-
Token types.
- IFNONNULL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IFNULL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IfStatement - Class in org.mozilla.javascript.ast
-
If-else statement.
- IfStatement() - Constructor for class org.mozilla.javascript.ast.IfStatement
- IfStatement(int) - Constructor for class org.mozilla.javascript.ast.IfStatement
- IfStatement(int, int) - Constructor for class org.mozilla.javascript.ast.IfStatement
- IINC - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ILOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ILOAD_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ILOAD_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ILOAD_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ILOAD_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IMPDEP1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IMPDEP2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IMPORT - Static variable in class org.mozilla.javascript.Token
- ImporterTopLevel - Class in org.mozilla.javascript
-
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.
- ImporterTopLevel() - Constructor for class org.mozilla.javascript.ImporterTopLevel
- ImporterTopLevel(Context) - Constructor for class org.mozilla.javascript.ImporterTopLevel
- ImporterTopLevel(Context, boolean) - Constructor for class org.mozilla.javascript.ImporterTopLevel
- importPackage(Context, Scriptable, Object[], Function) - Method in class org.mozilla.javascript.ImporterTopLevel
-
Deprecated.Kept only for compatibility.
- IMUL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- in(Object, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
The in operator.
- IN - Static variable in class org.mozilla.javascript.Token
-
Token types.
- INC - Static variable in class org.mozilla.javascript.Token
- incompatibleCallError(IdFunctionObject) - Static method in class org.mozilla.javascript.IdScriptableObject
-
Utility method to construct type error to indicate incompatible call when converting script thisObj to a particular type is not possible.
- INCRDECR_PROP - Static variable in class org.mozilla.javascript.Node
- INDENT_GAP_PROP - Static variable in class org.mozilla.javascript.Decompiler
-
Decompilation property to specify default identation offset.
- indexFromString(String) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Return -1L if str is not an index, or the index value as lower 32 bits of the result.
- indexOf(Object) - Method in class org.mozilla.javascript.NativeArray
- indexOf(Object) - Method in class org.mozilla.javascript.ObjArray
- indexOf(Object) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- INEG - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- InfixExpression - Class in org.mozilla.javascript.ast
-
AST node representing an infix (binary operator) expression.
- InfixExpression() - Constructor for class org.mozilla.javascript.ast.InfixExpression
- InfixExpression(int) - Constructor for class org.mozilla.javascript.ast.InfixExpression
- InfixExpression(int, int) - Constructor for class org.mozilla.javascript.ast.InfixExpression
- InfixExpression(int, int, AstNode, AstNode) - Constructor for class org.mozilla.javascript.ast.InfixExpression
- InfixExpression(int, AstNode, AstNode, int) - Constructor for class org.mozilla.javascript.ast.InfixExpression
-
Constructs a new
InfixExpression
. - InfixExpression(AstNode, AstNode) - Constructor for class org.mozilla.javascript.ast.InfixExpression
-
Constructs a new
InfixExpression
. - init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.ImporterTopLevel
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.JavaAdapter
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.NativeContinuation
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.NativeGlobal
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.NativeJavaTopPackage
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.NativeSymbol
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.regexp.NativeRegExp
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeDataView
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeFloat32Array
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeFloat64Array
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeInt16Array
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeInt32Array
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeInt8Array
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeUint16Array
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeUint32Array
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeUint8Array
- init(Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- initApplicationClassLoader(ClassLoader) - Method in class org.mozilla.javascript.ContextFactory
-
Set explicit class loader to use when searching for Java classes.
- initCause(RuntimeException, Throwable) - Static method in class org.mozilla.javascript.Kit
-
If initCause methods exists in Throwable, call ex.initCause(cause) or otherwise do nothing.
- initColumnNumber(int) - Method in exception org.mozilla.javascript.RhinoException
-
Initialize the column number of the script statement causing the error.
- initFromContext(Context) - Method in class org.mozilla.javascript.CompilerEnvirons
- initFunction(String, Scriptable) - Method in class org.mozilla.javascript.IdFunctionObject
- initFunction(Context, Scriptable, NativeFunction, int, boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
- initFunction(NativeFunction, int, Scriptable, Context) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- initGlobal(ContextFactory) - Static method in class org.mozilla.javascript.ContextFactory
-
Set global ContextFactory.
- initGlobal(SecurityController) - Static method in class org.mozilla.javascript.SecurityController
-
Initialize global controller that will be used for all security-related operations.
- INITIAL_INDENT_PROP - Static variable in class org.mozilla.javascript.Decompiler
-
Decompilation property to specify initial ident value.
- initImplementation(Object) - Method in class org.mozilla.javascript.NativeContinuation
- initLineNumber(int) - Method in exception org.mozilla.javascript.RhinoException
-
Initialize the line number of the script statement causing the error.
- initLineSource(String) - Method in exception org.mozilla.javascript.RhinoException
-
Initialize the text of the source line containing the error.
- initMembers() - Method in class org.mozilla.javascript.NativeJavaClass
- initMembers() - Method in class org.mozilla.javascript.NativeJavaObject
- initPrototypeConstructor(IdFunctionObject) - Method in class org.mozilla.javascript.IdScriptableObject
- initPrototypeId(int) - Method in class org.mozilla.javascript.BaseFunction
- initPrototypeId(int) - Method in class org.mozilla.javascript.ES6Iterator
- initPrototypeId(int) - Method in class org.mozilla.javascript.IdScriptableObject
- initPrototypeId(int) - Method in class org.mozilla.javascript.ImporterTopLevel
- initPrototypeId(int) - Method in class org.mozilla.javascript.NativeArray
- initPrototypeId(int) - Method in class org.mozilla.javascript.NativeCall
- initPrototypeId(int) - Method in class org.mozilla.javascript.NativeCallSite
- initPrototypeId(int) - Method in class org.mozilla.javascript.NativeContinuation
- initPrototypeId(int) - Method in class org.mozilla.javascript.NativeGenerator
- initPrototypeId(int) - Method in class org.mozilla.javascript.NativeIterator
- initPrototypeId(int) - Method in class org.mozilla.javascript.NativeJSON
- initPrototypeId(int) - Method in class org.mozilla.javascript.NativeObject
- initPrototypeId(int) - Method in class org.mozilla.javascript.NativeSymbol
- initPrototypeId(int) - Method in class org.mozilla.javascript.regexp.NativeRegExp
- initPrototypeId(int) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
- initPrototypeId(int) - Method in class org.mozilla.javascript.typedarrays.NativeDataView
- initPrototypeId(int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- initPrototypeMethod(Object, int, String, int) - Method in class org.mozilla.javascript.IdScriptableObject
- initPrototypeMethod(Object, int, String, String, int) - Method in class org.mozilla.javascript.IdScriptableObject
- initPrototypeMethod(Object, int, Symbol, String, int) - Method in class org.mozilla.javascript.IdScriptableObject
- initPrototypeValue(int, String, Object, int) - Method in class org.mozilla.javascript.IdScriptableObject
- initPrototypeValue(int, Symbol, Object, int) - Method in class org.mozilla.javascript.IdScriptableObject
- initSafeStandardObjects() - Method in class org.mozilla.javascript.Context
-
Initialize the standard objects, leaving out those that offer access directly to Java classes.
- initSafeStandardObjects(Context, ScriptableObject, boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
- initSafeStandardObjects(ScriptableObject) - Method in class org.mozilla.javascript.Context
-
Initialize the standard objects, leaving out those that offer access directly to Java classes.
- initSafeStandardObjects(ScriptableObject, boolean) - Method in class org.mozilla.javascript.Context
-
Initialize the standard objects, leaving out those that offer access directly to Java classes.
- initScript(NativeFunction, Scriptable, Context, Scriptable, boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
- initScriptFunction(Context, Scriptable) - Method in class org.mozilla.javascript.NativeFunction
- initSourceName(String) - Method in exception org.mozilla.javascript.RhinoException
-
Initialize the uri of the script source containing the error.
- initStandardObjects() - Method in class org.mozilla.javascript.Context
-
Initialize the standard objects.
- initStandardObjects(Context, boolean) - Method in class org.mozilla.javascript.ImporterTopLevel
- initStandardObjects(Context, ScriptableObject, boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
- initStandardObjects(ScriptableObject) - Method in class org.mozilla.javascript.Context
-
Initialize the standard objects.
- initStandardObjects(ScriptableObject, boolean) - Method in class org.mozilla.javascript.Context
-
Initialize the standard objects.
- inPosition - Variable in class org.mozilla.javascript.ast.ForInLoop
- input - Variable in class org.mozilla.javascript.regexp.RegExpImpl
- insertionSort(Object[], int, int, Comparator<Object>) - Static method in class org.mozilla.javascript.Sorting
- insertionSort(Object[], Comparator<Object>) - Static method in class org.mozilla.javascript.Sorting
- install(Scriptable) - Method in class org.mozilla.javascript.commonjs.module.Require
-
Binds this instance of require() into the specified scope under the property name "require".
- instance - Static variable in class org.mozilla.javascript.Undefined
- instanceIdInfo(int, int) - Static method in class org.mozilla.javascript.IdScriptableObject
- instanceOf(Object, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
The instanceof operator.
- INSTANCEOF - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- INSTANCEOF - Static variable in class org.mozilla.javascript.Token
-
Token types.
- IntegerClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- InterfaceAdapter - Class in org.mozilla.javascript
-
Adapter to use JS function as implementation of Java interfaces with single method or multiple methods with the same signature.
- intern(Object) - Method in class org.mozilla.javascript.ObjToIntMap
-
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.
- Interpreter - Class in org.mozilla.javascript
- Interpreter() - Constructor for class org.mozilla.javascript.Interpreter
- inUseStrictDirective - Variable in class org.mozilla.javascript.Parser
- inUseStrictDirective() - Method in class org.mozilla.javascript.Parser
- invoke(ContextFactory, Object, Scriptable, Object, Method, Object[]) - Method in class org.mozilla.javascript.InterfaceAdapter
- INVOKEINTERFACE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- INVOKESPECIAL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- INVOKESTATIC - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- INVOKEVIRTUAL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IOR - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IREM - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IRETURN - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IRFactory - Class in org.mozilla.javascript
-
This class rewrites the parse tree into an IR suitable for codegen.
- IRFactory() - Constructor for class org.mozilla.javascript.IRFactory
- IRFactory(CompilerEnvirons) - Constructor for class org.mozilla.javascript.IRFactory
- IRFactory(CompilerEnvirons, ErrorReporter) - Constructor for class org.mozilla.javascript.IRFactory
- IS_CONCAT_SPREADABLE - Static variable in class org.mozilla.javascript.SymbolKey
- IS_REGEXP - Static variable in class org.mozilla.javascript.SymbolKey
- isAccessorDescriptor(ScriptableObject) - Method in class org.mozilla.javascript.ScriptableObject
-
Implements IsAccessorDescriptor as described in ES5 8.10.1
- isActivationNeeded(String) - Method in class org.mozilla.javascript.Context
-
Check whether the name is in the list of names of objects forcing the creation of activation objects.
- isAdapter - Variable in class org.mozilla.javascript.NativeJavaObject
- isAllowMemberExprAsFunctionName() - Method in class org.mozilla.javascript.CompilerEnvirons
-
Extension to ECMA: if 'function <name>' is not followed by '(', assume <name> starts a
memberExpr
- isArg(Object[], int) - Static method in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
- isArrayObject(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- isAttributeAccess() - Method in class org.mozilla.javascript.ast.XmlRef
-
Returns
true
if this expression began with an@
-token. - isBooleanLiteral() - Method in class org.mozilla.javascript.ast.KeywordLiteral
-
Returns true if the token type is
Token.TRUE
orToken.FALSE
. - isCachingEnabled() - Method in class org.mozilla.javascript.ClassCache
-
Check if generated Java classes and Java reflection information is cached.
- isConst() - Method in class org.mozilla.javascript.ast.VariableDeclaration
-
Returns true if this is a
Token.CONST
declaration. - isConst(String) - Method in interface org.mozilla.javascript.ConstProperties
-
Returns true if the named property is defined as a const on this object.
- isConst(String) - Method in class org.mozilla.javascript.ScriptableObject
-
Returns true if the named property is defined as a const on this object.
- isContinuationConstructor(IdFunctionObject) - Static method in class org.mozilla.javascript.NativeContinuation
- isDataDescriptor(ScriptableObject) - Method in class org.mozilla.javascript.ScriptableObject
-
Implements IsDataDescriptor as described in ES5 8.10.2
- isDefault() - Method in class org.mozilla.javascript.ast.SwitchCase
-
Return true if this is a default case.
- isDestructuring() - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Returns true if this node is in a destructuring position: a function parameter, the target of a variable initializer, the iterator of a for..in loop, etc.
- isDestructuring() - Method in interface org.mozilla.javascript.ast.DestructuringForm
-
Returns true if this node is in a destructuring position: a function parameter, the target of a variable initializer, the iterator of a for..in loop, etc.
- isDestructuring() - Method in class org.mozilla.javascript.ast.ObjectLiteral
-
Returns true if this node is in a destructuring position: a function parameter, the target of a variable initializer, the iterator of a for..in loop, etc.
- isDestructuring() - Method in class org.mozilla.javascript.ast.VariableInitializer
-
Returns true if this is a destructuring assignment.
- isDone(Context, Scriptable) - Method in class org.mozilla.javascript.ES6Iterator
- isDone(Context, Scriptable) - Method in class org.mozilla.javascript.NativeArrayIterator
- isDone(Context, Scriptable) - Method in class org.mozilla.javascript.NativeStringIterator
- isEmpty() - Method in class org.mozilla.javascript.NativeArray
- isEmpty() - Method in class org.mozilla.javascript.ObjArray
- isEmpty() - Method in class org.mozilla.javascript.ObjToIntMap
- isEmpty() - Method in class org.mozilla.javascript.ScriptableObject
- isEmpty() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- isEmpty() - Method in class org.mozilla.javascript.UintMap
- isExpressionClosure() - Method in class org.mozilla.javascript.ast.FunctionNode
-
Returns whether this is a 1.8 function closure
- isExtensible() - Method in class org.mozilla.javascript.ScriptableObject
- isFalse(Object) - Static method in class org.mozilla.javascript.ScriptableObject
- isForEach - Variable in class org.mozilla.javascript.ast.ForInLoop
- isForEach() - Method in class org.mozilla.javascript.ast.ForInLoop
-
Returns whether the loop is a for-each loop
- isForEach() - Method in class org.mozilla.javascript.ast.GeneratorExpressionLoop
-
Returns whether the loop is a for-each loop
- isForOf - Variable in class org.mozilla.javascript.ast.ForInLoop
- isForOf() - Method in class org.mozilla.javascript.ast.ForInLoop
-
Returns whether the loop is a for-of loop
- isFunction() - Method in interface org.mozilla.javascript.debug.DebuggableScript
-
Returns true if this is a function, false if it is a script.
- isGenerateDebugInfo() - Method in class org.mozilla.javascript.CompilerEnvirons
- isGeneratedScript() - Method in interface org.mozilla.javascript.debug.DebuggableScript
-
Returns true if this script or function were runtime-generated from JavaScript using eval function or Function or Script constructors.
- isGenerateObserverCount() - Method in class org.mozilla.javascript.CompilerEnvirons
- isGeneratingDebug() - Method in class org.mozilla.javascript.Context
-
Tell whether debug information is being generated.
- isGeneratingDebugChanged() - Method in class org.mozilla.javascript.Context
- isGeneratingSource() - Method in class org.mozilla.javascript.CompilerEnvirons
- isGeneratingSource() - Method in class org.mozilla.javascript.Context
-
Tell whether source information is being generated.
- isGenerator() - Method in class org.mozilla.javascript.ast.FunctionNode
- isGenericDescriptor(ScriptableObject) - Method in class org.mozilla.javascript.ScriptableObject
-
Implements IsGenericDescriptor as described in ES5 8.10.3
- isGetter() - Method in class org.mozilla.javascript.ast.FunctionNode
- isGetter() - Method in class org.mozilla.javascript.ast.ObjectProperty
- isGetterMethod() - Method in class org.mozilla.javascript.ast.FunctionNode
- isGetterMethod() - Method in class org.mozilla.javascript.ast.ObjectProperty
-
Returns true if this is a getter function.
- isGetterOrSetter() - Method in class org.mozilla.javascript.ast.FunctionNode
- isGetterOrSetter(String, int, boolean) - Method in class org.mozilla.javascript.ScriptableObject
-
Returns whether a property is a getter or a setter
- ISHL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ISHR - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- isIdeMode() - Method in class org.mozilla.javascript.CompilerEnvirons
- isIgnoreComments() - Method in class org.mozilla.javascript.xml.XMLLib
- isIgnoreProcessingInstructions() - Method in class org.mozilla.javascript.xml.XMLLib
- isIgnoreWhitespace() - Method in class org.mozilla.javascript.xml.XMLLib
- isInStrictMode() - Method in class org.mozilla.javascript.ast.ScriptNode
- isInvokerOptimizationEnabled() - Method in class org.mozilla.javascript.ClassCache
-
Deprecated.The method always returns false.
- isJavaPrimitiveWrap() - Method in class org.mozilla.javascript.WrapFactory
-
Return
false
if result of Java method, which is instance ofString
,Number
,Boolean
andCharacter
, should be used directly as JavaScript primitive type. - isJSLineTerminator(int) - Static method in class org.mozilla.javascript.ScriptRuntime
- isJSWhitespaceOrLineTerminator(int) - Static method in class org.mozilla.javascript.ScriptRuntime
- isLet() - Method in class org.mozilla.javascript.ast.VariableDeclaration
-
Returns true if this is a
Token.LET
declaration. - isLocalName() - Method in class org.mozilla.javascript.ast.Name
-
Return true if this node is known to be defined as a symbol in a lexical scope other than the top-level (global) scope.
- isMethod() - Method in class org.mozilla.javascript.ast.FunctionNode
- isMethod() - Method in class org.mozilla.javascript.ast.ObjectProperty
- isNaN(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- isNormalMethod() - Method in class org.mozilla.javascript.ast.FunctionNode
- isNormalMethod() - Method in class org.mozilla.javascript.ast.ObjectProperty
- ISNUMBER_PROP - Static variable in class org.mozilla.javascript.Node
- isNumberVar(int) - Method in class org.mozilla.javascript.optimizer.OptFunctionNode
- isParam(AstNode) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Returns true if the specified
AstNode
node is a parameter of this Function node. - isParameter(int) - Method in class org.mozilla.javascript.optimizer.OptFunctionNode
- isPostfix() - Method in class org.mozilla.javascript.ast.UnaryExpression
-
Returns whether the operator is postfix
- isPrefix() - Method in class org.mozilla.javascript.ast.UnaryExpression
-
Returns whether the operator is prefix
- isPrettyPrinting() - Method in class org.mozilla.javascript.xml.XMLLib
- isPrimitive(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- isRecordingComments() - Method in class org.mozilla.javascript.CompilerEnvirons
- isRecordingLocalJsDocComments() - Method in class org.mozilla.javascript.CompilerEnvirons
- isRegExp(Scriptable) - Method in class org.mozilla.javascript.regexp.RegExpImpl
- isRegExp(Scriptable) - Method in interface org.mozilla.javascript.RegExpProxy
- isReservedKeywordAsIdentifier() - Method in class org.mozilla.javascript.CompilerEnvirons
- isRhinoRuntimeType(Class<?>) - Static method in class org.mozilla.javascript.ScriptRuntime
- isSandboxed() - Method in class org.mozilla.javascript.commonjs.module.ModuleScript
-
Returns true if this script has a base URI and has a source URI that is contained within that base URI.
- isSealed() - Method in class org.mozilla.javascript.Context
-
Checks if this is a sealed Context.
- isSealed() - Method in class org.mozilla.javascript.ContextFactory
-
Checks if this is a sealed ContextFactory.
- isSealed() - Method in class org.mozilla.javascript.ObjArray
- isSealed() - Method in class org.mozilla.javascript.ScriptableObject
-
Return true if this object is sealed.
- isSetter() - Method in class org.mozilla.javascript.ast.FunctionNode
- isSetter() - Method in class org.mozilla.javascript.ast.ObjectProperty
- isSetterMethod() - Method in class org.mozilla.javascript.ast.FunctionNode
- isSetterMethod() - Method in class org.mozilla.javascript.ast.ObjectProperty
-
Returns true if this is a setter function.
- isStatement() - Method in class org.mozilla.javascript.ast.VariableDeclaration
-
Returns true if this node represents a statement.
- isStrictMode() - Method in class org.mozilla.javascript.CompilerEnvirons
- isStrictMode() - Method in class org.mozilla.javascript.Context
- isSymbol() - Method in class org.mozilla.javascript.NativeSymbol
-
Object() on a Symbol constructs an object which is NOT a symbol, but which has an "internal data slot" that is.
- isTargetOfDirectCall() - Method in class org.mozilla.javascript.optimizer.OptFunctionNode
- isTopLevel() - Method in interface org.mozilla.javascript.debug.DebuggableScript
- ISTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ISTORE_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ISTORE_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ISTORE_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- ISTORE_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- isTrue(Object) - Static method in class org.mozilla.javascript.ScriptableObject
- ISUB - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- isUndefined(Object) - Static method in class org.mozilla.javascript.Undefined
- isUnderStringSizeLimit(String) - Method in class org.mozilla.classfile.ClassFileWriter
-
Check if k fits limit on string constant size imposed by class file format.
- isValidLanguageVersion(int) - Static method in class org.mozilla.javascript.Context
- isValidOptimizationLevel(int) - Static method in class org.mozilla.javascript.Context
- isValidToken(int) - Static method in class org.mozilla.javascript.Token
-
Return true if the passed code is a valid Token constant.
- isVar() - Method in class org.mozilla.javascript.ast.VariableDeclaration
-
Returns true if this is a
var
(notconst
orlet
) declaration. - isVarArgs(Member) - Method in class org.mozilla.javascript.jdk13.VMBridge_jdk13
- isVarArgs(Member) - Method in class org.mozilla.javascript.jdk15.VMBridge_jdk15
- isVarArgs(Member) - Method in class org.mozilla.javascript.VMBridge
-
Returns whether or not a given member (method or constructor) has variable arguments.
- isXmlAttribute() - Method in class org.mozilla.javascript.ast.XmlExpression
-
Returns whether this is part of an xml attribute value
- isXmlAvailable() - Method in class org.mozilla.javascript.CompilerEnvirons
- isXMLName(Context, Object) - Method in class org.mozilla.javascript.xml.XMLLib
- iteratedObject - Variable in class org.mozilla.javascript.ast.ForInLoop
- iterator - Variable in class org.mozilla.javascript.ast.ForInLoop
- iterator() - Method in class org.mozilla.javascript.NativeArray
- iterator() - Method in class org.mozilla.javascript.Node
-
Returns an
Iterator
over the node's children. - iterator() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- ITERATOR - Static variable in class org.mozilla.javascript.SymbolKey
- ITERATOR_PROPERTY_NAME - Static variable in class org.mozilla.javascript.NativeIterator
- IUSHR - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- IXOR - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
J
- JAVA_BOOLEAN_TYPE - Static variable in class org.mozilla.javascript.FunctionObject
- JAVA_DOUBLE_TYPE - Static variable in class org.mozilla.javascript.FunctionObject
- JAVA_INT_TYPE - Static variable in class org.mozilla.javascript.FunctionObject
- JAVA_OBJECT_TYPE - Static variable in class org.mozilla.javascript.FunctionObject
- JAVA_SCRIPTABLE_TYPE - Static variable in class org.mozilla.javascript.FunctionObject
- JAVA_STRING_TYPE - Static variable in class org.mozilla.javascript.FunctionObject
- JAVA_UNSUPPORTED_TYPE - Static variable in class org.mozilla.javascript.FunctionObject
- JavaAdapter - Class in org.mozilla.javascript
- JavaAdapter() - Constructor for class org.mozilla.javascript.JavaAdapter
- javaObject - Variable in class org.mozilla.javascript.NativeJavaObject
- JavaScriptException - Exception in org.mozilla.javascript
-
Java reflection of JavaScript exceptions.
- JavaScriptException(Object) - Constructor for exception org.mozilla.javascript.JavaScriptException
-
Deprecated.Use
WrappedException(Throwable)
to report exceptions in Java code. - JavaScriptException(Object, String, int) - Constructor for exception org.mozilla.javascript.JavaScriptException
-
Create a JavaScript exception wrapping the given JavaScript value
- javaToJS(Object, Scriptable) - Static method in class org.mozilla.javascript.Context
-
Convenient method to convert java value to its closest representation in JavaScript.
- joinScopes(Scope, Scope) - Static method in class org.mozilla.javascript.ast.Scope
-
Copies all symbols from source scope to dest scope.
- js_get(int) - Method in class org.mozilla.javascript.typedarrays.NativeFloat32Array
- js_get(int) - Method in class org.mozilla.javascript.typedarrays.NativeFloat64Array
- js_get(int) - Method in class org.mozilla.javascript.typedarrays.NativeInt16Array
- js_get(int) - Method in class org.mozilla.javascript.typedarrays.NativeInt32Array
- js_get(int) - Method in class org.mozilla.javascript.typedarrays.NativeInt8Array
- js_get(int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- js_get(int) - Method in class org.mozilla.javascript.typedarrays.NativeUint16Array
- js_get(int) - Method in class org.mozilla.javascript.typedarrays.NativeUint32Array
- js_get(int) - Method in class org.mozilla.javascript.typedarrays.NativeUint8Array
- js_get(int) - Method in class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- js_set(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeFloat32Array
- js_set(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeFloat64Array
- js_set(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeInt16Array
- js_set(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeInt32Array
- js_set(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeInt8Array
- js_set(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- js_set(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeUint16Array
- js_set(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeUint32Array
- js_set(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeUint8Array
- js_set(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- js_split(Context, Scriptable, String, Object[]) - Method in class org.mozilla.javascript.regexp.RegExpImpl
- js_split(Context, Scriptable, String, Object[]) - Method in interface org.mozilla.javascript.RegExpProxy
- JSConstructor - Annotation Type in org.mozilla.javascript.annotations
-
An annotation that marks a Java method as JavaScript constructor.
- jsDelegatesTo(Scriptable, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Delegates to
- JSDOC - org.mozilla.javascript.Token.CommentType
- JSDOC_PROP - Static variable in class org.mozilla.javascript.Node
- JSFunction - Annotation Type in org.mozilla.javascript.annotations
-
An annotation that marks a Java method as JavaScript function.
- jsGet_length() - Method in class org.mozilla.javascript.NativeArray
-
Deprecated.Use
NativeArray.getLength()
instead. - jsGet_name() - Method in class org.mozilla.javascript.NativeFunction
-
Deprecated.Use
BaseFunction.getFunctionName()
instead. For backwards compatibility keep an old method name used by Batik and possibly others. - JSGetter - Annotation Type in org.mozilla.javascript.annotations
-
An annotation that marks a Java method as JavaScript getter.
- JsonParser - Class in org.mozilla.javascript.json
-
This class converts a stream of JSON tokens into a JSON value.
- JsonParser(Context, Scriptable) - Constructor for class org.mozilla.javascript.json.JsonParser
- JsonParser.ParseException - Exception in org.mozilla.javascript.json
- JSR - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- JSR - Static variable in class org.mozilla.javascript.Token
- JSR_W - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- JSREG_FOLD - Static variable in class org.mozilla.javascript.regexp.NativeRegExp
- JSREG_GLOB - Static variable in class org.mozilla.javascript.regexp.NativeRegExp
- JSREG_MULTILINE - Static variable in class org.mozilla.javascript.regexp.NativeRegExp
- JSSetter - Annotation Type in org.mozilla.javascript.annotations
-
An annotation that marks a Java method as JavaScript setter.
- JSStaticFunction - Annotation Type in org.mozilla.javascript.annotations
-
An annotation that marks a Java method as JavaScript static function.
- jsToJava(Object, Class<?>) - Static method in class org.mozilla.javascript.Context
-
Convert a JavaScript value into the desired type.
- Jump - Class in org.mozilla.javascript.ast
-
Used for code generation.
- Jump() - Constructor for class org.mozilla.javascript.ast.Jump
- Jump(int) - Constructor for class org.mozilla.javascript.ast.Jump
- Jump(int, int) - Constructor for class org.mozilla.javascript.ast.Jump
- Jump(int, Node) - Constructor for class org.mozilla.javascript.ast.Jump
- Jump(int, Node, int) - Constructor for class org.mozilla.javascript.ast.Jump
K
- KeyComparator() - Constructor for class org.mozilla.javascript.ScriptableObject.KeyComparator
- keySet() - Method in class org.mozilla.javascript.NativeObject
- KeywordLiteral - Class in org.mozilla.javascript.ast
-
AST node for keyword literals: currently,
this
,null
,true
,false
, anddebugger
. - KeywordLiteral() - Constructor for class org.mozilla.javascript.ast.KeywordLiteral
- KeywordLiteral(int) - Constructor for class org.mozilla.javascript.ast.KeywordLiteral
- KeywordLiteral(int, int) - Constructor for class org.mozilla.javascript.ast.KeywordLiteral
- KeywordLiteral(int, int, int) - Constructor for class org.mozilla.javascript.ast.KeywordLiteral
-
Constructs a new KeywordLiteral
- keywordToName(int) - Static method in class org.mozilla.javascript.Token
-
Convert a keyword token to a name string for use with the
Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER
feature. - Kit - Class in org.mozilla.javascript
-
Collection of utilities
- Kit() - Constructor for class org.mozilla.javascript.Kit
L
- L2D - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- L2F - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- L2I - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- Label - Class in org.mozilla.javascript.ast
-
AST node representing a label.
- Label() - Constructor for class org.mozilla.javascript.ast.Label
- Label(int) - Constructor for class org.mozilla.javascript.ast.Label
- Label(int, int) - Constructor for class org.mozilla.javascript.ast.Label
- Label(int, int, String) - Constructor for class org.mozilla.javascript.ast.Label
- LABEL - Static variable in class org.mozilla.javascript.Token
- LABEL_ID_PROP - Static variable in class org.mozilla.javascript.Node
- LabeledStatement - Class in org.mozilla.javascript.ast
-
A labeled statement.
- LabeledStatement() - Constructor for class org.mozilla.javascript.ast.LabeledStatement
- LabeledStatement(int) - Constructor for class org.mozilla.javascript.ast.LabeledStatement
- LabeledStatement(int, int) - Constructor for class org.mozilla.javascript.ast.LabeledStatement
- labelId() - Method in class org.mozilla.javascript.Node
- labelId(int) - Method in class org.mozilla.javascript.Node
- LADD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LALOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LAND - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- languageVersionProperty - Static variable in class org.mozilla.javascript.Context
- last - Variable in class org.mozilla.javascript.Node
- LAST_ASSIGN - Static variable in class org.mozilla.javascript.Token
- LAST_BYTECODE_TOKEN - Static variable in class org.mozilla.javascript.Token
- LAST_PROP - Static variable in class org.mozilla.javascript.Node
- LAST_TOKEN - Static variable in class org.mozilla.javascript.Token
- lastIndexOf(Object) - Method in class org.mozilla.javascript.NativeArray
- lastIndexOf(Object) - Method in class org.mozilla.javascript.ObjArray
- lastIndexOf(Object) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- lastMatch - Variable in class org.mozilla.javascript.regexp.RegExpImpl
- LASTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- lastParen - Variable in class org.mozilla.javascript.regexp.RegExpImpl
- lastStoredScriptable(Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- lastUint32Result(Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- LazilyLoadedCtor - Class in org.mozilla.javascript
-
Avoid loading classes unless they are used.
- LazilyLoadedCtor(ScriptableObject, String, String, boolean) - Constructor for class org.mozilla.javascript.LazilyLoadedCtor
- LB - Static variable in class org.mozilla.javascript.Token
- LC - Static variable in class org.mozilla.javascript.Token
- LCMP - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LCONST_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LCONST_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LDC - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LDC_W - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LDC2_W - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LDIV - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LE - Static variable in class org.mozilla.javascript.Token
-
Token types.
- leaveDotQuery(Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- leaveWith(Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- LEAVEWITH - Static variable in class org.mozilla.javascript.Token
-
Token types.
- left - Variable in class org.mozilla.javascript.ast.InfixExpression
- LEFT - Static variable in class org.mozilla.javascript.Node
- leftContext - Variable in class org.mozilla.javascript.regexp.RegExpImpl
- length - Variable in class org.mozilla.javascript.ast.AstNode
- length - Variable in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
-
The length, in elements, of the array
- length() - Method in class org.mozilla.javascript.ast.Name
-
Return the length of this node's identifier, to let you pretend it's a
String
. - length() - Method in class org.mozilla.javascript.ConsString
- LET - Static variable in class org.mozilla.javascript.Token
- LETEXPR - Static variable in class org.mozilla.javascript.Token
- LetNode - Class in org.mozilla.javascript.ast
-
AST node for let statements and expressions.
- LetNode() - Constructor for class org.mozilla.javascript.ast.LetNode
- LetNode(int) - Constructor for class org.mozilla.javascript.ast.LetNode
- LetNode(int, int) - Constructor for class org.mozilla.javascript.ast.LetNode
- LINE - org.mozilla.javascript.Token.CommentType
- lineno - Variable in class org.mozilla.javascript.Node
- lineNumber - Variable in class org.mozilla.javascript.ScriptStackElement
- lineNumber() - Method in exception org.mozilla.javascript.RhinoException
-
Returns the line number of the statement causing the error, or zero if not available.
- lineSource() - Method in exception org.mozilla.javascript.RhinoException
-
The source text of the line causing the error, or null if unknown.
- linkClass(Class<?>) - Method in class org.mozilla.javascript.DefiningClassLoader
- linkClass(Class<?>) - Method in interface org.mozilla.javascript.GeneratedClassLoader
-
Link the given class.
- listIterator() - Method in class org.mozilla.javascript.NativeArray
- listIterator() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- listIterator(int) - Method in class org.mozilla.javascript.NativeArray
- listIterator(int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- LLOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LLOAD_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LLOAD_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LLOAD_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LLOAD_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LMUL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LNEG - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- loadClass(String, boolean) - Method in class org.mozilla.javascript.DefiningClassLoader
- loadFromActualUri(URI, URI, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.UrlModuleSourceProvider
- loadFromFallbackLocations(String, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSourceProviderBase
-
Override to obtain a module source from fallback locations.
- loadFromFallbackLocations(String, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.UrlModuleSourceProvider
- loadFromPrivilegedLocations(String, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSourceProviderBase
-
Override to obtain a module source from privileged locations.
- loadFromPrivilegedLocations(String, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.UrlModuleSourceProvider
- loadFromUri(URI, URI, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSourceProviderBase
-
Override in a subclass to load a module script from a logical URI.
- loadFromUri(URI, URI, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.UrlModuleSourceProvider
- loadSource(String, Scriptable, Object) - Method in interface org.mozilla.javascript.commonjs.module.provider.ModuleSourceProvider
-
Returns the script source of the requested module.
- loadSource(String, Scriptable, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSourceProviderBase
- loadSource(URI, URI, Object) - Method in interface org.mozilla.javascript.commonjs.module.provider.ModuleSourceProvider
-
Returns the script source of the requested module from the given URI.
- loadSource(URI, URI, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.ModuleSourceProviderBase
- LOCAL_BLOCK - Static variable in class org.mozilla.javascript.Token
- LOCAL_BLOCK_PROP - Static variable in class org.mozilla.javascript.Node
- LOCAL_LOAD - Static variable in class org.mozilla.javascript.Token
-
Token types.
- LOCAL_PROP - Static variable in class org.mozilla.javascript.Node
- LongClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- LOOKUPSWITCH - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- Loop - Class in org.mozilla.javascript.ast
-
Abstract base type for loops.
- Loop() - Constructor for class org.mozilla.javascript.ast.Loop
- Loop(int) - Constructor for class org.mozilla.javascript.ast.Loop
- Loop(int, int) - Constructor for class org.mozilla.javascript.ast.Loop
- LOOP - Static variable in class org.mozilla.javascript.Token
- LOR - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- lp - Variable in class org.mozilla.javascript.ast.FunctionCall
- lp - Variable in class org.mozilla.javascript.ast.Loop
- LP - Static variable in class org.mozilla.javascript.Token
- LREM - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LRETURN - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LSH - Static variable in class org.mozilla.javascript.Token
-
Token types.
- LSHL - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LSHR - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LSTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LSTORE_0 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LSTORE_1 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LSTORE_2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LSTORE_3 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LSUB - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LT - Static variable in class org.mozilla.javascript.Token
-
Token types.
- LUSHR - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- LXOR - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
M
- main(Script, String[]) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- makeAuxiliaryClassName(String, String) - Method in class org.mozilla.javascript.optimizer.ClassCompiler
-
Build class name for a auxiliary class generated by compiler.
- makeContext() - Method in class org.mozilla.javascript.ContextFactory
-
Create new
Context
instance to be associated with the current thread. - makeHashKeyFromPair(Object, Object) - Static method in class org.mozilla.javascript.Kit
- makeIndent(int) - Method in class org.mozilla.javascript.ast.AstNode
-
Constructs an indentation string.
- markAsConstructor(Scriptable) - Method in class org.mozilla.javascript.IdFunctionObject
- markHandler(int) - Method in class org.mozilla.classfile.ClassFileWriter
- markLabel(int) - Method in class org.mozilla.classfile.ClassFileWriter
- markLabel(int, short) - Method in class org.mozilla.classfile.ClassFileWriter
- markTableSwitchCase(int, int) - Method in class org.mozilla.classfile.ClassFileWriter
- markTableSwitchCase(int, int, int) - Method in class org.mozilla.classfile.ClassFileWriter
- markTableSwitchDefault(int) - Method in class org.mozilla.classfile.ClassFileWriter
- MATCH - Static variable in class org.mozilla.javascript.regexp.NativeRegExp
- MATCH - Static variable in class org.mozilla.javascript.SymbolKey
- MAX_PROTOTYPE_ID - Static variable in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- MEMBER_TYPE_PROP - Static variable in class org.mozilla.javascript.Node
- memberRef(Object, Object, Object, Context, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- memberRef(Object, Object, Context, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- memberRef(Context, Object, int) - Method in class org.mozilla.javascript.xml.XMLObject
-
Generic reference to implement x.@y, x..y etc.
- memberRef(Context, Object, Object, int) - Method in class org.mozilla.javascript.xml.XMLObject
-
Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc.
- members - Variable in class org.mozilla.javascript.NativeJavaObject
- messageProvider - Static variable in class org.mozilla.javascript.ScriptRuntime
- METHOD - org.mozilla.javascript.ast.FunctionNode.Form
- METHOD - Static variable in class org.mozilla.javascript.Token
- methodId() - Method in class org.mozilla.javascript.IdFunctionObject
- minusOneObj - Static variable in class org.mozilla.javascript.optimizer.OptRuntime
- MOD - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ModuleScope - Class in org.mozilla.javascript.commonjs.module
-
A top-level module scope.
- ModuleScope(Scriptable, URI, URI) - Constructor for class org.mozilla.javascript.commonjs.module.ModuleScope
- ModuleScript - Class in org.mozilla.javascript.commonjs.module
-
Represents a compiled CommonJS module script.
- ModuleScript(Script, URI, URI) - Constructor for class org.mozilla.javascript.commonjs.module.ModuleScript
-
Creates a new CommonJS module.
- ModuleScriptProvider - Interface in org.mozilla.javascript.commonjs.module
-
Should be implemented by Rhino embeddings to allow the require() function to obtain
ModuleScript
objects. - ModuleSource - Class in org.mozilla.javascript.commonjs.module.provider
-
Represents the source text of the module as a tuple of a reader, a URI, a security domain, and a cache validator.
- ModuleSource(Reader, Object, URI, URI, Object) - Constructor for class org.mozilla.javascript.commonjs.module.provider.ModuleSource
-
Creates a new module source.
- ModuleSourceProvider - Interface in org.mozilla.javascript.commonjs.module.provider
-
Implemented by objects that can provide the source text for the script.
- ModuleSourceProviderBase - Class in org.mozilla.javascript.commonjs.module.provider
-
A base implementation for all module script providers that actually load module scripts.
- ModuleSourceProviderBase() - Constructor for class org.mozilla.javascript.commonjs.module.provider.ModuleSourceProviderBase
- MONITORENTER - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- MONITOREXIT - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- MOZILLA - org.mozilla.javascript.StackStyle
-
This stack trace style comes from the old Mozilla code:
functionName()@fileName:lineNumber
- MUL - Static variable in class org.mozilla.javascript.Token
-
Token types.
- MULTIANEWARRAY - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- multiline - Variable in class org.mozilla.javascript.regexp.RegExpImpl
- MultiModuleScriptProvider - Class in org.mozilla.javascript.commonjs.module.provider
-
A multiplexer for module script providers.
- MultiModuleScriptProvider(Iterable<? extends ModuleScriptProvider>) - Constructor for class org.mozilla.javascript.commonjs.module.provider.MultiModuleScriptProvider
-
Creates a new multiplexing module script provider tht gathers the specified providers
N
- name(int) - Static method in class org.mozilla.javascript.Token
-
Returns a name for the token.
- name(Context, Scriptable, String) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Looks up a name in the scope chain and returns its value.
- Name - Class in org.mozilla.javascript.ast
-
AST node for a simple name.
- Name() - Constructor for class org.mozilla.javascript.ast.Name
- Name(int) - Constructor for class org.mozilla.javascript.ast.Name
- Name(int, int) - Constructor for class org.mozilla.javascript.ast.Name
- Name(int, int, String) - Constructor for class org.mozilla.javascript.ast.Name
-
Constructs a new
Name
- Name(int, String) - Constructor for class org.mozilla.javascript.ast.Name
- NAME - Static variable in class org.mozilla.javascript.Token
-
Token types.
- NAME_PROP - Static variable in class org.mozilla.javascript.Node
- nameIncrDecr(Scriptable, String, int) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- nameIncrDecr(Scriptable, String, Context, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- nameRef(Object, Object, Context, Scriptable, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- nameRef(Object, Context, Scriptable, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- nameRef(Context, Object, Object, Scriptable, int) - Method in class org.mozilla.javascript.xml.XMLLib
- nameRef(Context, Object, Scriptable, int) - Method in class org.mozilla.javascript.xml.XMLLib
- namespace - Variable in class org.mozilla.javascript.ast.XmlRef
- NaN - Static variable in class org.mozilla.javascript.ScriptRuntime
- NaNobj - Static variable in class org.mozilla.javascript.ScriptRuntime
- NativeArray - Class in org.mozilla.javascript
-
This class implements the Array native object.
- NativeArray(long) - Constructor for class org.mozilla.javascript.NativeArray
- NativeArray(Object[]) - Constructor for class org.mozilla.javascript.NativeArray
- NativeArray.ElementComparator - Class in org.mozilla.javascript
- NativeArray.StringLikeComparator - Class in org.mozilla.javascript
- NativeArrayBuffer - Class in org.mozilla.javascript.typedarrays
-
A NativeArrayBuffer is the backing buffer for a typed array.
- NativeArrayBuffer() - Constructor for class org.mozilla.javascript.typedarrays.NativeArrayBuffer
-
Create an empty buffer.
- NativeArrayBuffer(int) - Constructor for class org.mozilla.javascript.typedarrays.NativeArrayBuffer
-
Create a buffer of the specified length in bytes.
- NativeArrayBufferView - Class in org.mozilla.javascript.typedarrays
-
This class is the abstract parent for all views of the array.
- NativeArrayBufferView() - Constructor for class org.mozilla.javascript.typedarrays.NativeArrayBufferView
- NativeArrayBufferView(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeArrayBufferView
- NativeArrayIterator - Class in org.mozilla.javascript
- NativeArrayIterator(Scriptable, Scriptable) - Constructor for class org.mozilla.javascript.NativeArrayIterator
- NativeCall - Class in org.mozilla.javascript
-
This class implements the activation object.
- NativeCallSite - Class in org.mozilla.javascript
-
This class is used by the V8 extension "Error.prepareStackTrace." It is passed to that function, which may then use it to format the stack as it sees fit.
- NativeContinuation - Class in org.mozilla.javascript
- NativeContinuation() - Constructor for class org.mozilla.javascript.NativeContinuation
- NativeDataView - Class in org.mozilla.javascript.typedarrays
-
This class represents the JavaScript "DataView" interface, which allows direct manipulations of the bytes in a NativeArrayBuffer.
- NativeDataView() - Constructor for class org.mozilla.javascript.typedarrays.NativeDataView
- NativeDataView(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeDataView
- NativeFloat32Array - Class in org.mozilla.javascript.typedarrays
-
An array view that stores 32-bit quantities and implements the JavaScript "loat32Array" interface.
- NativeFloat32Array() - Constructor for class org.mozilla.javascript.typedarrays.NativeFloat32Array
- NativeFloat32Array(int) - Constructor for class org.mozilla.javascript.typedarrays.NativeFloat32Array
- NativeFloat32Array(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeFloat32Array
- NativeFloat64Array - Class in org.mozilla.javascript.typedarrays
-
An array view that stores 64-bit quantities and implements the JavaScript "Float64Array" interface.
- NativeFloat64Array() - Constructor for class org.mozilla.javascript.typedarrays.NativeFloat64Array
- NativeFloat64Array(int) - Constructor for class org.mozilla.javascript.typedarrays.NativeFloat64Array
- NativeFloat64Array(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeFloat64Array
- NativeFunction - Class in org.mozilla.javascript
-
This class implements the Function native object.
- NativeFunction() - Constructor for class org.mozilla.javascript.NativeFunction
- NativeGenerator - Class in org.mozilla.javascript
-
This class implements generator objects.
- NativeGenerator(Scriptable, NativeFunction, Object) - Constructor for class org.mozilla.javascript.NativeGenerator
- NativeGenerator.GeneratorClosedException - Exception in org.mozilla.javascript
- NativeGlobal - Class in org.mozilla.javascript
-
This class implements the global native object (function and value properties only).
- NativeGlobal() - Constructor for class org.mozilla.javascript.NativeGlobal
- NativeInt16Array - Class in org.mozilla.javascript.typedarrays
-
An array view that stores 16-bit quantities and implements the JavaScript "Int16Array" interface.
- NativeInt16Array() - Constructor for class org.mozilla.javascript.typedarrays.NativeInt16Array
- NativeInt16Array(int) - Constructor for class org.mozilla.javascript.typedarrays.NativeInt16Array
- NativeInt16Array(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeInt16Array
- NativeInt32Array - Class in org.mozilla.javascript.typedarrays
-
An array view that stores 32-bit quantities and implements the JavaScript "Int32Array" interface.
- NativeInt32Array() - Constructor for class org.mozilla.javascript.typedarrays.NativeInt32Array
- NativeInt32Array(int) - Constructor for class org.mozilla.javascript.typedarrays.NativeInt32Array
- NativeInt32Array(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeInt32Array
- NativeInt8Array - Class in org.mozilla.javascript.typedarrays
-
An array view that stores 8-bit quantities and implements the JavaScript "Int8Array" interface.
- NativeInt8Array() - Constructor for class org.mozilla.javascript.typedarrays.NativeInt8Array
- NativeInt8Array(int) - Constructor for class org.mozilla.javascript.typedarrays.NativeInt8Array
- NativeInt8Array(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeInt8Array
- NativeIterator - Class in org.mozilla.javascript
-
This class implements iterator objects.
- NativeIterator.WrappedJavaIterator - Class in org.mozilla.javascript
- NativeJavaArray - Class in org.mozilla.javascript
-
This class reflects Java arrays into the JavaScript environment.
- NativeJavaArray(Scriptable, Object) - Constructor for class org.mozilla.javascript.NativeJavaArray
- NativeJavaClass - Class in org.mozilla.javascript
-
This class reflects Java classes into the JavaScript environment, mainly for constructors and static members.
- NativeJavaClass() - Constructor for class org.mozilla.javascript.NativeJavaClass
- NativeJavaClass(Scriptable, Class<?>) - Constructor for class org.mozilla.javascript.NativeJavaClass
- NativeJavaClass(Scriptable, Class<?>, boolean) - Constructor for class org.mozilla.javascript.NativeJavaClass
- NativeJavaConstructor - Class in org.mozilla.javascript
-
This class reflects a single Java constructor into the JavaScript environment.
- NativeJavaConstructor(MemberBox) - Constructor for class org.mozilla.javascript.NativeJavaConstructor
- NativeJavaMethod - Class in org.mozilla.javascript
-
This class reflects Java methods into the JavaScript environment and handles overloading of methods.
- NativeJavaMethod(Method, String) - Constructor for class org.mozilla.javascript.NativeJavaMethod
- NativeJavaObject - Class in org.mozilla.javascript
-
This class reflects non-Array Java objects into the JavaScript environment.
- NativeJavaObject() - Constructor for class org.mozilla.javascript.NativeJavaObject
- NativeJavaObject(Scriptable, Object, Class<?>) - Constructor for class org.mozilla.javascript.NativeJavaObject
- NativeJavaObject(Scriptable, Object, Class<?>, boolean) - Constructor for class org.mozilla.javascript.NativeJavaObject
- NativeJavaPackage - Class in org.mozilla.javascript
-
This class reflects Java packages into the JavaScript environment.
- NativeJavaPackage(String) - Constructor for class org.mozilla.javascript.NativeJavaPackage
-
Deprecated.NativeJavaPackage is an internal class, do not use it directly.
- NativeJavaPackage(String, ClassLoader) - Constructor for class org.mozilla.javascript.NativeJavaPackage
-
Deprecated.NativeJavaPackage is an internal class, do not use it directly.
- NativeJavaTopPackage - Class in org.mozilla.javascript
-
This class reflects Java packages into the JavaScript environment.
- NativeJSON - Class in org.mozilla.javascript
-
This class implements the JSON native object.
- NativeObject - Class in org.mozilla.javascript
-
This class implements the Object native object.
- NativeObject() - Constructor for class org.mozilla.javascript.NativeObject
- NativeRegExp - Class in org.mozilla.javascript.regexp
-
This class implements the RegExp native object.
- NativeStringIterator - Class in org.mozilla.javascript
- NativeSymbol - Class in org.mozilla.javascript
-
This is an implementation of the standard "Symbol" type that implements all of its weird properties.
- NativeSymbol(NativeSymbol) - Constructor for class org.mozilla.javascript.NativeSymbol
- NativeTypedArrayIterator<T> - Class in org.mozilla.javascript.typedarrays
- NativeTypedArrayView<T> - Class in org.mozilla.javascript.typedarrays
-
This class is the abstract parent for all of the various typed arrays.
- NativeTypedArrayView() - Constructor for class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- NativeTypedArrayView(NativeArrayBuffer, int, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- NativeUint16Array - Class in org.mozilla.javascript.typedarrays
-
An array view that stores 16-bit quantities and implements the JavaScript "Uint16Array" interface.
- NativeUint16Array() - Constructor for class org.mozilla.javascript.typedarrays.NativeUint16Array
- NativeUint16Array(int) - Constructor for class org.mozilla.javascript.typedarrays.NativeUint16Array
- NativeUint16Array(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeUint16Array
- NativeUint32Array - Class in org.mozilla.javascript.typedarrays
-
An array view that stores 32-bit quantities and implements the JavaScript "Uint32Array" interface.
- NativeUint32Array() - Constructor for class org.mozilla.javascript.typedarrays.NativeUint32Array
- NativeUint32Array(int) - Constructor for class org.mozilla.javascript.typedarrays.NativeUint32Array
- NativeUint32Array(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeUint32Array
- NativeUint8Array - Class in org.mozilla.javascript.typedarrays
-
An array view that stores 8-bit quantities and implements the JavaScript "Uint8Array" interface.
- NativeUint8Array() - Constructor for class org.mozilla.javascript.typedarrays.NativeUint8Array
- NativeUint8Array(int) - Constructor for class org.mozilla.javascript.typedarrays.NativeUint8Array
- NativeUint8Array(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeUint8Array
- NativeUint8ClampedArray - Class in org.mozilla.javascript.typedarrays
-
An array view that stores 8-bit quantities and implements the JavaScript "Uint8ClampedArray" interface.
- NativeUint8ClampedArray() - Constructor for class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- NativeUint8ClampedArray(int) - Constructor for class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- NativeUint8ClampedArray(NativeArrayBuffer, int, int) - Constructor for class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- NativeWith - Class in org.mozilla.javascript
-
This class implements the object lookup required for the
with
statement. - NativeWith(Scriptable, Scriptable) - Constructor for class org.mozilla.javascript.NativeWith
- NE - Static variable in class org.mozilla.javascript.Token
-
Token types.
- NEG - Static variable in class org.mozilla.javascript.Token
-
Token types.
- negativeZero - Static variable in class org.mozilla.javascript.ScriptRuntime
- nestingOfFunction - Variable in class org.mozilla.javascript.Parser
- NEW - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- NEW - Static variable in class org.mozilla.javascript.Token
-
Token types.
- newArray(Scriptable, int) - Method in class org.mozilla.javascript.Context
-
Create an array with a specified initial length.
- newArray(Scriptable, Object[]) - Method in class org.mozilla.javascript.Context
-
Create an array with a set of initial elements.
- NEWARRAY - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- newArrayLiteral(Object[], int[], Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- newArrayLiteral(Object[], String, int, Context, Scriptable) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- newBuiltinObject(Context, Scriptable, TopLevel.Builtins, Object[]) - Static method in class org.mozilla.javascript.ScriptRuntime
- newCatchScope(Throwable, Scriptable, String, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- newClassSerialNumber() - Method in class org.mozilla.javascript.ClassCache
-
Internal engine method to return serial number for generated classes to ensure name uniqueness.
- NewExpression - Class in org.mozilla.javascript.ast
-
New expression.
- NewExpression() - Constructor for class org.mozilla.javascript.ast.NewExpression
- NewExpression(int) - Constructor for class org.mozilla.javascript.ast.NewExpression
- NewExpression(int, int) - Constructor for class org.mozilla.javascript.ast.NewExpression
- newInstance() - Method in class org.mozilla.javascript.Delegator
-
Crete new Delegator instance.
- newInterfaceProxy(Object, ContextFactory, InterfaceAdapter, Object, Scriptable) - Method in class org.mozilla.javascript.jdk13.VMBridge_jdk13
- newInterfaceProxy(Object, ContextFactory, InterfaceAdapter, Object, Scriptable) - Method in class org.mozilla.javascript.VMBridge
-
Create proxy object for
InterfaceAdapter
. - newIterator() - Method in class org.mozilla.javascript.ObjToIntMap
- newNumber(double) - Static method in class org.mozilla.javascript.Node
- newObject(Object, Context, Scriptable, Object[]) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Operator new.
- newObject(Context, Scriptable, String, Object[]) - Static method in class org.mozilla.javascript.ScriptRuntime
- newObject(Scriptable) - Method in class org.mozilla.javascript.Context
-
Create a new JavaScript object.
- newObject(Scriptable, String) - Method in class org.mozilla.javascript.Context
-
Create a new JavaScript object by executing the named constructor.
- newObject(Scriptable, String, Object[]) - Method in class org.mozilla.javascript.Context
-
Creates a new JavaScript object by executing the named constructor.
- newObjectLiteral(Object[], Object[], int[], Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- newObjectLiteral(Object[], Object[], Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- newObjectSpecial(Context, Object, Object[], Scriptable, Scriptable, int) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- newSpecial(Context, Object, Object[], Scriptable, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- newString(int, String) - Static method in class org.mozilla.javascript.Node
- newString(String) - Static method in class org.mozilla.javascript.Node
- newTarget() - Static method in class org.mozilla.javascript.Node
- next - Variable in class org.mozilla.javascript.Node
- next() - Method in class org.mozilla.javascript.NativeIterator.WrappedJavaIterator
- next() - Method in class org.mozilla.javascript.Node.NodeIterator
- next() - Method in class org.mozilla.javascript.ObjToIntMap.Iterator
- next() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayIterator
- next(Context, Scriptable) - Method in class org.mozilla.javascript.ES6Iterator
- NEXT_METHOD - Static variable in class org.mozilla.javascript.ES6Iterator
- nextIndex() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayIterator
- nextValue(Context, Scriptable) - Method in class org.mozilla.javascript.ES6Iterator
- nextValue(Context, Scriptable) - Method in class org.mozilla.javascript.NativeArrayIterator
- nextValue(Context, Scriptable) - Method in class org.mozilla.javascript.NativeStringIterator
- NO_ARGS - Static variable in class org.mozilla.javascript.ast.FunctionCall
- Node - Class in org.mozilla.javascript
-
This class implements the root of the intermediate representation.
- Node(int) - Constructor for class org.mozilla.javascript.Node
- Node(int, int) - Constructor for class org.mozilla.javascript.Node
- Node(int, Node) - Constructor for class org.mozilla.javascript.Node
- Node(int, Node, int) - Constructor for class org.mozilla.javascript.Node
- Node(int, Node, Node) - Constructor for class org.mozilla.javascript.Node
- Node(int, Node, Node, int) - Constructor for class org.mozilla.javascript.Node
- Node(int, Node, Node, Node) - Constructor for class org.mozilla.javascript.Node
- Node(int, Node, Node, Node, int) - Constructor for class org.mozilla.javascript.Node
- Node.NodeIterator - Class in org.mozilla.javascript
-
Iterates over the children of this Node.
- NodeIterator() - Constructor for class org.mozilla.javascript.Node.NodeIterator
- NodeTransformer - Class in org.mozilla.javascript
-
This class transforms a tree to a lower-level representation for codegen.
- NodeTransformer() - Constructor for class org.mozilla.javascript.NodeTransformer
- NodeVisitor - Interface in org.mozilla.javascript.ast
-
Simple visitor interface for traversing the AST.
- NON_SPECIALCALL - Static variable in class org.mozilla.javascript.Node
- NOP - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- NOT - Static variable in class org.mozilla.javascript.Token
-
Token types.
- NOT_FOUND - Static variable in interface org.mozilla.javascript.Scriptable
-
Value returned from
get
if the property is not found. - NOT_FOUND - Static variable in class org.mozilla.javascript.UniqueTag
-
Tag to mark non-existing values.
- NOT_MODIFIED - Static variable in interface org.mozilla.javascript.commonjs.module.provider.ModuleSourceProvider
-
A special return value for
ModuleSourceProvider.loadSource(String, Scriptable, Object)
andModuleSourceProvider.loadSource(URI, URI, Object)
that signifies that the cached representation is still valid according to the passed validator. - NotAFunctionException - Exception in org.mozilla.javascript
-
Deprecated.The exception is no longer thrown by Rhino runtime as
EvaluatorException
is used instead. - NotAFunctionException() - Constructor for exception org.mozilla.javascript.NotAFunctionException
-
Deprecated.
- notFoundError(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptRuntime
- notFunctionError(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- notFunctionError(Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- notFunctionError(Object, Object, String) - Static method in class org.mozilla.javascript.ScriptRuntime
- NULL - Static variable in class org.mozilla.javascript.Token
-
Token types.
- NULL_VALUE - Static variable in class org.mozilla.javascript.UniqueTag
-
Tag to distinguish between uninitialized and null values.
- Number - org.mozilla.javascript.TopLevel.Builtins
-
The built-in Number type.
- NUMBER - Static variable in class org.mozilla.javascript.Token
-
Token types.
- NumberClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- NumberLiteral - Class in org.mozilla.javascript.ast
-
AST node for a Number literal.
- NumberLiteral() - Constructor for class org.mozilla.javascript.ast.NumberLiteral
- NumberLiteral(double) - Constructor for class org.mozilla.javascript.ast.NumberLiteral
- NumberLiteral(int) - Constructor for class org.mozilla.javascript.ast.NumberLiteral
- NumberLiteral(int, int) - Constructor for class org.mozilla.javascript.ast.NumberLiteral
- NumberLiteral(int, String) - Constructor for class org.mozilla.javascript.ast.NumberLiteral
-
Constructor.
- NumberLiteral(int, String, double) - Constructor for class org.mozilla.javascript.ast.NumberLiteral
-
Constructor.
- numberToString(double) - Static method in class org.mozilla.javascript.v8dtoa.FastDtoa
- numberToString(double, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- numberToString(double, FastDtoaBuilder) - Static method in class org.mozilla.javascript.v8dtoa.FastDtoa
O
- obj - Variable in class org.mozilla.javascript.Delegator
- ObjArray - Class in org.mozilla.javascript
-
Implementation of resizable array with focus on minimizing memory usage by storing few initial array elements in object fields.
- ObjArray() - Constructor for class org.mozilla.javascript.ObjArray
- Object - org.mozilla.javascript.TopLevel.Builtins
-
The built-in Object type.
- OBJECT_IDS_PROP - Static variable in class org.mozilla.javascript.Node
- ObjectClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- OBJECTLIT - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ObjectLiteral - Class in org.mozilla.javascript.ast
-
AST node for an Object literal (also called an Object initialiser in Ecma-262).
- ObjectLiteral() - Constructor for class org.mozilla.javascript.ast.ObjectLiteral
- ObjectLiteral(int) - Constructor for class org.mozilla.javascript.ast.ObjectLiteral
- ObjectLiteral(int, int) - Constructor for class org.mozilla.javascript.ast.ObjectLiteral
- ObjectProperty - Class in org.mozilla.javascript.ast
-
AST node for a single name:value entry in an Object literal.
- ObjectProperty() - Constructor for class org.mozilla.javascript.ast.ObjectProperty
- ObjectProperty(int) - Constructor for class org.mozilla.javascript.ast.ObjectProperty
- ObjectProperty(int, int) - Constructor for class org.mozilla.javascript.ast.ObjectProperty
- ObjToIntMap - Class in org.mozilla.javascript
-
Map to associate objects to integers.
- ObjToIntMap() - Constructor for class org.mozilla.javascript.ObjToIntMap
- ObjToIntMap(int) - Constructor for class org.mozilla.javascript.ObjToIntMap
- ObjToIntMap.Iterator - Class in org.mozilla.javascript
- observeInstructionCount(int) - Method in class org.mozilla.javascript.Context
-
Allow application to monitor counter of executed script instructions in Context subclasses.
- observeInstructionCount(Context, int) - Method in class org.mozilla.javascript.ContextFactory
-
Implementation of
Context.observeInstructionCount(int instructionCount)
. - offset - Variable in class org.mozilla.javascript.typedarrays.NativeArrayBufferView
-
The offset, in bytes, from the start of the backing array
- onContextCreated(Context) - Method in class org.mozilla.javascript.ContextFactory
- onContextReleased(Context) - Method in class org.mozilla.javascript.ContextFactory
- onDebuggerStatement(Context) - Method in interface org.mozilla.javascript.debug.DebugFrame
-
Called when the function or script executes a 'debugger' statement.
- onEnter(Context, Scriptable, Scriptable, Object[]) - Method in interface org.mozilla.javascript.debug.DebugFrame
-
Called when execution is ready to start bytecode interpretation for entered a particular function or script.
- oneObj - Static variable in class org.mozilla.javascript.optimizer.OptRuntime
- onExceptionThrown(Context, Throwable) - Method in interface org.mozilla.javascript.debug.DebugFrame
-
Called when thrown exception is handled by the function or script.
- onExit(Context, boolean, Object) - Method in interface org.mozilla.javascript.debug.DebugFrame
-
Called when the function or script for this frame is about to return.
- onFailedClosingUrlConnection(URLConnection, IOException) - Method in class org.mozilla.javascript.commonjs.module.provider.UrlModuleSourceProvider
-
Override if you want to get notified if the URL connection fails to close.
- onLineChange(Context, int) - Method in interface org.mozilla.javascript.debug.DebugFrame
-
Called when executed code reaches new line in the source.
- ONLY_BODY_FLAG - Static variable in class org.mozilla.javascript.Decompiler
-
Flag to indicate that the decompilation should omit the function header and trailing brace.
- openUrlConnection(URL) - Method in class org.mozilla.javascript.commonjs.module.provider.UrlModuleSourceProvider
-
Can be overridden in subclasses to customize the URL connection opening process.
- operatorPosition - Variable in class org.mozilla.javascript.ast.InfixExpression
- operatorToString(int) - Static method in class org.mozilla.javascript.ast.AstNode
-
Returns the string name for this operator.
- OptFunctionNode - Class in org.mozilla.javascript.optimizer
- OptRuntime - Class in org.mozilla.javascript.optimizer
- OptRuntime() - Constructor for class org.mozilla.javascript.optimizer.OptRuntime
- OptRuntime.GeneratorState - Class in org.mozilla.javascript.optimizer
- OR - Static variable in class org.mozilla.javascript.Token
- org.mozilla.classfile - package org.mozilla.classfile
- org.mozilla.javascript - package org.mozilla.javascript
- org.mozilla.javascript.annotations - package org.mozilla.javascript.annotations
- org.mozilla.javascript.ast - package org.mozilla.javascript.ast
- org.mozilla.javascript.commonjs.module - package org.mozilla.javascript.commonjs.module
-
Provides the public API for the CommonJS Modules/1.1 implementation.
- org.mozilla.javascript.commonjs.module.provider - package org.mozilla.javascript.commonjs.module.provider
-
Provides default implementations for module providers.
- org.mozilla.javascript.debug - package org.mozilla.javascript.debug
- org.mozilla.javascript.jdk13 - package org.mozilla.javascript.jdk13
- org.mozilla.javascript.jdk15 - package org.mozilla.javascript.jdk15
- org.mozilla.javascript.json - package org.mozilla.javascript.json
- org.mozilla.javascript.optimizer - package org.mozilla.javascript.optimizer
- org.mozilla.javascript.regexp - package org.mozilla.javascript.regexp
- org.mozilla.javascript.serialize - package org.mozilla.javascript.serialize
- org.mozilla.javascript.typedarrays - package org.mozilla.javascript.typedarrays
- org.mozilla.javascript.v8dtoa - package org.mozilla.javascript.v8dtoa
- org.mozilla.javascript.xml - package org.mozilla.javascript.xml
P
- padArguments(Object[], int) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Helper function for builtin objects that use the varargs form.
- padStart(Object[], int) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- parens - Variable in class org.mozilla.javascript.regexp.RegExpImpl
- parent - Variable in class org.mozilla.javascript.ast.AstNode
- parent - Variable in class org.mozilla.javascript.NativeJavaObject
-
The parent scope of this object.
- parent - Variable in class org.mozilla.javascript.NativeWith
- PARENTHESIZED_PROP - Static variable in class org.mozilla.javascript.Node
- ParenthesizedExpression - Class in org.mozilla.javascript.ast
-
AST node for a parenthesized expression.
- ParenthesizedExpression() - Constructor for class org.mozilla.javascript.ast.ParenthesizedExpression
- ParenthesizedExpression(int) - Constructor for class org.mozilla.javascript.ast.ParenthesizedExpression
- ParenthesizedExpression(int, int) - Constructor for class org.mozilla.javascript.ast.ParenthesizedExpression
- ParenthesizedExpression(int, int, AstNode) - Constructor for class org.mozilla.javascript.ast.ParenthesizedExpression
- ParenthesizedExpression(AstNode) - Constructor for class org.mozilla.javascript.ast.ParenthesizedExpression
- parentScope - Variable in class org.mozilla.javascript.ast.Scope
- parse(Reader, String, int) - Method in class org.mozilla.javascript.Parser
-
Builds a parse tree from the given sourcereader.
- parse(String, String, int) - Method in class org.mozilla.javascript.Parser
-
Builds a parse tree from the given source string.
- parse(Context, Scriptable, String, Callable) - Static method in class org.mozilla.javascript.NativeJSON
- ParsedContentType - Class in org.mozilla.javascript.commonjs.module.provider
-
Breaks a "contentType; charset=encoding" MIME type into content type and encoding parts.
- ParsedContentType(String) - Constructor for class org.mozilla.javascript.commonjs.module.provider.ParsedContentType
-
Creates a new parsed content type.
- ParseProblem - Class in org.mozilla.javascript.ast
-
Encapsulates information for a JavaScript parse error or warning.
- ParseProblem(ParseProblem.Type, String, String, int, int) - Constructor for class org.mozilla.javascript.ast.ParseProblem
-
Constructs a new ParseProblem.
- ParseProblem.Type - Enum in org.mozilla.javascript.ast
- Parser - Class in org.mozilla.javascript
-
This class implements the JavaScript parser.
- Parser() - Constructor for class org.mozilla.javascript.Parser
- Parser(CompilerEnvirons) - Constructor for class org.mozilla.javascript.Parser
- Parser(CompilerEnvirons, ErrorReporter) - Constructor for class org.mozilla.javascript.Parser
- Parser.PerFunctionVariables - Class in org.mozilla.javascript
- parseValue(String) - Method in class org.mozilla.javascript.json.JsonParser
- peek() - Method in class org.mozilla.javascript.ObjArray
- PERMANENT - Static variable in class org.mozilla.javascript.ScriptableObject
-
Property attribute indicating property cannot be deleted.
- PolicySecurityController - Class in org.mozilla.javascript
-
A security controller relying on Java
Policy
in effect. - PolicySecurityController() - Constructor for class org.mozilla.javascript.PolicySecurityController
- PolicySecurityController.SecureCaller - Class in org.mozilla.javascript
- pop() - Method in class org.mozilla.javascript.ObjArray
- POP - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- POP2 - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- POS - Static variable in class org.mozilla.javascript.Token
-
Token types.
- position - Variable in class org.mozilla.javascript.ast.AstNode
- PositionComparator() - Constructor for class org.mozilla.javascript.ast.AstNode.PositionComparator
- POST_FLAG - Static variable in class org.mozilla.javascript.Node
- PREFIX - Static variable in class org.mozilla.javascript.regexp.NativeRegExp
- preventExtensions() - Method in class org.mozilla.javascript.ScriptableObject
- previous() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayIterator
- previousIndex() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayIterator
- printList(List<T>, StringBuilder) - Method in class org.mozilla.javascript.ast.AstNode
-
Prints a comma-separated item list into a
StringBuilder
. - printStackTrace(PrintStream) - Method in exception org.mozilla.javascript.RhinoException
- printStackTrace(PrintWriter) - Method in exception org.mozilla.javascript.RhinoException
- printTrees - Static variable in class org.mozilla.javascript.Token
- PROPERTY_FLAG - Static variable in class org.mozilla.javascript.Node
- PropertyException - Exception in org.mozilla.javascript
-
Deprecated.This exception is no longer thrown by Rhino runtime.
- PropertyException(String) - Constructor for exception org.mozilla.javascript.PropertyException
-
Deprecated.
- PropertyGet - Class in org.mozilla.javascript.ast
-
AST node for the '.' operator.
- PropertyGet() - Constructor for class org.mozilla.javascript.ast.PropertyGet
- PropertyGet(int) - Constructor for class org.mozilla.javascript.ast.PropertyGet
- PropertyGet(int, int) - Constructor for class org.mozilla.javascript.ast.PropertyGet
- PropertyGet(int, int, AstNode, Name) - Constructor for class org.mozilla.javascript.ast.PropertyGet
- PropertyGet(AstNode, Name) - Constructor for class org.mozilla.javascript.ast.PropertyGet
-
Constructor.
- PropertyGet(AstNode, Name, int) - Constructor for class org.mozilla.javascript.ast.PropertyGet
- propIncrDecr(Object, String, Context, int) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- propIncrDecr(Object, String, Context, Scriptable, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- propListHead - Variable in class org.mozilla.javascript.Node
-
Linked list of properties.
- prototype - Variable in class org.mozilla.javascript.NativeJavaObject
-
The prototype of this object.
- prototype - Variable in class org.mozilla.javascript.NativeWith
- push(Object) - Method in class org.mozilla.javascript.ObjArray
- put(int, int) - Method in class org.mozilla.javascript.UintMap
-
Set int value of the key.
- put(int, Object) - Method in class org.mozilla.javascript.UintMap
-
Set object value of the key.
- put(int, Scriptable, Object) - Method in class org.mozilla.javascript.Delegator
- put(int, Scriptable, Object) - Method in class org.mozilla.javascript.NativeArray
- put(int, Scriptable, Object) - Method in class org.mozilla.javascript.NativeJavaArray
- put(int, Scriptable, Object) - Method in class org.mozilla.javascript.NativeJavaObject
- put(int, Scriptable, Object) - Method in class org.mozilla.javascript.NativeJavaPackage
- put(int, Scriptable, Object) - Method in class org.mozilla.javascript.NativeSymbol
- put(int, Scriptable, Object) - Method in class org.mozilla.javascript.NativeWith
- put(int, Scriptable, Object) - Method in interface org.mozilla.javascript.Scriptable
-
Sets an indexed property in this object.
- put(int, Scriptable, Object) - Method in class org.mozilla.javascript.ScriptableObject
-
Sets the value of the indexed property, creating it if need be.
- put(int, Scriptable, Object) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- put(Object, int) - Method in class org.mozilla.javascript.ObjToIntMap
- put(Object, Object) - Method in class org.mozilla.javascript.NativeObject
- put(String, Scriptable, Object) - Method in class org.mozilla.javascript.Delegator
- put(String, Scriptable, Object) - Method in class org.mozilla.javascript.IdScriptableObject
- put(String, Scriptable, Object) - Method in class org.mozilla.javascript.NativeArray
- put(String, Scriptable, Object) - Method in class org.mozilla.javascript.NativeJavaArray
- put(String, Scriptable, Object) - Method in class org.mozilla.javascript.NativeJavaClass
- put(String, Scriptable, Object) - Method in class org.mozilla.javascript.NativeJavaObject
- put(String, Scriptable, Object) - Method in class org.mozilla.javascript.NativeJavaPackage
- put(String, Scriptable, Object) - Method in class org.mozilla.javascript.NativeSymbol
- put(String, Scriptable, Object) - Method in class org.mozilla.javascript.NativeWith
- put(String, Scriptable, Object) - Method in interface org.mozilla.javascript.Scriptable
-
Sets a named property in this object.
- put(String, Scriptable, Object) - Method in class org.mozilla.javascript.ScriptableObject
-
Sets the value of the named property, creating it if need be.
- put(Context, Object, Object) - Method in class org.mozilla.javascript.xml.XMLObject
-
Implementation of ECMAScript [[Put]].
- put(Symbol, Scriptable, Object) - Method in class org.mozilla.javascript.IdScriptableObject
- put(Symbol, Scriptable, Object) - Method in class org.mozilla.javascript.NativeSymbol
- put(Symbol, Scriptable, Object) - Method in class org.mozilla.javascript.ScriptableObject
-
Implementation of put required by SymbolScriptable objects.
- put(Symbol, Scriptable, Object) - Method in interface org.mozilla.javascript.SymbolScriptable
-
Add a new property to to the object.
- putAll(Map) - Method in class org.mozilla.javascript.NativeObject
- putConst(String, Scriptable, Object) - Method in interface org.mozilla.javascript.ConstProperties
-
Sets a named const property in this object.
- putConst(String, Scriptable, Object) - Method in class org.mozilla.javascript.ScriptableObject
-
Sets the value of the named const property, creating it if need be.
- putConstProperty(Scriptable, String, Object) - Static method in class org.mozilla.javascript.ScriptableObject
-
Puts a named property in an object or in an object in its prototype chain.
- PUTFIELD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- putIntProp(int, int) - Method in class org.mozilla.javascript.Node
- putLoadedModule(String, ModuleScript, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.CachingModuleScriptProviderBase
-
Store a loaded module script for later retrieval using
CachingModuleScriptProviderBase.getLoadedModule(String)
. - putLoadedModule(String, ModuleScript, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.SoftCachingModuleScriptProvider
- putLoadedModule(String, ModuleScript, Object) - Method in class org.mozilla.javascript.commonjs.module.provider.StrongCachingModuleScriptProvider
- putProp(int, Object) - Method in class org.mozilla.javascript.Node
- putProperty(Scriptable, int, Object) - Static method in class org.mozilla.javascript.ScriptableObject
-
Puts an indexed property in an object or in an object in its prototype chain.
- putProperty(Scriptable, String, Object) - Static method in class org.mozilla.javascript.ScriptableObject
-
Puts a named property in an object or in an object in its prototype chain.
- putProperty(Scriptable, Symbol, Object) - Static method in class org.mozilla.javascript.ScriptableObject
-
This is a version of putProperty for Symbol keys.
- PUTSTATIC - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- putSymbol(Symbol) - Method in class org.mozilla.javascript.ast.Scope
-
Enters a symbol into this scope.
- putThreadLocal(Object, Object) - Method in class org.mozilla.javascript.Context
-
Put a value that can later be retrieved using a given key.
R
- RA_MATCH - Static variable in interface org.mozilla.javascript.RegExpProxy
- RA_REPLACE - Static variable in interface org.mozilla.javascript.RegExpProxy
- RA_SEARCH - Static variable in interface org.mozilla.javascript.RegExpProxy
- rangeError(String) - Static method in class org.mozilla.javascript.ScriptRuntime
- RB - Static variable in class org.mozilla.javascript.Token
- RC - Static variable in class org.mozilla.javascript.Token
- readAdapterObject(Scriptable, ObjectInputStream) - Static method in class org.mozilla.javascript.JavaAdapter
- readFloat32(byte[], int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- readFloat64(byte[], int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- readInt16(byte[], int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- readInt32(byte[], int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- readInt8(byte[], int) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- READONLY - Static variable in class org.mozilla.javascript.ScriptableObject
-
Property attribute indicating assignment to this property is ignored.
- readReader(Reader) - Static method in class org.mozilla.javascript.Kit
- readResolve() - Method in class org.mozilla.javascript.Undefined
- readResolve() - Method in class org.mozilla.javascript.UniqueTag
- readStream(InputStream, int) - Static method in class org.mozilla.javascript.Kit
- readUint16(byte[], int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- readUint32(byte[], int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- readUint32Primitive(byte[], int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- readUint64Primitive(byte[], int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- readUint8(byte[], int) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- realThis(Scriptable, IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeFloat32Array
- realThis(Scriptable, IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeFloat64Array
- realThis(Scriptable, IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeInt16Array
- realThis(Scriptable, IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeInt32Array
- realThis(Scriptable, IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeInt8Array
- realThis(Scriptable, IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- realThis(Scriptable, IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeUint16Array
- realThis(Scriptable, IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeUint32Array
- realThis(Scriptable, IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeUint8Array
- realThis(Scriptable, IdFunctionObject) - Method in class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- recoverFromErrors() - Method in class org.mozilla.javascript.CompilerEnvirons
- redefineProperty(Scriptable, String, boolean) - Static method in class org.mozilla.javascript.ScriptableObject
-
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 in org.mozilla.javascript
-
Generic notion of reference object that know how to query/modify the target objects based on some property/index.
- Ref() - Constructor for class org.mozilla.javascript.Ref
- REF_CALL - Static variable in class org.mozilla.javascript.Token
-
Token types.
- REF_MEMBER - Static variable in class org.mozilla.javascript.Token
-
Token types.
- REF_NAME - Static variable in class org.mozilla.javascript.Token
-
Token types.
- REF_NS_MEMBER - Static variable in class org.mozilla.javascript.Token
-
Token types.
- REF_NS_NAME - Static variable in class org.mozilla.javascript.Token
-
Token types.
- REF_SPECIAL - Static variable in class org.mozilla.javascript.Token
-
Token types.
- refCall(Context, Scriptable, Object[]) - Method in interface org.mozilla.javascript.RefCallable
-
Perform function call in reference context.
- RefCallable - Interface in org.mozilla.javascript
-
Object that can allows assignments to the result of function calls.
- refDel(Ref, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- refGet(Ref, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- refIncrDecr(Ref, Context, int) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- refIncrDecr(Ref, Context, Scriptable, int) - Static method in class org.mozilla.javascript.ScriptRuntime
- refSet(Ref, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- refSet(Ref, Object, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- RegExp - org.mozilla.javascript.TopLevel.Builtins
-
The built-in RegExp type.
- REGEXP - Static variable in class org.mozilla.javascript.Token
-
Token types.
- REGEXP_PROP - Static variable in class org.mozilla.javascript.Node
- RegExpImpl - Class in org.mozilla.javascript.regexp
- RegExpImpl() - Constructor for class org.mozilla.javascript.regexp.RegExpImpl
- RegExpLiteral - Class in org.mozilla.javascript.ast
-
AST node for a RegExp literal.
- RegExpLiteral() - Constructor for class org.mozilla.javascript.ast.RegExpLiteral
- RegExpLiteral(int) - Constructor for class org.mozilla.javascript.ast.RegExpLiteral
- RegExpLiteral(int, int) - Constructor for class org.mozilla.javascript.ast.RegExpLiteral
- RegExpProxy - Interface in org.mozilla.javascript
-
A proxy for the regexp package, so that the regexp package can be loaded optionally.
- remove() - Method in class org.mozilla.javascript.Node.NodeIterator
- remove() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayIterator
- remove(int) - Method in class org.mozilla.javascript.NativeArray
- remove(int) - Method in class org.mozilla.javascript.ObjArray
- remove(int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- remove(int) - Method in class org.mozilla.javascript.UintMap
- remove(Object) - Method in class org.mozilla.javascript.NativeArray
- remove(Object) - Method in class org.mozilla.javascript.NativeObject
- remove(Object) - Method in class org.mozilla.javascript.ObjToIntMap
- remove(Object) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- removeActivationName(String) - Method in class org.mozilla.javascript.Context
-
Remove a name from the list of names forcing the creation of real activation objects for functions.
- removeAll(Collection) - Method in class org.mozilla.javascript.NativeArray
- removeAll(Collection<?>) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- removeChild(Node) - Method in class org.mozilla.javascript.Node
- removeChildren() - Method in class org.mozilla.javascript.Node
- removeContextListener(ContextListener) - Static method in class org.mozilla.javascript.Context
-
Deprecated.
- removeExcludedName(String) - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
-
Removes a name from the list of names to exclude.
- removeListener(Object, Object) - Static method in class org.mozilla.javascript.Kit
-
Remove listener from bag of listeners.
- removeListener(ContextFactory.Listener) - Method in class org.mozilla.javascript.ContextFactory
- removeParens(AstNode) - Method in class org.mozilla.javascript.Parser
- removeProp(int) - Method in class org.mozilla.javascript.Node
- removePropertyChangeListener(PropertyChangeListener) - Method in class org.mozilla.javascript.Context
-
Remove an object from the list of objects registered to receive notification of changes to a bounded property
- removeThreadLocal(Object) - Method in class org.mozilla.javascript.Context
-
Remove values from thread-local storage.
- renderJavaStyle(StringBuilder) - Method in class org.mozilla.javascript.ScriptStackElement
-
Render stack element in Java-inspired style:
at fileName:lineNumber (functionName)
- renderMozillaStyle(StringBuilder) - Method in class org.mozilla.javascript.ScriptStackElement
-
Render stack element in Mozilla/Firefox style:
functionName()@fileName:lineNumber
- renderV8Style(StringBuilder) - Method in class org.mozilla.javascript.ScriptStackElement
-
Render stack element in V8 style:
at functionName (fileName:lineNumber:columnNumber)
or:at fileName:lineNumber:columnNumber
- REPLACE - Static variable in class org.mozilla.javascript.SymbolKey
- replaceChild(Node, Node) - Method in class org.mozilla.javascript.Node
- replaceChildAfter(Node, Node) - Method in class org.mozilla.javascript.Node
- replaceObject(Object) - Method in class org.mozilla.javascript.serialize.ScriptableOutputStream
- replaceWith(Scope) - Method in class org.mozilla.javascript.ast.Scope
-
Used by the parser; not intended for typical use.
- reportError(String) - Static method in class org.mozilla.javascript.Context
-
Report an error using the error reporter for the current thread.
- reportError(String, String, int, String, int) - Static method in class org.mozilla.javascript.Context
-
Report an error using the error reporter for the current thread.
- reportRuntimeError(String) - Static method in class org.mozilla.javascript.Context
-
Report a runtime error using the error reporter for the current thread.
- reportRuntimeError(String, String, int, String, int) - Static method in class org.mozilla.javascript.Context
-
Report a runtime error using the error reporter for the current thread.
- reportWarning(String) - Static method in class org.mozilla.javascript.Context
-
Report a warning using the error reporter for the current thread.
- reportWarning(String, String, int, String, int) - Static method in class org.mozilla.javascript.Context
-
Report a warning using the error reporter for the current thread.
- reportWarning(String, Throwable) - Static method in class org.mozilla.javascript.Context
- reportWarningAsError() - Method in class org.mozilla.javascript.CompilerEnvirons
- Require - Class in org.mozilla.javascript.commonjs.module
-
Implements the require() function as defined by Common JS modules.
- Require(Context, Scriptable, ModuleScriptProvider, Script, Script, boolean) - Constructor for class org.mozilla.javascript.commonjs.module.Require
-
Creates a new instance of the require() function.
- RequireBuilder - Class in org.mozilla.javascript.commonjs.module
-
A builder for
Require
instances. - RequireBuilder() - Constructor for class org.mozilla.javascript.commonjs.module.RequireBuilder
- requireMain(Context, String) - Method in class org.mozilla.javascript.commonjs.module.Require
-
Calling this method establishes a module as being the main module of the program to which this require() instance belongs.
- requireObjectCoercible(Context, Scriptable, IdFunctionObject) - Static method in class org.mozilla.javascript.ScriptRuntimeES6
- requiresActivation() - Method in class org.mozilla.javascript.ast.FunctionNode
-
Return true if this function requires an Ecma-262 Activation object.
- RESERVED - Static variable in class org.mozilla.javascript.Token
- reset() - Method in class org.mozilla.javascript.v8dtoa.FastDtoaBuilder
- resetTargets() - Method in class org.mozilla.javascript.Node
-
Recursively unlabel every TARGET or YIELD node in the tree.
- resolveClass(ObjectStreamClass) - Method in class org.mozilla.javascript.serialize.ScriptableInputStream
- resolveObject(Object) - Method in class org.mozilla.javascript.serialize.ScriptableInputStream
- restartContinuation(NativeContinuation, Context, Scriptable, Object[]) - Static method in class org.mozilla.javascript.Interpreter
- resumeContinuation(Object, Scriptable, Object) - Method in class org.mozilla.javascript.Context
-
Restarts execution of the JavaScript suspended at the call to
Context.captureContinuation()
. - resumeGenerator(Context, Scriptable, int, Object, Object) - Static method in class org.mozilla.javascript.Interpreter
- resumeGenerator(Context, Scriptable, int, Object, Object) - Method in class org.mozilla.javascript.NativeFunction
-
Resume execution of a suspended generator.
- resumptionPoint - Variable in class org.mozilla.javascript.optimizer.OptRuntime.GeneratorState
- RET - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- retainAll(Collection) - Method in class org.mozilla.javascript.NativeArray
- retainAll(Collection<?>) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- RETHROW - Static variable in class org.mozilla.javascript.Token
-
Token types.
- RETURN - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- RETURN - Static variable in class org.mozilla.javascript.Token
-
Token types.
- RETURN_RESULT - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ReturnStatement - Class in org.mozilla.javascript.ast
-
Return statement.
- ReturnStatement() - Constructor for class org.mozilla.javascript.ast.ReturnStatement
- ReturnStatement(int) - Constructor for class org.mozilla.javascript.ast.ReturnStatement
- ReturnStatement(int, int) - Constructor for class org.mozilla.javascript.ast.ReturnStatement
- ReturnStatement(int, int, AstNode) - Constructor for class org.mozilla.javascript.ast.ReturnStatement
- RHINO - org.mozilla.javascript.StackStyle
-
This is the default stack trace style in Rhino, which is like Java:
at fileName:lineNumber (functionName)
- RhinoException - Exception in org.mozilla.javascript
-
The class of exceptions thrown by the JavaScript engine.
- RhinoSecurityManager - Class in org.mozilla.javascript
-
A
java.lang.SecurityManager
subclass that provides access to the current top-most script class on the execution stack. - RhinoSecurityManager() - Constructor for class org.mozilla.javascript.RhinoSecurityManager
- right - Variable in class org.mozilla.javascript.ast.InfixExpression
- RIGHT - Static variable in class org.mozilla.javascript.Node
- rightContext - Variable in class org.mozilla.javascript.regexp.RegExpImpl
- ROOT_LOCALE - Static variable in class org.mozilla.javascript.ScriptRuntime
- rp - Variable in class org.mozilla.javascript.ast.FunctionCall
- rp - Variable in class org.mozilla.javascript.ast.Loop
- RP - Static variable in class org.mozilla.javascript.Token
- RSH - Static variable in class org.mozilla.javascript.Token
-
Token types.
- run(Context) - Method in interface org.mozilla.javascript.ContextAction
-
Execute action using the supplied Context instance.
- runScript(Script) - Static method in class org.mozilla.javascript.JavaAdapter
- runtimeError(String, String, int, String, int) - Method in class org.mozilla.javascript.ast.ErrorCollector
- runtimeError(String, String, int, String, int) - Method in interface org.mozilla.javascript.ErrorReporter
-
Creates an EvaluatorException that may be thrown.
S
- SALOAD - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- same(Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- sameValue(Object, Object) - Method in class org.mozilla.javascript.ScriptableObject
-
Implements SameValue as described in ES5 9.12, additionally checking if new value is defined.
- SASTORE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- Scope - Class in org.mozilla.javascript.ast
-
Represents a scope in the lexical scope chain.
- Scope() - Constructor for class org.mozilla.javascript.ast.Scope
- Scope(int) - Constructor for class org.mozilla.javascript.ast.Scope
- Scope(int, int) - Constructor for class org.mozilla.javascript.ast.Scope
- Script - Interface in org.mozilla.javascript
-
All compiled scripts implement this interface.
- SCRIPT - Static variable in class org.mozilla.javascript.Token
- Scriptable - Interface in org.mozilla.javascript
-
This is interface that all objects in JavaScript must implement.
- SCRIPTABLE_UNDEFINED - Static variable in class org.mozilla.javascript.Undefined
- ScriptableClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- ScriptableInputStream - Class in org.mozilla.javascript.serialize
-
Class ScriptableInputStream is used to read in a JavaScript object or function previously serialized with a ScriptableOutputStream.
- ScriptableInputStream(InputStream, Scriptable) - Constructor for class org.mozilla.javascript.serialize.ScriptableInputStream
-
Create a ScriptableInputStream.
- ScriptableObject - Class in org.mozilla.javascript
-
This is the default implementation of the Scriptable interface.
- ScriptableObject() - Constructor for class org.mozilla.javascript.ScriptableObject
- ScriptableObject(Scriptable, Scriptable) - Constructor for class org.mozilla.javascript.ScriptableObject
- ScriptableObject.KeyComparator - Class in org.mozilla.javascript
-
This comparator sorts property fields in spec-compliant order.
- ScriptableObjectClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- ScriptableOutputStream - Class in org.mozilla.javascript.serialize
-
Class ScriptableOutputStream is an ObjectOutputStream used to serialize JavaScript objects and functions.
- ScriptableOutputStream(OutputStream, Scriptable) - Constructor for class org.mozilla.javascript.serialize.ScriptableOutputStream
-
ScriptableOutputStream constructor.
- ScriptNode - Class in org.mozilla.javascript.ast
-
Base type for
AstRoot
andFunctionNode
nodes, which need to collect much of the same information. - ScriptNode() - Constructor for class org.mozilla.javascript.ast.ScriptNode
- ScriptNode(int) - Constructor for class org.mozilla.javascript.ast.ScriptNode
- ScriptRuntime - Class in org.mozilla.javascript
-
This is the class that implements the runtime.
- ScriptRuntime() - Constructor for class org.mozilla.javascript.ScriptRuntime
-
No instances should be created.
- ScriptRuntime.MessageProvider - Interface in org.mozilla.javascript
-
This is an interface defining a message provider.
- ScriptRuntimeES6 - Class in org.mozilla.javascript
- ScriptRuntimeES6() - Constructor for class org.mozilla.javascript.ScriptRuntimeES6
- ScriptStackElement - Class in org.mozilla.javascript
-
This class represents an element on the script execution stack.
- ScriptStackElement(String, String, int) - Constructor for class org.mozilla.javascript.ScriptStackElement
- seal() - Method in class org.mozilla.javascript.ContextFactory
-
Seal this ContextFactory so any attempt to modify it like to add or remove its listeners will throw an exception.
- seal() - Method in class org.mozilla.javascript.ObjArray
- seal(Object) - Method in class org.mozilla.javascript.Context
-
Seal this Context object so any attempt to modify any of its properties including calling
Context.enter()
andContext.exit()
methods will throw an exception. - sealObject() - Method in class org.mozilla.javascript.ScriptableObject
-
Seal this object.
- SEARCH - Static variable in class org.mozilla.javascript.SymbolKey
- searchDefaultNamespace(Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- SecureCaller - Class in org.mozilla.javascript
- SecureCaller() - Constructor for class org.mozilla.javascript.PolicySecurityController.SecureCaller
- SecureCaller() - Constructor for class org.mozilla.javascript.SecureCaller
- SecurityController - Class in org.mozilla.javascript
-
This class describes the support needed to implement security.
- SecurityController() - Constructor for class org.mozilla.javascript.SecurityController
- SecurityUtilities - Class in org.mozilla.javascript
- SecurityUtilities() - Constructor for class org.mozilla.javascript.SecurityUtilities
- SEMI - Static variable in class org.mozilla.javascript.Token
- set(int, Byte) - Method in class org.mozilla.javascript.typedarrays.NativeInt8Array
- set(int, Double) - Method in class org.mozilla.javascript.typedarrays.NativeFloat64Array
- set(int, Float) - Method in class org.mozilla.javascript.typedarrays.NativeFloat32Array
- set(int, Integer) - Method in class org.mozilla.javascript.typedarrays.NativeInt32Array
- set(int, Integer) - Method in class org.mozilla.javascript.typedarrays.NativeUint16Array
- set(int, Integer) - Method in class org.mozilla.javascript.typedarrays.NativeUint8Array
- set(int, Integer) - Method in class org.mozilla.javascript.typedarrays.NativeUint8ClampedArray
- set(int, Long) - Method in class org.mozilla.javascript.typedarrays.NativeUint32Array
- set(int, Object) - Method in class org.mozilla.javascript.NativeArray
- set(int, Object) - Method in class org.mozilla.javascript.ObjArray
- set(int, Short) - Method in class org.mozilla.javascript.typedarrays.NativeInt16Array
- set(Context, Object) - Method in class org.mozilla.javascript.Ref
-
Deprecated.Use
Ref.set(Context, Scriptable, Object)
instead - set(Context, Scriptable, Object) - Method in class org.mozilla.javascript.Ref
- set(T) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayIterator
- SET - Static variable in class org.mozilla.javascript.Token
- SET_REF - Static variable in class org.mozilla.javascript.Token
-
Token types.
- SET_REF_OP - Static variable in class org.mozilla.javascript.Token
- setActivationNames(Set<String>) - Method in class org.mozilla.javascript.CompilerEnvirons
- setAllowMemberExprAsFunctionName(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
- setAllowSharpComments(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
-
Mozilla sources use the C preprocessor.
- setApplicationClassLoader(ClassLoader) - Method in class org.mozilla.javascript.Context
- setApplicationState(Object) - Method in exception org.mozilla.javascript.ContinuationPending
-
Store an arbitrary object that applications can use to associate their state with the continuation.
- setArguments(List<AstNode>) - Method in class org.mozilla.javascript.ast.FunctionCall
-
Sets function argument list
- setArrayElement(int, Object) - Method in interface org.mozilla.javascript.ExternalArrayData
-
Set the element at the specified index.
- setArrayElement(int, Object) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- setAtPos(int) - Method in class org.mozilla.javascript.ast.XmlRef
-
Sets position of
@
-token, or -1 - setAttributes(int, int) - Method in class org.mozilla.javascript.ScriptableObject
-
Set the attributes of an indexed property.
- setAttributes(int, Scriptable, int) - Method in class org.mozilla.javascript.ScriptableObject
-
Deprecated.Use
ScriptableObject.setAttributes(int index, int attributes)
. The engine always ignored the start argument. - setAttributes(String, int) - Method in class org.mozilla.javascript.IdScriptableObject
- setAttributes(String, int) - Method in class org.mozilla.javascript.ScriptableObject
-
Set the attributes of a named property.
- setAttributes(String, Scriptable, int) - Method in class org.mozilla.javascript.ScriptableObject
-
Deprecated.Use
ScriptableObject.setAttributes(String name, int attributes)
. The engine always ignored the start argument. - setAttributes(Symbol, int) - Method in class org.mozilla.javascript.ScriptableObject
-
Set attributes of a Symbol-keyed property.
- setBaseLineno(int) - Method in class org.mozilla.javascript.ast.ScriptNode
-
Sets base (starting) line number for this script or function.
- setBody(AstNode) - Method in class org.mozilla.javascript.ast.ArrayComprehensionLoop
-
Throws an exception on attempts to set the loop body.
- setBody(AstNode) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Sets function body, and sets its parent to this node.
- setBody(AstNode) - Method in class org.mozilla.javascript.ast.LetNode
-
Sets body statement or expression.
- setBody(AstNode) - Method in class org.mozilla.javascript.ast.Loop
-
Sets loop body.
- setBody(Block) - Method in class org.mozilla.javascript.ast.CatchClause
-
Sets catch body, and sets its parent to this node.
- setBounds(int, int) - Method in class org.mozilla.javascript.ast.AstNode
-
Sets the node start and end positions.
- setBrackets(int, int) - Method in class org.mozilla.javascript.ast.XmlElemRef
-
Sets both bracket positions.
- setBreakLabel(Name) - Method in class org.mozilla.javascript.ast.BreakStatement
-
Sets the intended label of this break statement, e.g.
- setBreakTarget(Jump) - Method in class org.mozilla.javascript.ast.BreakStatement
-
Sets the statement to break to.
- setBuiltinProtoAndParent(ScriptableObject, Scriptable, TopLevel.Builtins) - Static method in class org.mozilla.javascript.ScriptRuntime
- setCachingEnabled(boolean) - Method in class org.mozilla.javascript.ClassCache
-
Set whether to cache some values.
- setCachingEnabled(boolean) - Static method in class org.mozilla.javascript.Context
-
Deprecated.
- setCases(List<SwitchCase>) - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Sets case statement list, and sets the parent of each child case to this node.
- setCatchClauses(List<CatchClause>) - Method in class org.mozilla.javascript.ast.TryStatement
-
Sets list of
CatchClause
nodes. - setCatchCondition(AstNode) - Method in class org.mozilla.javascript.ast.CatchClause
-
Sets catch condition node, and sets its parent to this node.
- setClassShutter(ClassShutter) - Method in interface org.mozilla.javascript.Context.ClassShutterSetter
- setClassShutter(ClassShutter) - Method in class org.mozilla.javascript.Context
-
Set the LiveConnect access filter for this context.
- setColonPos(int) - Method in class org.mozilla.javascript.ast.XmlRef
-
Sets position of
::
token, or -1 if not present - setColonPosition(int) - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Sets position of : token
- setComments(SortedSet<Comment>) - Method in class org.mozilla.javascript.ast.AstRoot
-
Sets comment list, and updates the parent of each entry to point to this node.
- setCommentType(Token.CommentType) - Method in class org.mozilla.javascript.ast.Comment
-
Sets the comment style
- setCompilerData(Object) - Method in class org.mozilla.javascript.ast.ScriptNode
- setCondition(AstNode) - Method in class org.mozilla.javascript.ast.DoLoop
-
Sets loop condition, and sets its parent to this node.
- setCondition(AstNode) - Method in class org.mozilla.javascript.ast.ForLoop
-
Sets loop condition, and sets its parent to this node.
- setCondition(AstNode) - Method in class org.mozilla.javascript.ast.IfStatement
-
Sets if condition.
- setCondition(AstNode) - Method in class org.mozilla.javascript.ast.WhileLoop
-
Sets loop condition
- setConst(Scriptable, Object, Context, String) - Static method in class org.mozilla.javascript.ScriptRuntime
- SETCONST - Static variable in class org.mozilla.javascript.Token
- SETCONSTVAR - Static variable in class org.mozilla.javascript.Token
- setContainingTable(Scope) - Method in class org.mozilla.javascript.ast.Symbol
-
Sets this symbol's Scope
- setContext(Object, Context) - Method in class org.mozilla.javascript.jdk13.VMBridge_jdk13
- setContext(Object, Context) - Method in class org.mozilla.javascript.VMBridge
-
Associate
Context
instance with the current thread or remove the current association if cx is null. - setContextFactoryGlobal(ContextFactory) - Method in interface org.mozilla.javascript.ContextFactory.GlobalSetter
- setContinuation(NativeContinuation) - Method in exception org.mozilla.javascript.ContinuationPending
-
Set continuation object.
- setContinue(Node) - Method in class org.mozilla.javascript.ast.Jump
- setDebugger(Debugger, Object) - Method in class org.mozilla.javascript.Context
-
Set the associated debugger.
- setDeclType(int) - Method in class org.mozilla.javascript.ast.Symbol
-
Sets symbol declaration type
- setDefault(Node) - Method in class org.mozilla.javascript.ast.Jump
- setDefaultNamespace(Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- setDefaultUseStrictDirective(boolean) - Method in class org.mozilla.javascript.Parser
- setDelegee(Scriptable) - Method in class org.mozilla.javascript.Delegator
-
Set the delegee.
- setDestructuringLength(int) - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Sets destructuring length.
- setDouble(double) - Method in class org.mozilla.javascript.Node
- setEachPosition(int) - Method in class org.mozilla.javascript.ast.ForInLoop
-
Sets position of "each" keyword
- SETELEM - Static variable in class org.mozilla.javascript.Token
-
Token types.
- SETELEM_OP - Static variable in class org.mozilla.javascript.Token
- setElement(AstNode) - Method in class org.mozilla.javascript.ast.ElementGet
-
Sets the element being accessed, and sets its parent to this node.
- setElements(List<AstNode>) - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Sets the element list, and sets each element's parent to this node.
- setElements(List<ObjectProperty>) - Method in class org.mozilla.javascript.ast.ObjectLiteral
-
Sets the element list, and updates the parent of each element.
- setElsePart(AstNode) - Method in class org.mozilla.javascript.ast.IfStatement
-
Sets statement to execute if condition is false
- setElsePosition(int) - Method in class org.mozilla.javascript.ast.IfStatement
-
Sets position of "else" keyword, -1 if not present
- setEncodedSource(String) - Method in class org.mozilla.javascript.ast.ScriptNode
-
Used by the code generator.
- setEncodedSourceBounds(int, int) - Method in class org.mozilla.javascript.ast.ScriptNode
-
Used by code generator.
- setEncodedSourceEnd(int) - Method in class org.mozilla.javascript.ast.ScriptNode
-
Used by code generator.
- setEncodedSourceStart(int) - Method in class org.mozilla.javascript.ast.ScriptNode
-
Used by code generator.
- setEndLineno(int) - Method in class org.mozilla.javascript.ast.ScriptNode
- setEnumNumbers(Object, boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
- setErrorReporter(ErrorReporter) - Method in class org.mozilla.javascript.CompilerEnvirons
- setErrorReporter(ErrorReporter) - Method in class org.mozilla.javascript.Context
-
Change the current error reporter.
- setEvalScriptFlag(Script) - Method in interface org.mozilla.javascript.Evaluator
-
Mark the given script to indicate it was created by a call to eval() or to a Function constructor.
- setEvalScriptFlag(Script) - Method in class org.mozilla.javascript.Interpreter
- setEvalScriptFlag(Script) - Method in class org.mozilla.javascript.optimizer.Codegen
- setExpression(AstNode) - Method in class org.mozilla.javascript.ast.ExpressionStatement
-
Sets the wrapped expression, and sets its parent to this node.
- setExpression(AstNode) - Method in class org.mozilla.javascript.ast.ParenthesizedExpression
-
Sets the expression between the parens, and sets the parent to this node.
- setExpression(AstNode) - Method in class org.mozilla.javascript.ast.SwitchCase
-
Sets the case expression,
null
for default case. - setExpression(AstNode) - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Sets the switch discriminant expression, and sets its parent to this node.
- setExpression(AstNode) - Method in class org.mozilla.javascript.ast.ThrowStatement
-
Sets the expression being thrown, and sets its parent to this node.
- setExpression(AstNode) - Method in class org.mozilla.javascript.ast.WithStatement
-
Sets object expression (and its parent link)
- setExpression(AstNode) - Method in class org.mozilla.javascript.ast.XmlElemRef
-
Sets index expression, and sets its parent to this node.
- setExpression(AstNode) - Method in class org.mozilla.javascript.ast.XmlExpression
-
Sets the expression embedded in {}, and sets its parent to this node.
- setExternalArrayData(ExternalArrayData) - Method in class org.mozilla.javascript.ScriptableObject
-
Attach the specified object to this object, and delegate all indexed property lookups to it.
- setFalseExpression(AstNode) - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Sets expression to evaluate if test is false, and sets its parent to this node.
- setFileOffset(int) - Method in class org.mozilla.javascript.ast.ParseProblem
- setFilter(AstNode) - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Sets filter expression, and sets its parent to this node.
- setFilter(AstNode) - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Sets filter expression, and sets its parent to this node.
- setFilterLp(int) - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Sets filter left paren position, or -1 if no filter
- setFilterLp(int) - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Sets filter left paren position, or -1 if no filter
- setFilterRp(int) - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Sets filter right paren position, or -1 if no filter
- setFilterRp(int) - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Sets filter right paren position, or -1 if no filter
- setFinally(Node) - Method in class org.mozilla.javascript.ast.Jump
- setFinallyBlock(AstNode) - Method in class org.mozilla.javascript.ast.TryStatement
-
Sets finally block, and sets its parent to this node.
- setFinallyPosition(int) - Method in class org.mozilla.javascript.ast.TryStatement
-
Sets position of
finally
keyword, if present, or -1 - setFlags(short) - Method in class org.mozilla.classfile.ClassFileWriter
-
Set the class's flags.
- setFlags(String) - Method in class org.mozilla.javascript.ast.RegExpLiteral
-
Sets regexp flags.
- setFragments(List<XmlFragment>) - Method in class org.mozilla.javascript.ast.XmlLiteral
-
Sets fragment list, removing any existing fragments first.
- setFunctionIsGetter() - Method in class org.mozilla.javascript.ast.FunctionNode
- setFunctionIsGetterMethod() - Method in class org.mozilla.javascript.ast.FunctionNode
- setFunctionIsNormalMethod() - Method in class org.mozilla.javascript.ast.FunctionNode
- setFunctionIsSetter() - Method in class org.mozilla.javascript.ast.FunctionNode
- setFunctionIsSetterMethod() - Method in class org.mozilla.javascript.ast.FunctionNode
- setFunctionName(Name) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Sets function name, and sets its parent to this node.
- setFunctionProtoAndParent(BaseFunction, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- setFunctionType(int) - Method in class org.mozilla.javascript.ast.FunctionNode
- setGenerateDebugInfo(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
- setGenerateObserverCount(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
-
Turn on or off generation of code with callbacks to track the count of executed instructions.
- setGenerateObserverCount(boolean) - Method in class org.mozilla.javascript.Context
-
Turn on or off generation of code with callbacks to track the count of executed instructions.
- setGeneratingDebug(boolean) - Method in class org.mozilla.javascript.Context
-
Specify whether or not debug information should be generated.
- setGeneratingSource(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
-
Specify whether or not source information should be generated.
- setGeneratingSource(boolean) - Method in class org.mozilla.javascript.Context
-
Specify whether or not source information should be generated.
- setGetterOrSetter(String, int, Callable, boolean) - Method in class org.mozilla.javascript.ScriptableObject
-
XXX: write docs.
- setHasResult() - Method in class org.mozilla.javascript.ast.ExpressionStatement
-
Called by the parser to set node type to EXPR_RESULT if this node is not within a Function.
- setIdeMode(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
-
Puts the parser in "IDE" mode.
- setIdentifier(String) - Method in class org.mozilla.javascript.ast.Name
-
Sets the node's identifier
- setIfPosition(int) - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Sets position of 'if' keyword
- setIfPosition(int) - Method in class org.mozilla.javascript.ast.CatchClause
-
Sets position of "if" keyword
- setIfPosition(int) - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Sets position of 'if' keyword
- setIgnoreComments(boolean) - Method in class org.mozilla.javascript.xml.XMLLib
- setIgnoreProcessingInstructions(boolean) - Method in class org.mozilla.javascript.xml.XMLLib
- setIgnoreWhitespace(boolean) - Method in class org.mozilla.javascript.xml.XMLLib
- setImmunePrototypeProperty(Object) - Method in class org.mozilla.javascript.BaseFunction
-
Make value as DontEnum, DontDelete, ReadOnly prototype property of this Function object
- setIncrement(AstNode) - Method in class org.mozilla.javascript.ast.ForLoop
-
Sets loop increment expression, and sets its parent to this node.
- setIndex(int) - Method in class org.mozilla.javascript.ast.Symbol
-
Sets symbol's index in its scope
- setInitializer(AstNode) - Method in class org.mozilla.javascript.ast.ForLoop
-
Sets loop initializer expression, and sets its parent to this node.
- setInitializer(AstNode) - Method in class org.mozilla.javascript.ast.VariableInitializer
-
Sets the initial value expression, and sets its parent to this node.
- setInitializer(ObjectLiteral) - Method in class org.mozilla.javascript.ast.NewExpression
-
Sets initializer object.
- setInPosition(int) - Method in class org.mozilla.javascript.ast.ForInLoop
-
Sets position of "in" or "of" keyword
- setInstanceIdAttributes(int, int) - Method in class org.mozilla.javascript.BaseFunction
- setInstanceIdAttributes(int, int) - Method in class org.mozilla.javascript.IdScriptableObject
-
Update the attributes of the given instance property.
- setInstanceIdAttributes(int, int) - Method in class org.mozilla.javascript.NativeArray
- setInstanceIdAttributes(int, int) - Method in class org.mozilla.javascript.regexp.NativeRegExp
- setInstanceIdValue(int, Object) - Method in class org.mozilla.javascript.BaseFunction
- setInstanceIdValue(int, Object) - Method in class org.mozilla.javascript.IdFunctionObjectES6
- setInstanceIdValue(int, Object) - Method in class org.mozilla.javascript.IdScriptableObject
-
Set or delete id value.
- setInstanceIdValue(int, Object) - Method in class org.mozilla.javascript.NativeArray
- setInstanceIdValue(int, Object) - Method in class org.mozilla.javascript.regexp.NativeRegExp
- setInStrictMode(boolean) - Method in class org.mozilla.javascript.ast.ScriptNode
- setInstructionObserverThreshold(int) - Method in class org.mozilla.javascript.Context
-
Set threshold of executed instructions counter that triggers call to
observeInstructionCount()
. - setInvokerOptimizationEnabled(boolean) - Method in class org.mozilla.javascript.ClassCache
-
Deprecated.The method does nothing. Invoker optimization is no longer used by Rhino. On modern JDK like 1.4 or 1.5 the disadvantages of the optimization like increased memory usage or longer initialization time overweight small speed increase that can be gained using generated proxy class to replace reflection.
- setIsDestructuring(boolean) - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Marks this node as being a destructuring form - that is, appearing in a context such as
for ([a, b] in ...)
where it's the target of a destructuring assignment. - setIsDestructuring(boolean) - Method in interface org.mozilla.javascript.ast.DestructuringForm
-
Marks this node as being a destructuring form - that is, appearing in a context such as
for ([a, b] in ...)
where it's the target of a destructuring assignment. - setIsDestructuring(boolean) - Method in class org.mozilla.javascript.ast.ObjectLiteral
-
Marks this node as being a destructuring form - that is, appearing in a context such as
for ([a, b] in ...)
where it's the target of a destructuring assignment. - setIsExpressionClosure(boolean) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Sets whether this is a 1.8 function closure
- setIsForEach(boolean) - Method in class org.mozilla.javascript.ast.ForInLoop
-
Sets whether the loop is a for-each loop
- setIsForEach(boolean) - Method in class org.mozilla.javascript.ast.GeneratorExpressionLoop
-
Sets whether the loop is a for-each loop
- setIsForOf(boolean) - Method in class org.mozilla.javascript.ast.ForInLoop
-
Sets whether the loop is a for-each loop
- setIsGenerator() - Method in class org.mozilla.javascript.ast.FunctionNode
- setIsGenerator() - Method in class org.mozilla.javascript.Parser
- setIsGetter() - Method in class org.mozilla.javascript.ast.ObjectProperty
- setIsGetterMethod() - Method in class org.mozilla.javascript.ast.ObjectProperty
-
Marks this node as a "getter" property.
- setIsNormalMethod() - Method in class org.mozilla.javascript.ast.ObjectProperty
- setIsPostfix(boolean) - Method in class org.mozilla.javascript.ast.UnaryExpression
-
Sets whether the operator is postfix
- setIsSetter() - Method in class org.mozilla.javascript.ast.ObjectProperty
- setIsSetterMethod() - Method in class org.mozilla.javascript.ast.ObjectProperty
-
Marks this node as a "setter" property.
- setIsStatement(boolean) - Method in class org.mozilla.javascript.ast.VariableDeclaration
-
Set or unset the statement flag.
- setIsXmlAttribute(boolean) - Method in class org.mozilla.javascript.ast.XmlExpression
-
Sets whether this is part of an xml attribute value
- setIteratedObject(AstNode) - Method in class org.mozilla.javascript.ast.ForInLoop
-
Sets object being iterated over, and sets its parent to this node.
- setIterator(AstNode) - Method in class org.mozilla.javascript.ast.ForInLoop
-
Sets loop iterator expression: the part before the "in" or "of" keyword.
- setJavaPrimitiveWrap(boolean) - Method in class org.mozilla.javascript.WrapFactory
- setJsDocNode(Comment) - Method in class org.mozilla.javascript.Node
-
Sets the JsDoc comment string attached to this node.
- setJumpStatement(Jump) - Method in class org.mozilla.javascript.ast.Jump
- setLabel(Name) - Method in class org.mozilla.javascript.ast.ContinueStatement
-
Sets the intended label of this continue statement.
- setLabels(List<Label>) - Method in class org.mozilla.javascript.ast.LabeledStatement
-
Sets label list, setting the parent of each label in the list.
- setLanguageVersion(int) - Method in class org.mozilla.javascript.CompilerEnvirons
- setLanguageVersion(int) - Method in class org.mozilla.javascript.Context
-
Set the language version.
- setLb(int) - Method in class org.mozilla.javascript.ast.ElementGet
-
Sets left bracket position
- setLb(int) - Method in class org.mozilla.javascript.ast.XmlElemRef
-
Sets left bracket position, or -1 if missing.
- setLeft(AstNode) - Method in class org.mozilla.javascript.ast.InfixExpression
-
Sets the left-hand side of the expression, and sets its parent to this node.
- setLeftAndRight(AstNode, AstNode) - Method in class org.mozilla.javascript.ast.InfixExpression
- setLength(int) - Method in class org.mozilla.javascript.ast.AstNode
-
Sets node length
- setLength(int) - Method in class org.mozilla.javascript.ast.ParseProblem
- setLineno(int) - Method in class org.mozilla.javascript.Node
- setLocale(Locale) - Method in class org.mozilla.javascript.Context
-
Set the current locale.
- setLoop(Jump) - Method in class org.mozilla.javascript.ast.Jump
- setLoops(List<ArrayComprehensionLoop>) - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Sets loop list
- setLoops(List<GeneratorExpressionLoop>) - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Sets loop list
- setLp(int) - Method in class org.mozilla.javascript.ast.CatchClause
-
Sets left paren position
- setLp(int) - Method in class org.mozilla.javascript.ast.FunctionCall
-
Sets left paren position
- setLp(int) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Sets left paren position
- setLp(int) - Method in class org.mozilla.javascript.ast.IfStatement
-
Sets left paren offset
- setLp(int) - Method in class org.mozilla.javascript.ast.LetNode
-
Sets left paren position
- setLp(int) - Method in class org.mozilla.javascript.ast.Loop
-
Sets left paren position
- setLp(int) - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Sets left paren position
- setLp(int) - Method in class org.mozilla.javascript.ast.WithStatement
-
Sets left paren offset
- setMainMethodClass(String) - Method in class org.mozilla.javascript.optimizer.ClassCompiler
-
Set the class name to use for main method implementation.
- setMainMethodClass(String) - Method in class org.mozilla.javascript.optimizer.Codegen
- setMaximumInterpreterStackDepth(int) - Method in class org.mozilla.javascript.Context
-
Sets the maximum stack depth (in terms of number of call frames) allowed in a single invocation of interpreter.
- setMemberExprNode(AstNode) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Rhino supports a nonstandard Ecma extension that allows you to say, for instance, function a.b.c(arg1, arg) {...}, and it will be rewritten at codegen time to: a.b.c = function(arg1, arg2) {...} If we detect an expression other than a simple Name in the position where a function name was expected, we record that expression here.
- setMessage(String) - Method in class org.mozilla.javascript.ast.ErrorNode
-
Sets error message key
- setMessage(String) - Method in class org.mozilla.javascript.ast.ParseProblem
- setModuleScriptProvider(ModuleScriptProvider) - Method in class org.mozilla.javascript.commonjs.module.RequireBuilder
-
Sets the
ModuleScriptProvider
for theRequire
instances that this builder builds. - setName(String) - Method in class org.mozilla.javascript.ast.Label
-
Sets the label text
- setName(String) - Method in class org.mozilla.javascript.ast.Symbol
-
Sets symbol name
- setName(Scriptable, Object, Context, Scriptable, String) - Static method in class org.mozilla.javascript.ScriptRuntime
- SETNAME - Static variable in class org.mozilla.javascript.Token
-
Token types.
- setNamespace(Name) - Method in class org.mozilla.javascript.ast.XmlRef
-
Sets namespace, and sets its parent to this node.
- setNode(Node) - Method in class org.mozilla.javascript.ast.Symbol
-
Sets the node associated with this identifier
- setNodeType(int) - Method in class org.mozilla.javascript.ast.ObjectProperty
-
Sets the node type.
- setNodeType(int) - Method in class org.mozilla.javascript.ast.VariableInitializer
-
Sets the node type.
- setNumber(double) - Method in class org.mozilla.javascript.ast.NumberLiteral
-
Sets the node's
double
value. - setObjectElem(Object, Object, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- setObjectElem(Object, Object, Object, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Call obj.[[Put]](id, value)
- setObjectElem(Scriptable, Object, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- setObjectIndex(Object, double, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- setObjectIndex(Object, double, Object, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
A cheaper and less general version of the above for well-known argument types.
- setObjectIndex(Scriptable, int, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- setObjectProp(Object, String, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- setObjectProp(Object, String, Object, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Version of setObjectElem when elem is a valid JS identifier name.
- setObjectProp(Scriptable, String, Object, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- setObjectProtoAndParent(ScriptableObject, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- setOperand(AstNode) - Method in class org.mozilla.javascript.ast.UnaryExpression
-
Sets the operand, and sets its parent to be this node.
- setOperator(int) - Method in class org.mozilla.javascript.ast.InfixExpression
-
Sets operator token – like
Node.setType(int)
, but throws an exception if the operator is invalid. - setOperator(int) - Method in class org.mozilla.javascript.ast.UnaryExpression
-
Sets operator – same as
Node.setType(int)
, but throws an exception if the operator is invalid - setOperatorPosition(int) - Method in class org.mozilla.javascript.ast.InfixExpression
-
Sets operator token's relative offset
- setOptimizationLevel(int) - Method in class org.mozilla.javascript.CompilerEnvirons
- setOptimizationLevel(int) - Method in class org.mozilla.javascript.Context
-
Set the current optimization level.
- setParams(List<AstNode>) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Sets the function parameter list, and sets the parent for each element of the list.
- setParens(int, int) - Method in class org.mozilla.javascript.ast.CatchClause
-
Sets both paren positions
- setParens(int, int) - Method in class org.mozilla.javascript.ast.ElementGet
- setParens(int, int) - Method in class org.mozilla.javascript.ast.FunctionCall
-
Sets both paren positions
- setParens(int, int) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Sets both paren positions
- setParens(int, int) - Method in class org.mozilla.javascript.ast.IfStatement
-
Sets both paren positions
- setParens(int, int) - Method in class org.mozilla.javascript.ast.LetNode
-
Sets both paren positions
- setParens(int, int) - Method in class org.mozilla.javascript.ast.Loop
-
Sets both paren positions
- setParens(int, int) - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Sets both paren positions
- setParens(int, int) - Method in class org.mozilla.javascript.ast.WithStatement
-
Sets both paren positions
- setParent(AstNode) - Method in class org.mozilla.javascript.ast.AstNode
-
Sets the node parent.
- setParentScope(Scope) - Method in class org.mozilla.javascript.ast.Scope
-
Sets parent scope
- setParentScope(Scriptable) - Method in class org.mozilla.javascript.Delegator
- setParentScope(Scriptable) - Method in class org.mozilla.javascript.NativeJavaObject
-
Sets the parent (enclosing) scope of the object.
- setParentScope(Scriptable) - Method in class org.mozilla.javascript.NativeWith
- setParentScope(Scriptable) - Method in interface org.mozilla.javascript.Scriptable
-
Set the parent scope of the object.
- setParentScope(Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
Sets the parent (enclosing) scope of the object.
- setPosition(int) - Method in class org.mozilla.javascript.ast.AstNode
-
Sets relative position in parent
- setPostExec(Script) - Method in class org.mozilla.javascript.commonjs.module.RequireBuilder
-
Sets the script that should execute in every module's scope after the module's own script has executed.
- setPreExec(Script) - Method in class org.mozilla.javascript.commonjs.module.RequireBuilder
-
Sets the script that should execute in every module's scope before the module's own script has executed.
- setPrettyIndent(int) - Method in class org.mozilla.javascript.xml.XMLLib
- setPrettyPrinting(boolean) - Method in class org.mozilla.javascript.xml.XMLLib
- SETPROP - Static variable in class org.mozilla.javascript.Token
-
Token types.
- SETPROP_OP - Static variable in class org.mozilla.javascript.Token
- setProperty(Name) - Method in class org.mozilla.javascript.ast.PropertyGet
-
Sets the property being accessed, and sets its parent to this node.
- setProperty(XmlRef) - Method in class org.mozilla.javascript.ast.XmlMemberGet
-
Sets the XML member-ref expression, and sets its parent to this node.
- setPropName(Name) - Method in class org.mozilla.javascript.ast.XmlPropRef
-
Sets property name, and sets its parent to this node.
- setPrototype(Scriptable) - Method in class org.mozilla.javascript.Delegator
- setPrototype(Scriptable) - Method in class org.mozilla.javascript.NativeJavaObject
-
Sets the prototype of the object.
- setPrototype(Scriptable) - Method in class org.mozilla.javascript.NativeWith
- setPrototype(Scriptable) - Method in interface org.mozilla.javascript.Scriptable
-
Set the prototype of the object.
- setPrototype(Scriptable) - Method in class org.mozilla.javascript.ScriptableObject
-
Sets the prototype of the object.
- setQuestionMarkPosition(int) - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Sets position of ? token
- setQuoteCharacter(char) - Method in class org.mozilla.javascript.ast.StringLiteral
- setRb(int) - Method in class org.mozilla.javascript.ast.ElementGet
-
Sets right bracket position, -1 if not present
- setRb(int) - Method in class org.mozilla.javascript.ast.XmlElemRef
-
Sets right bracket position, -1 if missing.
- setRecordingComments(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
- setRecordingLocalJsDocComments(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
- setRecoverFromErrors(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
-
Turn on or off full error recovery.
- setRegExpProxy(Context, RegExpProxy) - Static method in class org.mozilla.javascript.ScriptRuntime
- setRelative(int) - Method in class org.mozilla.javascript.ast.AstNode
-
Make this node's position relative to a parent.
- setRequiresActivation() - Method in class org.mozilla.javascript.ast.FunctionNode
- setRequiresActivation() - Method in class org.mozilla.javascript.Parser
- setReservedKeywordAsIdentifier(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
- setResult(AstNode) - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Sets result expression, and sets its parent to this node.
- setResult(AstNode) - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Sets result expression, and sets its parent to this node.
- setReturnValue(AstNode) - Method in class org.mozilla.javascript.ast.ReturnStatement
-
Sets return value expression, and sets its parent to this node.
- setRight(AstNode) - Method in class org.mozilla.javascript.ast.InfixExpression
-
Sets the right-hand side of the expression, and sets its parent to this node.
- setRp(int) - Method in class org.mozilla.javascript.ast.CatchClause
-
Sets right paren position
- setRp(int) - Method in class org.mozilla.javascript.ast.FunctionCall
-
Sets right paren position
- setRp(int) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Sets right paren position
- setRp(int) - Method in class org.mozilla.javascript.ast.IfStatement
-
Sets right paren position, -1 if missing
- setRp(int) - Method in class org.mozilla.javascript.ast.LetNode
-
Sets right paren position
- setRp(int) - Method in class org.mozilla.javascript.ast.Loop
-
Sets right paren position
- setRp(int) - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Sets right paren position
- setRp(int) - Method in class org.mozilla.javascript.ast.WithStatement
-
Sets right paren offset
- setRp(int) - Method in class org.mozilla.javascript.ast.XmlDotQuery
-
Sets right-paren position
- setSandboxed(boolean) - Method in class org.mozilla.javascript.commonjs.module.RequireBuilder
-
Sets whether the created require() instances will be sandboxed.
- setScope(Scope) - Method in class org.mozilla.javascript.ast.Name
-
Set the
Scope
associated with this node. - setScope(Scope) - Method in class org.mozilla.javascript.Node
-
Can only be called when node has String context.
- setSecurityController(SecurityController) - Method in class org.mozilla.javascript.Context
-
Set the security controller for this context.
- setSize(int) - Method in class org.mozilla.javascript.ObjArray
- setSkipCount(int) - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Used by code generator.
- setSourceName(String) - Method in class org.mozilla.javascript.ast.ParseProblem
- setSourceName(String) - Method in class org.mozilla.javascript.ast.ScriptNode
-
Sets the URI, path or descriptive text indicating the origin of this script's source code.
- setStackStyle(StackStyle) - Static method in exception org.mozilla.javascript.RhinoException
-
Specify the stack style to use from between three different formats: "Rhino" (the default), "Mozilla", and "V8." See StackStyle for information about each.
- setStackTop(short) - Method in class org.mozilla.classfile.ClassFileWriter
- setStatement(AstNode) - Method in class org.mozilla.javascript.ast.LabeledStatement
-
Sets the labeled statement, and sets its parent to this node.
- setStatement(AstNode) - Method in class org.mozilla.javascript.ast.WithStatement
-
Sets the statement (and sets its parent link)
- setStatements(List<AstNode>) - Method in class org.mozilla.javascript.ast.SwitchCase
-
Sets statement list.
- setStrictMode(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
- setString(String) - Method in class org.mozilla.javascript.Node
-
Can only be called when node has String context.
- setSymbols(List<Symbol>) - Method in class org.mozilla.javascript.ast.ScriptNode
- setSymbolTable(Map<String, Symbol>) - Method in class org.mozilla.javascript.ast.Scope
-
Sets the symbol table for this scope.
- setTableSwitchJump(int, int, int) - Method in class org.mozilla.classfile.ClassFileWriter
-
Set a jump case for a tableswitch instruction.
- setTarget(AstNode) - Method in class org.mozilla.javascript.ast.ElementGet
-
Sets target object, and sets its parent to this node.
- setTarget(AstNode) - Method in class org.mozilla.javascript.ast.FunctionCall
-
Sets node evaluating to the function to call, and sets its parent to this node.
- setTarget(AstNode) - Method in class org.mozilla.javascript.ast.PropertyGet
-
Sets target object, and sets its parent to this node.
- setTarget(AstNode) - Method in class org.mozilla.javascript.ast.VariableInitializer
-
Sets the variable name or destructuring form, and sets its parent to this node.
- setTarget(AstNode) - Method in class org.mozilla.javascript.ast.XmlMemberGet
-
Sets target object, and sets its parent to this node.
- setTarget(Loop) - Method in class org.mozilla.javascript.ast.ContinueStatement
-
Sets continue target.
- setTargetExtends(Class<?>) - Method in class org.mozilla.javascript.optimizer.ClassCompiler
-
Set the class that the generated target will extend.
- setTargetImplements(Class<?>[]) - Method in class org.mozilla.javascript.optimizer.ClassCompiler
-
Set the interfaces that the generated target will implement.
- SETTER - org.mozilla.javascript.ast.FunctionNode.Form
- setTestExpression(AstNode) - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Sets test expression, and sets its parent.
- setThenPart(AstNode) - Method in class org.mozilla.javascript.ast.IfStatement
-
Sets statement to execute if condition is true
- setTop(ScriptNode) - Method in class org.mozilla.javascript.ast.Scope
-
Sets top current script or function scope
- setTrueExpression(AstNode) - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Sets expression to evaluate if test is true, and sets its parent to this node.
- setTryBlock(AstNode) - Method in class org.mozilla.javascript.ast.TryStatement
-
Sets try block.
- setType(int) - Method in class org.mozilla.javascript.ast.KeywordLiteral
-
Sets node token type
- setType(int) - Method in class org.mozilla.javascript.ast.VariableDeclaration
-
Sets the node type and returns this node.
- setType(int) - Method in class org.mozilla.javascript.Node
-
Sets the node type and returns this node.
- setType(ParseProblem.Type) - Method in class org.mozilla.javascript.ast.ParseProblem
- setValue(int) - Method in class org.mozilla.javascript.ObjToIntMap.Iterator
- setValue(String) - Method in class org.mozilla.javascript.ast.NumberLiteral
-
Sets the node's value
- setValue(String) - Method in class org.mozilla.javascript.ast.RegExpLiteral
-
Sets the regexp string without delimiters
- setValue(String) - Method in class org.mozilla.javascript.ast.StringLiteral
-
Sets the node's value.
- setValue(AstNode) - Method in class org.mozilla.javascript.ast.Yield
-
Sets yielded expression, and sets its parent to this node.
- SETVAR - Static variable in class org.mozilla.javascript.Token
-
Token types.
- setVariables(List<VariableInitializer>) - Method in class org.mozilla.javascript.ast.VariableDeclaration
-
Sets variable list
- setVariables(VariableDeclaration) - Method in class org.mozilla.javascript.ast.LetNode
-
Sets variable list.
- setVarName(Name) - Method in class org.mozilla.javascript.ast.CatchClause
-
Sets catch variable node, and sets its parent to this node.
- setWarnTrailingComma(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
- setWhilePosition(int) - Method in class org.mozilla.javascript.ast.DoLoop
-
Sets source position of "while" keyword
- setWrapFactory(WrapFactory) - Method in class org.mozilla.javascript.Context
-
Set a WrapFactory for this Context.
- setXml(String) - Method in class org.mozilla.javascript.ast.XmlString
-
Sets the string for this XML component.
- setXmlAvailable(boolean) - Method in class org.mozilla.javascript.CompilerEnvirons
- shallowEq(Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- SHEQ - Static variable in class org.mozilla.javascript.Token
-
Token types.
- SHNE - Static variable in class org.mozilla.javascript.Token
-
Token types.
- ShortClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- shortName() - Method in class org.mozilla.javascript.ast.AstNode
-
Returns a short, descriptive name for the node, such as "ArrayComprehension".
- simpleAssignment(Node, Node) - Method in class org.mozilla.javascript.Parser
- SIPUSH - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- SIXTEEN_BIT - Static variable in class org.mozilla.javascript.typedarrays.Conversions
- size() - Method in class org.mozilla.javascript.NativeArray
- size() - Method in class org.mozilla.javascript.ObjArray
- size() - Method in class org.mozilla.javascript.ObjToIntMap
- size() - Method in class org.mozilla.javascript.ScriptableObject
- size() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- size() - Method in class org.mozilla.javascript.UintMap
- SKIP_INDEXES_PROP - Static variable in class org.mozilla.javascript.Node
- slice(int, int) - Method in class org.mozilla.javascript.typedarrays.NativeArrayBuffer
-
Return a new buffer that represents a slice of this buffer's content, starting at position "start" and ending at position "end".
- SoftCachingModuleScriptProvider - Class in org.mozilla.javascript.commonjs.module.provider
-
A module script provider that uses a module source provider to load modules and caches the loaded modules.
- SoftCachingModuleScriptProvider(ModuleSourceProvider) - Constructor for class org.mozilla.javascript.commonjs.module.provider.SoftCachingModuleScriptProvider
-
Creates a new module provider with the specified module source provider.
- Sorting - Class in org.mozilla.javascript
- Sorting() - Constructor for class org.mozilla.javascript.Sorting
- sourceName() - Method in exception org.mozilla.javascript.RhinoException
-
Get the uri of the script source containing the error, or null if that information is not available.
- SPECIALCALL_EVAL - Static variable in class org.mozilla.javascript.Node
- SPECIALCALL_PROP - Static variable in class org.mozilla.javascript.Node
- SPECIALCALL_WITH - Static variable in class org.mozilla.javascript.Node
- specialRef(Object, String, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- specialRef(Object, String, Context, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- SPECIES - Static variable in class org.mozilla.javascript.SymbolKey
- SPLIT - Static variable in class org.mozilla.javascript.SymbolKey
- splitScope(Scope) - Static method in class org.mozilla.javascript.ast.Scope
-
Creates a new scope node, moving symbol table information from "scope" to the new node, and making "scope" a nested scope contained by the new node.
- StackStyle - Enum in org.mozilla.javascript
-
This class distinguishes between the three different supported stack trace formats.
- start() - Method in class org.mozilla.javascript.ObjToIntMap.Iterator
- startMethod(String, String, short) - Method in class org.mozilla.classfile.ClassFileWriter
-
Add a method and begin adding code.
- staticType - Variable in class org.mozilla.javascript.NativeJavaObject
- stopMethod(short) - Method in class org.mozilla.classfile.ClassFileWriter
-
Complete generation of the method.
- storeUint32Result(Context, long) - Static method in class org.mozilla.javascript.ScriptRuntime
- STRICT_SETNAME - Static variable in class org.mozilla.javascript.Token
-
Token types.
- strictSetName(Scriptable, Object, Context, Scriptable, String) - Static method in class org.mozilla.javascript.ScriptRuntime
- String - org.mozilla.javascript.TopLevel.Builtins
-
The built-in String type.
- STRING - Static variable in class org.mozilla.javascript.Token
-
Token types.
- StringClass - Static variable in class org.mozilla.javascript.ScriptRuntime
- stringify(Context, Scriptable, Object, Object, Object) - Static method in class org.mozilla.javascript.NativeJSON
- stringIsCompilableUnit(String) - Method in class org.mozilla.javascript.Context
-
Check whether a string is ready to be compiled.
- StringLikeComparator() - Constructor for class org.mozilla.javascript.NativeArray.StringLikeComparator
- StringLiteral - Class in org.mozilla.javascript.ast
-
AST node for a single- or double-quoted string literal.
- StringLiteral() - Constructor for class org.mozilla.javascript.ast.StringLiteral
- StringLiteral(int) - Constructor for class org.mozilla.javascript.ast.StringLiteral
- StringLiteral(int, int) - Constructor for class org.mozilla.javascript.ast.StringLiteral
-
Creates a string literal node at the specified position.
- StrongCachingModuleScriptProvider - Class in org.mozilla.javascript.commonjs.module.provider
-
A module script provider that uses a module source provider to load modules and caches the loaded modules.
- StrongCachingModuleScriptProvider(ModuleSourceProvider) - Constructor for class org.mozilla.javascript.commonjs.module.provider.StrongCachingModuleScriptProvider
-
Creates a new module provider with the specified module source provider.
- SUB - Static variable in class org.mozilla.javascript.Token
-
Token types.
- subList(int, int) - Method in class org.mozilla.javascript.NativeArray
- subList(int, int) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- subSequence(int, int) - Method in class org.mozilla.javascript.ConsString
- SubString - Class in org.mozilla.javascript.regexp
-
A utility class for lazily instantiated substrings.
- SubString() - Constructor for class org.mozilla.javascript.regexp.SubString
- SubString(String) - Constructor for class org.mozilla.javascript.regexp.SubString
- SubString(String, int, int) - Constructor for class org.mozilla.javascript.regexp.SubString
- SWAP - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- SWITCH - Static variable in class org.mozilla.javascript.Token
- SwitchCase - Class in org.mozilla.javascript.ast
-
Switch-case AST node type.
- SwitchCase() - Constructor for class org.mozilla.javascript.ast.SwitchCase
- SwitchCase(int) - Constructor for class org.mozilla.javascript.ast.SwitchCase
- SwitchCase(int, int) - Constructor for class org.mozilla.javascript.ast.SwitchCase
- SwitchStatement - Class in org.mozilla.javascript.ast
-
Switch statement AST node type.
- SwitchStatement() - Constructor for class org.mozilla.javascript.ast.SwitchStatement
- SwitchStatement(int) - Constructor for class org.mozilla.javascript.ast.SwitchStatement
- SwitchStatement(int, int) - Constructor for class org.mozilla.javascript.ast.SwitchStatement
- Symbol - Class in org.mozilla.javascript.ast
-
Represents a symbol-table entry.
- Symbol - org.mozilla.javascript.TopLevel.Builtins
-
The built-in Symbol type.
- Symbol - Interface in org.mozilla.javascript
-
A Symbol is a JavaScript objecy that obeys the special properties of the Symbol prototype.
- Symbol() - Constructor for class org.mozilla.javascript.ast.Symbol
- Symbol(int, String) - Constructor for class org.mozilla.javascript.ast.Symbol
-
Constructs a new Symbol with a specific name and declaration type
- SymbolKey - Class in org.mozilla.javascript
-
A SymbolKey is one of the implementations of Symbol.
- SymbolKey(String) - Constructor for class org.mozilla.javascript.SymbolKey
- SymbolScriptable - Interface in org.mozilla.javascript
-
This interface may be combined with any object that implements Scriptable to add support for properties keyed by Symbol objects (as opposed to String and number objects as in previous versions of JavaScript.
- symbolTable - Variable in class org.mozilla.javascript.ast.Scope
- Synchronizer - Class in org.mozilla.javascript
-
This class provides support for implementing Java-style synchronized methods in Javascript.
- Synchronizer(Scriptable) - Constructor for class org.mozilla.javascript.Synchronizer
-
Create a new synchronized function from an existing one.
- Synchronizer(Scriptable, Object) - Constructor for class org.mozilla.javascript.Synchronizer
-
Create a new synchronized function from an existing one using an explicit object as synchronization object.
T
- T_BOOLEAN - Static variable in class org.mozilla.classfile.ByteCode
-
Types for the NEWARRAY opcode.
- T_BYTE - Static variable in class org.mozilla.classfile.ByteCode
-
Types for the NEWARRAY opcode.
- T_CHAR - Static variable in class org.mozilla.classfile.ByteCode
-
Types for the NEWARRAY opcode.
- T_DOUBLE - Static variable in class org.mozilla.classfile.ByteCode
-
Types for the NEWARRAY opcode.
- T_FLOAT - Static variable in class org.mozilla.classfile.ByteCode
-
Types for the NEWARRAY opcode.
- T_INT - Static variable in class org.mozilla.classfile.ByteCode
-
Types for the NEWARRAY opcode.
- T_LONG - Static variable in class org.mozilla.classfile.ByteCode
-
Types for the NEWARRAY opcode.
- T_SHORT - Static variable in class org.mozilla.classfile.ByteCode
-
Types for the NEWARRAY opcode.
- TABLESWITCH - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- target - Variable in class org.mozilla.javascript.ast.FunctionCall
- target - Variable in class org.mozilla.javascript.ast.Jump
- TARGET - Static variable in class org.mozilla.javascript.Token
- TARGETBLOCK_PROP - Static variable in class org.mozilla.javascript.Node
- TEST - Static variable in class org.mozilla.javascript.regexp.NativeRegExp
- testUint32String(String) - Static method in class org.mozilla.javascript.ScriptRuntime
-
If str is a decimal presentation of Uint32 value, return it as long.
- THIRTYTWO_BIT - Static variable in class org.mozilla.javascript.typedarrays.Conversions
- THIS - Static variable in class org.mozilla.javascript.Token
-
Token types.
- THISFN - Static variable in class org.mozilla.javascript.Token
-
Token types.
- thisObj - Variable in class org.mozilla.javascript.optimizer.OptRuntime.GeneratorState
- THROW - Static variable in class org.mozilla.javascript.Token
-
Token types.
- throwAsScriptRuntimeEx(Throwable) - Static method in class org.mozilla.javascript.Context
-
Rethrow the exception wrapping it as the script runtime exception.
- throwCustomError(Context, Scriptable, String, String) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Equivalent to executing "new $constructorName(message, sourceFileName, sourceLineNo)" from JavaScript.
- throwError(Context, Scriptable, String) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Equivalent to executing "new Error(message, sourceFileName, sourceLineNo)" from JavaScript.
- ThrowStatement - Class in org.mozilla.javascript.ast
-
Throw statement.
- ThrowStatement() - Constructor for class org.mozilla.javascript.ast.ThrowStatement
- ThrowStatement(int) - Constructor for class org.mozilla.javascript.ast.ThrowStatement
- ThrowStatement(int, int) - Constructor for class org.mozilla.javascript.ast.ThrowStatement
- ThrowStatement(int, int, AstNode) - Constructor for class org.mozilla.javascript.ast.ThrowStatement
- ThrowStatement(int, AstNode) - Constructor for class org.mozilla.javascript.ast.ThrowStatement
- ThrowStatement(AstNode) - Constructor for class org.mozilla.javascript.ast.ThrowStatement
- throwStopIteration(Object) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- TO_DOUBLE - Static variable in class org.mozilla.javascript.Token
- TO_OBJECT - Static variable in class org.mozilla.javascript.Token
- TO_PRIMITIVE - Static variable in class org.mozilla.javascript.SymbolKey
- TO_SOURCE_FLAG - Static variable in class org.mozilla.javascript.Decompiler
-
Flag to indicate that the decompilation generates toSource result.
- TO_STRING_TAG - Static variable in class org.mozilla.javascript.SymbolKey
- toArray() - Method in class org.mozilla.javascript.NativeArray
- toArray() - Method in class org.mozilla.javascript.ObjArray
- toArray() - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- toArray(Object[]) - Method in class org.mozilla.javascript.NativeArray
- toArray(Object[]) - Method in class org.mozilla.javascript.ObjArray
- toArray(Object[], int) - Method in class org.mozilla.javascript.ObjArray
- toArray(U[]) - Method in class org.mozilla.javascript.typedarrays.NativeTypedArrayView
- toBoolean(Object) - Static method in class org.mozilla.javascript.Context
-
Convert the value to a JavaScript boolean value.
- toBoolean(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Convert the value to a boolean.
- toByteArray() - Method in class org.mozilla.classfile.ClassFileWriter
-
Get the class file as array of bytesto the OutputStream.
- toCharSequence(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- toDefaultXmlNamespace(Context, Object) - Method in class org.mozilla.javascript.xml.XMLLib
-
Construct namespace for default xml statement.
- toInt16(Object) - Static method in class org.mozilla.javascript.typedarrays.Conversions
- toInt32(double) - Static method in class org.mozilla.javascript.ScriptRuntime
- toInt32(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
-
See ECMA 9.5.
- toInt32(Object) - Static method in class org.mozilla.javascript.typedarrays.Conversions
- toInt32(Object[], int) - Static method in class org.mozilla.javascript.ScriptRuntime
- toInt8(Object) - Static method in class org.mozilla.javascript.typedarrays.Conversions
- toInteger(double) - Static method in class org.mozilla.javascript.ScriptRuntime
- toInteger(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
-
See ECMA 9.4.
- toInteger(Object[], int) - Static method in class org.mozilla.javascript.ScriptRuntime
- toIterator(Context, Scriptable, Scriptable, boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
- Token - Class in org.mozilla.javascript
-
This class implements the JavaScript scanner.
- Token() - Constructor for class org.mozilla.javascript.Token
- Token.CommentType - Enum in org.mozilla.javascript
- toNumber(Object) - Static method in class org.mozilla.javascript.Context
-
Convert the value to a JavaScript Number value.
- toNumber(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Convert the value to a number.
- toNumber(Object[], int) - Static method in class org.mozilla.javascript.ScriptRuntime
- toNumber(String) - Static method in class org.mozilla.javascript.ScriptRuntime
-
ToNumber applied to the String type See ECMA 9.3.1
- toObject(Object, Scriptable) - Static method in class org.mozilla.javascript.Context
-
Convert the value to an JavaScript object value.
- toObject(Object, Scriptable, Class<?>) - Static method in class org.mozilla.javascript.Context
-
Deprecated.
- toObject(Context, Scriptable, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Convert the value to an object.
- toObject(Context, Scriptable, Object, Class<?>) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.Use
ScriptRuntime.toObject(Context, Scriptable, Object)
instead. - toObject(Scriptable, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- toObject(Scriptable, Object, Class<?>) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.Use
ScriptRuntime.toObject(Scriptable, Object)
instead. - toObjectOrNull(Context, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- toObjectOrNull(Context, Object, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- top - Variable in class org.mozilla.javascript.ast.Scope
- TopLevel - Class in org.mozilla.javascript
-
A top-level scope object that provides special means to cache and preserve the initial values of the built-in constructor properties for better ECMAScript compliance.
- TopLevel() - Constructor for class org.mozilla.javascript.TopLevel
- TopLevel.Builtins - Enum in org.mozilla.javascript
-
An enumeration of built-in ECMAScript objects.
- toPrimitive(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- toPrimitive(Object, Class<?>) - Static method in class org.mozilla.javascript.ScriptRuntime
- toSource() - Method in class org.mozilla.javascript.ast.AstNode
-
Prints the source indented to depth 0.
- toSource(int) - Method in class org.mozilla.javascript.ast.ArrayComprehension
- toSource(int) - Method in class org.mozilla.javascript.ast.ArrayComprehensionLoop
- toSource(int) - Method in class org.mozilla.javascript.ast.ArrayLiteral
- toSource(int) - Method in class org.mozilla.javascript.ast.AstNode
-
Emits source code for this node.
- toSource(int) - Method in class org.mozilla.javascript.ast.AstRoot
- toSource(int) - Method in class org.mozilla.javascript.ast.Block
- toSource(int) - Method in class org.mozilla.javascript.ast.BreakStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.CatchClause
- toSource(int) - Method in class org.mozilla.javascript.ast.Comment
- toSource(int) - Method in class org.mozilla.javascript.ast.ConditionalExpression
- toSource(int) - Method in class org.mozilla.javascript.ast.ContinueStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.DoLoop
- toSource(int) - Method in class org.mozilla.javascript.ast.ElementGet
- toSource(int) - Method in class org.mozilla.javascript.ast.EmptyExpression
- toSource(int) - Method in class org.mozilla.javascript.ast.EmptyStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.ErrorNode
- toSource(int) - Method in class org.mozilla.javascript.ast.ExpressionStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.ForInLoop
- toSource(int) - Method in class org.mozilla.javascript.ast.ForLoop
- toSource(int) - Method in class org.mozilla.javascript.ast.FunctionCall
- toSource(int) - Method in class org.mozilla.javascript.ast.FunctionNode
- toSource(int) - Method in class org.mozilla.javascript.ast.GeneratorExpression
- toSource(int) - Method in class org.mozilla.javascript.ast.GeneratorExpressionLoop
- toSource(int) - Method in class org.mozilla.javascript.ast.IfStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.InfixExpression
- toSource(int) - Method in class org.mozilla.javascript.ast.Jump
- toSource(int) - Method in class org.mozilla.javascript.ast.KeywordLiteral
- toSource(int) - Method in class org.mozilla.javascript.ast.Label
- toSource(int) - Method in class org.mozilla.javascript.ast.LabeledStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.LetNode
- toSource(int) - Method in class org.mozilla.javascript.ast.Name
- toSource(int) - Method in class org.mozilla.javascript.ast.NewExpression
- toSource(int) - Method in class org.mozilla.javascript.ast.NumberLiteral
- toSource(int) - Method in class org.mozilla.javascript.ast.ObjectLiteral
- toSource(int) - Method in class org.mozilla.javascript.ast.ObjectProperty
- toSource(int) - Method in class org.mozilla.javascript.ast.ParenthesizedExpression
- toSource(int) - Method in class org.mozilla.javascript.ast.PropertyGet
- toSource(int) - Method in class org.mozilla.javascript.ast.RegExpLiteral
- toSource(int) - Method in class org.mozilla.javascript.ast.ReturnStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.Scope
- toSource(int) - Method in class org.mozilla.javascript.ast.StringLiteral
- toSource(int) - Method in class org.mozilla.javascript.ast.SwitchCase
- toSource(int) - Method in class org.mozilla.javascript.ast.SwitchStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.ThrowStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.TryStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.UnaryExpression
- toSource(int) - Method in class org.mozilla.javascript.ast.VariableDeclaration
- toSource(int) - Method in class org.mozilla.javascript.ast.VariableInitializer
- toSource(int) - Method in class org.mozilla.javascript.ast.WhileLoop
- toSource(int) - Method in class org.mozilla.javascript.ast.WithStatement
- toSource(int) - Method in class org.mozilla.javascript.ast.XmlDotQuery
- toSource(int) - Method in class org.mozilla.javascript.ast.XmlElemRef
- toSource(int) - Method in class org.mozilla.javascript.ast.XmlExpression
- toSource(int) - Method in class org.mozilla.javascript.ast.XmlLiteral
- toSource(int) - Method in class org.mozilla.javascript.ast.XmlMemberGet
- toSource(int) - Method in class org.mozilla.javascript.ast.XmlPropRef
- toSource(int) - Method in class org.mozilla.javascript.ast.XmlString
- toSource(int) - Method in class org.mozilla.javascript.ast.Yield
- toString() - Method in class org.mozilla.javascript.ast.AstNode.DebugPrintVisitor
- toString() - Method in class org.mozilla.javascript.ast.ErrorCollector
- toString() - Method in class org.mozilla.javascript.ast.ParseProblem
- toString() - Method in class org.mozilla.javascript.ast.Symbol
- toString() - Method in class org.mozilla.javascript.ConsString
- toString() - Method in class org.mozilla.javascript.NativeCallSite
- toString() - Method in class org.mozilla.javascript.NativeJavaClass
- toString() - Method in class org.mozilla.javascript.NativeJavaConstructor
- toString() - Method in class org.mozilla.javascript.NativeJavaMethod
- toString() - Method in class org.mozilla.javascript.NativeJavaPackage
- toString() - Method in class org.mozilla.javascript.NativeObject
- toString() - Method in class org.mozilla.javascript.NativeSymbol
- toString() - Method in class org.mozilla.javascript.Node
- toString() - Method in class org.mozilla.javascript.regexp.NativeRegExp
- toString() - Method in class org.mozilla.javascript.regexp.SubString
- toString() - Method in class org.mozilla.javascript.ScriptStackElement
- toString() - Method in class org.mozilla.javascript.SymbolKey
- toString() - Method in class org.mozilla.javascript.UniqueTag
- toString() - Method in class org.mozilla.javascript.v8dtoa.FastDtoaBuilder
- toString(double) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Optimized version of toString(Object) for numbers.
- toString(Object) - Static method in class org.mozilla.javascript.Context
-
Convert the value to a JavaScript String value.
- toString(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Convert the value to a string.
- toString(Object[], int) - Static method in class org.mozilla.javascript.ScriptRuntime
- toStringTree(ScriptNode) - Method in class org.mozilla.javascript.Node
- toType(Object, Class<?>) - Static method in class org.mozilla.javascript.Context
-
Deprecated.
- toUint16(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
-
See ECMA 9.7.
- toUint16(Object) - Static method in class org.mozilla.javascript.typedarrays.Conversions
- toUint32(double) - Static method in class org.mozilla.javascript.ScriptRuntime
-
See ECMA 9.6.
- toUint32(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- toUint32(Object) - Static method in class org.mozilla.javascript.typedarrays.Conversions
- toUint8(Object) - Static method in class org.mozilla.javascript.typedarrays.Conversions
- toUint8Clamp(Object) - Static method in class org.mozilla.javascript.typedarrays.Conversions
- transform(AstNode) - Method in class org.mozilla.javascript.IRFactory
- transform(ScriptNode) - Method in class org.mozilla.javascript.NodeTransformer
- transform(ScriptNode, boolean) - Method in class org.mozilla.javascript.NodeTransformer
- transformTree(AstRoot) - Method in class org.mozilla.javascript.IRFactory
-
Transforms the tree into a lower-level IR suitable for codegen.
- TRUE - Static variable in class org.mozilla.javascript.Token
-
Token types.
- TRY - Static variable in class org.mozilla.javascript.Token
- TryStatement - Class in org.mozilla.javascript.ast
-
Try/catch/finally statement.
- TryStatement() - Constructor for class org.mozilla.javascript.ast.TryStatement
- TryStatement(int) - Constructor for class org.mozilla.javascript.ast.TryStatement
- TryStatement(int, int) - Constructor for class org.mozilla.javascript.ast.TryStatement
- tryToMakeAccessible(Object) - Method in class org.mozilla.javascript.jdk13.VMBridge_jdk13
- tryToMakeAccessible(Object) - Method in class org.mozilla.javascript.VMBridge
-
In many JVMSs, public methods in private classes are not accessible by default (Sun Bug #4071593).
- type - Variable in class org.mozilla.javascript.Node
- TYPE_NAME - Static variable in class org.mozilla.javascript.NativeSymbol
- typeError(String) - Static method in class org.mozilla.javascript.ScriptRuntime
- typeError0(String) - Static method in class org.mozilla.javascript.ScriptRuntime
- typeError1(String, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- typeError2(String, Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- typeError3(String, String, String, String) - Static method in class org.mozilla.javascript.ScriptRuntime
- typeErrorThrower() - Static method in class org.mozilla.javascript.ScriptRuntime
-
Deprecated.
- typeErrorThrower(Context) - Static method in class org.mozilla.javascript.ScriptRuntime
-
Returns representation of the [[ThrowTypeError]] object.
- typeof(Object) - Static method in class org.mozilla.javascript.ScriptRuntime
-
The typeof operator
- TYPEOF - Static variable in class org.mozilla.javascript.Token
-
Token types.
- typeofName(Scriptable, String) - Static method in class org.mozilla.javascript.ScriptRuntime
-
The typeof operator that correctly handles the undefined case
- TYPEOFNAME - Static variable in class org.mozilla.javascript.Token
- typeToName(int) - Static method in class org.mozilla.javascript.Token
-
Always returns a human-readable string for the token name.
U
- UintMap - Class in org.mozilla.javascript
-
Map to associate non-negative integers to objects or integers.
- UintMap() - Constructor for class org.mozilla.javascript.UintMap
- UintMap(int) - Constructor for class org.mozilla.javascript.UintMap
- UnaryExpression - Class in org.mozilla.javascript.ast
-
AST node representing unary operators such as
++
,~
,typeof
anddelete
. - UnaryExpression() - Constructor for class org.mozilla.javascript.ast.UnaryExpression
- UnaryExpression(int) - Constructor for class org.mozilla.javascript.ast.UnaryExpression
- UnaryExpression(int, int) - Constructor for class org.mozilla.javascript.ast.UnaryExpression
-
Constructs a new postfix UnaryExpression
- UnaryExpression(int, int, AstNode) - Constructor for class org.mozilla.javascript.ast.UnaryExpression
-
Constructs a new prefix UnaryExpression.
- UnaryExpression(int, int, AstNode, boolean) - Constructor for class org.mozilla.javascript.ast.UnaryExpression
-
Constructs a new UnaryExpression with the specified operator and operand.
- undefCallError(Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- Undefined - Class in org.mozilla.javascript
-
This class implements the Undefined value in JavaScript.
- undefReadError(Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- undefWriteError(Object, Object, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- UNINITIALIZED_CONST - Static variable in class org.mozilla.javascript.ScriptableObject
-
Property attribute indicating that this is a const property that has not been assigned yet.
- UniqueTag - Class in org.mozilla.javascript
-
Class instances represent serializable tags to mark special Object values.
- unknown() - Method in class org.mozilla.javascript.IdFunctionObject
- UNSCOPABLES - Static variable in class org.mozilla.javascript.SymbolKey
- unseal(Object) - Method in class org.mozilla.javascript.Context
-
Unseal previously sealed Context object.
- unwrap() - Method in class org.mozilla.javascript.NativeJavaArray
- unwrap() - Method in class org.mozilla.javascript.NativeJavaObject
- unwrap() - Method in exception org.mozilla.javascript.WrappedException
-
Deprecated.Use
WrappedException.getWrappedException()
instead. - unwrap() - Method in interface org.mozilla.javascript.Wrapper
-
Unwrap the object by returning the wrapped value.
- updateDotQuery(boolean) - Method in class org.mozilla.javascript.NativeWith
-
Must return null to continue looping or the final collection result.
- updateDotQuery(boolean, Scriptable) - Static method in class org.mozilla.javascript.ScriptRuntime
- UrlConnectionExpiryCalculator - Interface in org.mozilla.javascript.commonjs.module.provider
-
Implemented by objects that can be used as heuristic strategies for calculating the expiry of a cached resource in cases where the server of the resource doesn't provide explicit expiry information.
- UrlConnectionSecurityDomainProvider - Interface in org.mozilla.javascript.commonjs.module.provider
-
Interface for URL connection based security domain providers.
- UrlModuleSourceProvider - Class in org.mozilla.javascript.commonjs.module.provider
-
A URL-based script provider that can load modules against a set of base privileged and fallback URIs.
- UrlModuleSourceProvider(Iterable<URI>, Iterable<URI>) - Constructor for class org.mozilla.javascript.commonjs.module.provider.UrlModuleSourceProvider
-
Creates a new module script provider that loads modules against a set of privileged and fallback URIs.
- UrlModuleSourceProvider(Iterable<URI>, Iterable<URI>, UrlConnectionExpiryCalculator, UrlConnectionSecurityDomainProvider) - Constructor for class org.mozilla.javascript.commonjs.module.provider.UrlModuleSourceProvider
-
Creates a new module script provider that loads modules against a set of privileged and fallback URIs.
- URSH - Static variable in class org.mozilla.javascript.Token
-
Token types.
- USE_STACK - Static variable in class org.mozilla.javascript.Token
- useMozillaStackStyle(boolean) - Static method in exception org.mozilla.javascript.RhinoException
-
Tell subclasses of
RhinoException
whether to use the Mozilla/Firefox style of rendering script stacks (functionName()@fileName:lineNumber
) instead of Rhino's own Java-inspired format (at fileName:lineNumber (functionName)
). - usesMozillaStackStyle() - Static method in exception org.mozilla.javascript.RhinoException
-
Returns true if subclasses of
RhinoException
use the Mozilla/Firefox style of rendering script stacks (functionName()@fileName:lineNumber
) instead of Rhino's own Java-inspired format (at fileName:lineNumber (functionName)
).
V
- V8 - org.mozilla.javascript.StackStyle
-
This stack trace style matches that output from V8, either:
at functionName (fileName:lineNumber:columnNumber)
or, for anonymous functions:at fileName:lineNumber:columnNumber
- value() - Method in annotation type org.mozilla.javascript.annotations.JSFunction
- value() - Method in annotation type org.mozilla.javascript.annotations.JSGetter
- value() - Method in annotation type org.mozilla.javascript.annotations.JSSetter
- value() - Method in annotation type org.mozilla.javascript.annotations.JSStaticFunction
- VALUE_PROPERTY - Static variable in class org.mozilla.javascript.ES6Iterator
- valueOf(String) - Static method in enum org.mozilla.javascript.ast.FunctionNode.Form
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mozilla.javascript.ast.ParseProblem.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mozilla.javascript.StackStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mozilla.javascript.Token.CommentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mozilla.javascript.TopLevel.Builtins
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.mozilla.javascript.ast.FunctionNode.Form
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.mozilla.javascript.ast.ParseProblem.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.mozilla.javascript.NativeObject
- values() - Static method in enum org.mozilla.javascript.StackStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.mozilla.javascript.Token.CommentType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.mozilla.javascript.TopLevel.Builtins
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VAR - Static variable in class org.mozilla.javascript.Token
- VARIABLE_PROP - Static variable in class org.mozilla.javascript.Node
- VariableDeclaration - Class in org.mozilla.javascript.ast
-
A list of one or more var, const or let declarations.
- VariableDeclaration() - Constructor for class org.mozilla.javascript.ast.VariableDeclaration
- VariableDeclaration(int) - Constructor for class org.mozilla.javascript.ast.VariableDeclaration
- VariableDeclaration(int, int) - Constructor for class org.mozilla.javascript.ast.VariableDeclaration
- VariableInitializer - Class in org.mozilla.javascript.ast
-
A variable declaration or initializer, part of a
VariableDeclaration
expression. - VariableInitializer() - Constructor for class org.mozilla.javascript.ast.VariableInitializer
- VariableInitializer(int) - Constructor for class org.mozilla.javascript.ast.VariableInitializer
- VariableInitializer(int, int) - Constructor for class org.mozilla.javascript.ast.VariableInitializer
- VERSION_1_0 - Static variable in class org.mozilla.javascript.Context
-
JavaScript 1.0
- VERSION_1_1 - Static variable in class org.mozilla.javascript.Context
-
JavaScript 1.1
- VERSION_1_2 - Static variable in class org.mozilla.javascript.Context
-
JavaScript 1.2
- VERSION_1_3 - Static variable in class org.mozilla.javascript.Context
-
JavaScript 1.3
- VERSION_1_4 - Static variable in class org.mozilla.javascript.Context
-
JavaScript 1.4
- VERSION_1_5 - Static variable in class org.mozilla.javascript.Context
-
JavaScript 1.5
- VERSION_1_6 - Static variable in class org.mozilla.javascript.Context
-
JavaScript 1.6
- VERSION_1_7 - Static variable in class org.mozilla.javascript.Context
-
JavaScript 1.7
- VERSION_1_8 - Static variable in class org.mozilla.javascript.Context
-
JavaScript 1.8
- VERSION_DEFAULT - Static variable in class org.mozilla.javascript.Context
-
The default version.
- VERSION_ES6 - Static variable in class org.mozilla.javascript.Context
-
ECMAScript 6.
- VERSION_UNKNOWN - Static variable in class org.mozilla.javascript.Context
-
The unknown version.
- visibleToScripts(String) - Method in interface org.mozilla.javascript.ClassShutter
-
Return true iff the Java class with the given name should be exposed to scripts.
- visit(AstNode) - Method in class org.mozilla.javascript.ast.AstNode.DebugPrintVisitor
- visit(AstNode) - Method in interface org.mozilla.javascript.ast.NodeVisitor
-
Visits an AST node.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ArrayComprehension
-
Visits this node, the result expression, the loops, and the optional filter.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ArrayComprehensionLoop
-
Visits the iterator expression and the iterated object expression.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ArrayLiteral
-
Visits this node, then visits its element expressions in order.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.AstNode
-
Visits this node and its children in an arbitrary order.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.Block
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.BreakStatement
-
Visits this node, then visits the break label if non-
null
. - visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.CatchClause
-
Visits this node, the catch var name node, the condition if non-
null
, and the catch body. - visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.Comment
-
Comment nodes are not visited during normal visitor traversals, but comply with the
AstNode.visit(org.mozilla.javascript.ast.NodeVisitor)
interface. - visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ConditionalExpression
-
Visits this node, then the test-expression, the true-expression, and the false-expression.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ContinueStatement
-
Visits this node, then visits the label if non-
null
. - visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.DoLoop
-
Visits this node, the body, and then the while-expression.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ElementGet
-
Visits this node, the target, and the index expression.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.EmptyExpression
-
Visits this node.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.EmptyStatement
-
Visits this node.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ErrorNode
-
Error nodes are not visited during normal visitor traversals, but comply with the
AstNode.visit(org.mozilla.javascript.ast.NodeVisitor)
interface. - visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ExpressionStatement
-
Visits this node, then the wrapped statement.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ForInLoop
-
Visits this node, the iterator, the iterated object, and the body.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ForLoop
-
Visits this node, the initializer expression, the loop condition expression, the increment expression, and then the loop body.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.FunctionCall
-
Visits this node, the target object, and the arguments.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.FunctionNode
-
Visits this node, the function name node if supplied, the parameters, and the body.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.GeneratorExpression
-
Visits this node, the result expression, the loops, and the optional filter.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.GeneratorExpressionLoop
-
Visits the iterator expression and the iterated object expression.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.IfStatement
-
Visits this node, the condition, the then-part, and if supplied, the else-part.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.InfixExpression
-
Visits this node, the left operand, and the right operand.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.Jump
-
Jumps are only used directly during code generation, and do not support this interface.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.KeywordLiteral
-
Visits this node.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.Label
-
Visits this label.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.LabeledStatement
-
Visits this node, then each label in the label-list, and finally the statement.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.LetNode
-
Visits this node, the variable list, and if present, the body expression or statement.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.Name
-
Visits this node.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.NewExpression
-
Visits this node, the target, and each argument.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.NumberLiteral
-
Visits this node.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ObjectLiteral
-
Visits this node, then visits each child property node, in lexical (source) order.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ParenthesizedExpression
-
Visits this node, then the child expression.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.PropertyGet
-
Visits this node, the target expression, and the property name.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.RegExpLiteral
-
Visits this node.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ReturnStatement
-
Visits this node, then the return value if specified.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.Scope
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ScriptNode
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.StringLiteral
-
Visits this node.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.SwitchCase
-
Visits this node, then the case expression if present, then each statement (if any are specified).
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.SwitchStatement
-
Visits this node, then the switch-expression, then the cases in lexical order.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.ThrowStatement
-
Visits this node, then the thrown expression.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.TryStatement
-
Visits this node, then the try-block, then any catch clauses, and then any finally block.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.UnaryExpression
-
Visits this node, then the operand.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.VariableDeclaration
-
Visits this node, then each
VariableInitializer
child. - visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.VariableInitializer
-
Visits this node, then the target expression, then the initializer expression if present.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.WhileLoop
-
Visits this node, the condition, then the body.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.WithStatement
-
Visits this node, then the with-object, then the body statement.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.XmlElemRef
-
Visits this node, then the namespace if provided, then the index expression.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.XmlExpression
-
Visits this node, then the child expression.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.XmlLiteral
-
Visits this node, then visits each child fragment in lexical order.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.XmlPropRef
-
Visits this node, then the namespace if present, then the property name.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.XmlString
-
Visits this node.
- visit(NodeVisitor) - Method in class org.mozilla.javascript.ast.Yield
-
Visits this node, and if present, the yielded value.
- visitAll(NodeVisitor) - Method in class org.mozilla.javascript.ast.AstRoot
-
Visits the AST nodes, then the comment nodes.
- visitCall(Node, ScriptNode) - Method in class org.mozilla.javascript.NodeTransformer
- visitComments(NodeVisitor) - Method in class org.mozilla.javascript.ast.AstRoot
-
Visits the comment nodes in the order they appear in the source code.
- visitLet(boolean, Node, Node, Node) - Method in class org.mozilla.javascript.NodeTransformer
- visitNew(Node, ScriptNode) - Method in class org.mozilla.javascript.NodeTransformer
- VMBridge - Class in org.mozilla.javascript
- VMBridge() - Constructor for class org.mozilla.javascript.VMBridge
- VMBridge_jdk13 - Class in org.mozilla.javascript.jdk13
- VMBridge_jdk13() - Constructor for class org.mozilla.javascript.jdk13.VMBridge_jdk13
- VMBridge_jdk15 - Class in org.mozilla.javascript.jdk15
- VMBridge_jdk15() - Constructor for class org.mozilla.javascript.jdk15.VMBridge_jdk15
- VOID - Static variable in class org.mozilla.javascript.Token
W
- warning(String, String, int, int) - Method in class org.mozilla.javascript.ast.ErrorCollector
- warning(String, String, int, int) - Method in interface org.mozilla.javascript.ast.IdeErrorReporter
-
Report a warning.
- warning(String, String, int, String, int) - Method in class org.mozilla.javascript.ast.ErrorCollector
-
This is not called during AST generation.
- warning(String, String, int, String, int) - Method in interface org.mozilla.javascript.ErrorReporter
-
Report a warning.
- Warning - org.mozilla.javascript.ast.ParseProblem.Type
- WHILE - Static variable in class org.mozilla.javascript.Token
- WhileLoop - Class in org.mozilla.javascript.ast
-
While statement.
- WhileLoop() - Constructor for class org.mozilla.javascript.ast.WhileLoop
- WhileLoop(int) - Constructor for class org.mozilla.javascript.ast.WhileLoop
- WhileLoop(int, int) - Constructor for class org.mozilla.javascript.ast.WhileLoop
- WIDE - Static variable in class org.mozilla.classfile.ByteCode
-
The byte opcodes defined by the Java Virtual Machine.
- WITH - Static variable in class org.mozilla.javascript.Token
- WITHEXPR - Static variable in class org.mozilla.javascript.Token
- WithStatement - Class in org.mozilla.javascript.ast
-
With statement.
- WithStatement() - Constructor for class org.mozilla.javascript.ast.WithStatement
- WithStatement(int) - Constructor for class org.mozilla.javascript.ast.WithStatement
- WithStatement(int, int) - Constructor for class org.mozilla.javascript.ast.WithStatement
- wrap(Context, Scriptable, Object, Class<?>) - Method in class org.mozilla.javascript.WrapFactory
-
Wrap the object.
- wrap(Scriptable, Object) - Static method in class org.mozilla.javascript.NativeJavaArray
- wrap(Scriptable, Object, Class<?>) - Static method in class org.mozilla.javascript.NativeJavaObject
-
Deprecated.Use
Context.getWrapFactory()
together with callingWrapFactory.wrap(Context, Scriptable, Object, Class)
- wrapAsJavaObject(Context, Scriptable, Object, Class<?>) - Method in class org.mozilla.javascript.WrapFactory
-
Wrap Java object as Scriptable instance to allow full access to its methods and fields from JavaScript.
- wrapBoolean(boolean) - Static method in class org.mozilla.javascript.ScriptRuntime
- wrapDouble(double) - Static method in class org.mozilla.javascript.optimizer.OptRuntime
- wrapException(Throwable, Scriptable, Context) - Static method in class org.mozilla.javascript.ScriptRuntime
- WrapFactory - Class in org.mozilla.javascript
-
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. - WrapFactory() - Constructor for class org.mozilla.javascript.WrapFactory
- wrapInt(int) - Static method in class org.mozilla.javascript.ScriptRuntime
- wrapJavaClass(Context, Scriptable, Class<?>) - Method in class org.mozilla.javascript.WrapFactory
-
Wrap a Java class as Scriptable instance to allow access to its static members and fields and use as constructor from JavaScript.
- wrapNewObject(Context, Scriptable, Object) - Method in class org.mozilla.javascript.WrapFactory
-
Wrap an object newly created by a constructor call.
- wrapNumber(double) - Static method in class org.mozilla.javascript.ScriptRuntime
- WrappedException - Exception in org.mozilla.javascript
-
A wrapper for runtime exceptions.
- WrappedException(Throwable) - Constructor for exception org.mozilla.javascript.WrappedException
- Wrapper - Interface in org.mozilla.javascript
-
Objects that can wrap other values for reflection in the JS environment will implement Wrapper.
- wrapRegExp(Context, Scriptable, Object) - Method in class org.mozilla.javascript.regexp.RegExpImpl
- wrapRegExp(Context, Scriptable, Object) - Method in interface org.mozilla.javascript.RegExpProxy
- wrapRegExp(Context, Scriptable, Object) - Static method in class org.mozilla.javascript.ScriptRuntime
- write(OutputStream) - Method in class org.mozilla.classfile.ClassFileWriter
-
Write the class file to the OutputStream.
- writeAdapterObject(Object, ObjectOutputStream) - Static method in class org.mozilla.javascript.JavaAdapter
- writeFloat32(byte[], int, double, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- writeFloat64(byte[], int, double, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- writeInt16(byte[], int, int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- writeInt32(byte[], int, int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- writeInt8(byte[], int, int) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- writeUint16(byte[], int, int, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- writeUint32(byte[], int, long, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- writeUint64(byte[], int, long, boolean) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
- writeUint8(byte[], int, int) - Static method in class org.mozilla.javascript.typedarrays.ByteIo
X
- xDigitToInt(int, int) - Static method in class org.mozilla.javascript.Kit
-
If character c is a hexadecimal digit, return accumulator * 16 plus corresponding number.
- XML - Static variable in class org.mozilla.javascript.Token
- XMLATTR - Static variable in class org.mozilla.javascript.Token
- XmlDotQuery - Class in org.mozilla.javascript.ast
-
AST node representing an E4X
foo.(bar)
query expression. - XmlDotQuery() - Constructor for class org.mozilla.javascript.ast.XmlDotQuery
- XmlDotQuery(int) - Constructor for class org.mozilla.javascript.ast.XmlDotQuery
- XmlDotQuery(int, int) - Constructor for class org.mozilla.javascript.ast.XmlDotQuery
- XmlElemRef - Class in org.mozilla.javascript.ast
-
AST node for an E4X XML
[expr]
member-ref expression. - XmlElemRef() - Constructor for class org.mozilla.javascript.ast.XmlElemRef
- XmlElemRef(int) - Constructor for class org.mozilla.javascript.ast.XmlElemRef
- XmlElemRef(int, int) - Constructor for class org.mozilla.javascript.ast.XmlElemRef
- XMLEND - Static variable in class org.mozilla.javascript.Token
- XmlExpression - Class in org.mozilla.javascript.ast
-
AST node for an embedded JavaScript expression within an E4X XML literal.
- XmlExpression() - Constructor for class org.mozilla.javascript.ast.XmlExpression
- XmlExpression(int) - Constructor for class org.mozilla.javascript.ast.XmlExpression
- XmlExpression(int, int) - Constructor for class org.mozilla.javascript.ast.XmlExpression
- XmlExpression(int, AstNode) - Constructor for class org.mozilla.javascript.ast.XmlExpression
- XmlFragment - Class in org.mozilla.javascript.ast
-
Abstract base type for components that comprise an
XmlLiteral
object. - XmlFragment() - Constructor for class org.mozilla.javascript.ast.XmlFragment
- XmlFragment(int) - Constructor for class org.mozilla.javascript.ast.XmlFragment
- XmlFragment(int, int) - Constructor for class org.mozilla.javascript.ast.XmlFragment
- XMLLib - Class in org.mozilla.javascript.xml
- XMLLib() - Constructor for class org.mozilla.javascript.xml.XMLLib
- XMLLib.Factory - Class in org.mozilla.javascript.xml
-
An object which specifies an XMLLib implementation to be used at runtime.
- XmlLiteral - Class in org.mozilla.javascript.ast
-
AST node for an E4X (Ecma-357) embedded XML literal.
- XmlLiteral() - Constructor for class org.mozilla.javascript.ast.XmlLiteral
- XmlLiteral(int) - Constructor for class org.mozilla.javascript.ast.XmlLiteral
- XmlLiteral(int, int) - Constructor for class org.mozilla.javascript.ast.XmlLiteral
- XmlMemberGet - Class in org.mozilla.javascript.ast
-
AST node for E4X ".@" and ".." expressions, such as
foo..bar
,foo..@bar
,@foo.@bar
, andfoo..@ns::*
. - XmlMemberGet() - Constructor for class org.mozilla.javascript.ast.XmlMemberGet
- XmlMemberGet(int) - Constructor for class org.mozilla.javascript.ast.XmlMemberGet
- XmlMemberGet(int, int) - Constructor for class org.mozilla.javascript.ast.XmlMemberGet
- XmlMemberGet(int, int, AstNode, XmlRef) - Constructor for class org.mozilla.javascript.ast.XmlMemberGet
- XmlMemberGet(AstNode, XmlRef) - Constructor for class org.mozilla.javascript.ast.XmlMemberGet
-
Constructs a new
XmlMemberGet
node. - XmlMemberGet(AstNode, XmlRef, int) - Constructor for class org.mozilla.javascript.ast.XmlMemberGet
- XMLObject - Class in org.mozilla.javascript.xml
-
This Interface describes what all XML objects (XML, XMLList) should have in common.
- XMLObject() - Constructor for class org.mozilla.javascript.xml.XMLObject
- XMLObject(Scriptable, Scriptable) - Constructor for class org.mozilla.javascript.xml.XMLObject
- XmlPropRef - Class in org.mozilla.javascript.ast
-
AST node for an E4X XML
[expr]
property-ref expression. - XmlPropRef() - Constructor for class org.mozilla.javascript.ast.XmlPropRef
- XmlPropRef(int) - Constructor for class org.mozilla.javascript.ast.XmlPropRef
- XmlPropRef(int, int) - Constructor for class org.mozilla.javascript.ast.XmlPropRef
- XmlRef - Class in org.mozilla.javascript.ast
-
Base class for E4X XML attribute-access or property-get expressions.
- XmlRef() - Constructor for class org.mozilla.javascript.ast.XmlRef
- XmlRef(int) - Constructor for class org.mozilla.javascript.ast.XmlRef
- XmlRef(int, int) - Constructor for class org.mozilla.javascript.ast.XmlRef
- XmlString - Class in org.mozilla.javascript.ast
-
AST node for an XML-text-only component of an XML literal expression.
- XmlString() - Constructor for class org.mozilla.javascript.ast.XmlString
- XmlString(int) - Constructor for class org.mozilla.javascript.ast.XmlString
- XmlString(int, String) - Constructor for class org.mozilla.javascript.ast.XmlString
Y
- Yield - Class in org.mozilla.javascript.ast
-
AST node for JavaScript 1.7
yield
expression or statement. - Yield() - Constructor for class org.mozilla.javascript.ast.Yield
- Yield(int) - Constructor for class org.mozilla.javascript.ast.Yield
- Yield(int, int) - Constructor for class org.mozilla.javascript.ast.Yield
- Yield(int, int, AstNode) - Constructor for class org.mozilla.javascript.ast.Yield
- YIELD - Static variable in class org.mozilla.javascript.Token
-
Token types.
Z
- zeroObj - Static variable in class org.mozilla.javascript.optimizer.OptRuntime
_
- __iterator__(boolean) - Method in class org.mozilla.javascript.NativeIterator.WrappedJavaIterator
All Classes All Packages