|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
FunctionNode
to the functions table for codegen.
AstNode.addChild(org.mozilla.javascript.ast.AstNode)
.
null
.
=
,
*=
and +=
.ContextFactory.call(ContextAction)
instead as
this method relies on usage of a static singleton "global"
ContextFactory.
Callable.call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
using the Context instance associated with the current thread.
ContextFactory.call(ContextAction)
instead as
this method relies on usage of a static singleton "global"
ContextFactory.
Callable.call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
using the Context instance associated with the current thread.
ContextAction.run(Context cx)
using the Context
instance associated with the current thread.
ContextAction.run(Context cx)
using the Context
instance associated with the current thread.
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.
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.
java.lang.String
or another ConsString.delegee
is null
,
this method creates a new instance of the Delegator itself
rathert than forwarding the call to the
delegee
.
ScriptRuntime.constructError(String,String)
instead.
ScriptRuntime.constructError(String,String,String,int,String,int)
instead.
ContextFactory.enter()
or
ContextFactory.call(ContextAction)
instead. If you subclass
this class, consider using Context.Context(ContextFactory)
constructor
instead in the subclasses' constructors.
ContextFactory.enter()
or
ContextFactory.call(ContextAction)
instead. If you subclass
this class, consider using Context.Context(ContextFactory)
constructor
instead in the subclasses' constructors.
Context
object.
Context
object.
Context
instances.Context
instances.Context
creation and release events.Context
creation and release events.Context
instances should implement
ContextFactory.Listener
.Context
instance is no longer
associated with the current thread.
Context
instance is no longer
associated with the current thread.
Context.executeScriptWithContinuations(Script, Scriptable)
and Context.callFunctionWithContinuations(Callable, Scriptable, Object[])
when execution encounters a continuation captured by
Context.captureContinuation()
.Context.executeScriptWithContinuations(Script, Scriptable)
and Context.callFunctionWithContinuations(Callable, Scriptable, Object[])
when execution encounters a continuation captured by
Context.captureContinuation()
.FunctionObject.getTypeTag(Class)
and FunctionObject.convertArg(Context, Scriptable, Object, int)
for type conversion.
FunctionObject.getTypeTag(Class)
and FunctionObject.convertArg(Context, Scriptable, Object, int)
for type conversion.
GeneratedClassLoader
with restrictions imposed by
staticDomain and all current stack frames.
GeneratedClassLoader
with restrictions imposed by
staticDomain and all current stack frames.
Scriptable
instance using the default
constructor for the class of the underlying Java method.
Scriptable
instance using the default
constructor for the class of the underlying Java method.
ArrayLiteral
and ObjectLiteral
node types, both of which may appear in "destructuring" expressions or
contexts.foo['bar']
or
foo[2]
.ContextFactory.enterContext()
on the global
ContextFactory instance.
ContextFactory.enterContext(Context)
instead as
this method relies on usage of a static singleton "global" ContextFactory.
ContextFactory.enterContext()
on the global
ContextFactory instance.
ContextFactory.enterContext(Context)
instead as
this method relies on usage of a static singleton "global" ContextFactory.
ContextFactory.enterContext()
instead
ContextFactory.enterContext()
instead
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)
.
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)
.
Context.exit()
instead.
Context.exit()
instead.
ExpressionStatement
wrapping
the specified expression.
ExpressionStatement
wrapping
the specified expression.
ExpressionStatement
@
-token, or -1 if this is not
an attribute-access expression.
ScriptableObject.getAttributes(String name)
. The engine always
ignored the start argument.
ScriptableObject.getAttributes(int index)
. The engine always
ignored the start argument.
ScriptableObject.getAttributes(String name)
. The engine always
ignored the start argument.
ScriptableObject.getAttributes(int index)
. The engine always
ignored the start argument.
null
for loop body
type
from the given scope
.
type
.
type
from the given scope
.
type
.
CatchClause
nodes.
::
token, or -1 if not present.
RhinoException.columnNumber()
from the super class.
RhinoException.columnNumber()
from the super class.
RhinoException.columnNumber()
from the super class.
RhinoException.columnNumber()
from the super class.
Context
instance associated with the current thread
or null if none.
hint
parameter is null,
ScriptRuntime.ScriptableClass
or
ScriptRuntime.FunctionClass
.
Scope
in which this Name
is defined.
Context
.
Context
.
XMLLib.Factory
to be used by the Context
instances produced by this
factory.
XMLLib.Factory
to be used by the Context
instances produced by this
factory.
null
if not in a
function.
Scope
node, or null
if we're not nested in a scope.
Object.toSource
method of
JavaScript objects.
null
for default case
@[expr]
or @*::[expr]
.
ContextFactory
instance used to create this Context.
ContextFactory
instance used to create this Context.
null
if not present
null
if not present
null
if not present
finally
keyword, if present, or -1
null
or "" if no flags specified
null
if not provided
observeInstructionCount()
.
observeInstructionCount()
.
FunctionObject.getArity()
.
FunctionObject.getArity()
.
RhinoException.lineNumber()
from the super class.
RhinoException.lineNumber()
from the super class.
RhinoException.lineNumber()
from the super class.
RhinoException.lineNumber()
from the super class.
RhinoException.lineNumber()
from the super class.
RhinoException.lineNumber()
from the super class.
DebugFrame.onLineChange().
- 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.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.
- 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.
- 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.
- 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.
- 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
-
- 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() -
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.
- 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 exception org.mozilla.javascript.EcmaError
- Gets the name of the error.
- 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
- Call obj.[[Get]](id)
- 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
-
- getObjectIndex(Scriptable, int, Context) -
Static method in class org.mozilla.javascript.ScriptRuntime
-
- getObjectProp(Object, String, Context) -
Static method in class org.mozilla.javascript.ScriptRuntime
- Version of getObjectElem when elem is a valid JS identifier name.
- getObjectProp(Object, String, Context, Scriptable) -
Static method in class org.mozilla.javascript.ScriptRuntime
-
- getObjectProp(Scriptable, String, Context) -
Static method in class org.mozilla.javascript.ScriptRuntime
-
- getObjectPropNoWarn(Object, String, Context) -
Static method in class org.mozilla.javascript.ScriptRuntime
-
- getObjectPrototype(Scriptable) -
Static method in class org.mozilla.javascript.ScriptableObject
- Get the Object.prototype property.
- 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.CompilerEnvirons
-
- getOptimizationLevel() -
Method in class org.mozilla.javascript.Context
- Get the current optimization level.
- 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
-
- 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 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 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 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
-
- 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 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.
- 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, 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, 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, int) -
Static method in class org.mozilla.javascript.ScriptableObject
- Gets an indexed property from an object or any object in its prototype chain.
- getPropertyIds(Scriptable) -
Static method in class org.mozilla.javascript.ScriptableObject
- Returns an array of all ids from an object and its prototypes.
- 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
- 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.
- 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 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.
- 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(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
-
- getScriptStack() -
Method in exception org.mozilla.javascript.RhinoException
- Get the script stack of this exception as an array of
ScriptStackElement
s.
- getScriptStack() -
Method in exception org.mozilla.javascript.RhinoException
- Get the script stack of this exception as an array of
ScriptStackElement
s.
- 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(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.
- getScriptStackTrace() -
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
-
- 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 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.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.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.
- getSourceName() -
Method in exception org.mozilla.javascript.JavaScriptException
- Deprecated. Use
RhinoException.sourceName()
from the super class.
- 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
-
- 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
-
- 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
-
- 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.
- 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.
- 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.
- getTargetImplements() -
Method in class org.mozilla.javascript.optimizer.ClassCompiler
- Get the interfaces that the generated target will implement.
- 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.
- 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.
- 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.
- 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.
- 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.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.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
-
- 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.
- 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(boolean) -
Method in class org.mozilla.javascript.ast.StringLiteral
- Returns the string value, optionally including 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 exception org.mozilla.javascript.JavaScriptException
-
- getValue() -
Method in class org.mozilla.javascript.ObjToIntMap.Iterator
-
- 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
-
- 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.
- 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.
- 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.
Context.hasFeature(int featureIndex)
.
Context.hasFeature(int featureIndex)
.
SecurityController
was already installed.
SecurityController
was already installed.
CompilerEnvirons
suitable for using Rhino
in an IDE environment.
CompilerEnvirons
suitable for using Rhino
in an IDE environment.
InfixExpression
.
InfixExpression
.
memberExpr
memberExpr
true
if this expression began with an @
-token.
Token.TRUE
or
Token.FALSE
.
Token.CONST
declaration.
false
if result of Java method, which is instance of
String
, Number
, Boolean
and
Character
, should be used directly as JavaScript primitive
type.
false
if result of Java method, which is instance of
String
, Number
, Boolean
and
Character
, should be used directly as JavaScript primitive
type.
Token.LET
declaration.
AstNode
node is a parameter
of this Function node.
var
(not
const
or let
) declaration.
Iterator
over the node's children.
WrappedException.WrappedException(Throwable)
to report
exceptions in Java code.
WrappedException.WrappedException(Throwable)
to report
exceptions in Java code.
NativeArray.getLength()
instead.
BaseFunction.getFunctionName()
instead.
For backwards compatibility keep an old method name used by
Batik and possibly others.
this
,
null
, true
, false
, and debugger
.Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER
feature.
String
.
Context
instance to be associated with the current
thread.
Context
instance to be associated with the current
thread.
ModuleScript
objects.Name
with
statement.InterfaceAdapter
.
get
if the property is not
found.
get
if the property is not
found.
ModuleSourceProvider.loadSource(String, Scriptable,
Object)
and ModuleSourceProvider.loadSource(URI, URI, Object)
that signifies that the
cached representation is still valid according to the passed validator.
Context.observeInstructionCount(int instructionCount)
.
Context.observeInstructionCount(int instructionCount)
.
Policy
in effect.StringBuilder
.
CachingModuleScriptProviderBase.getLoadedModule(String)
.
at fileName:lineNumber (functionName)
functionName()@fileName:lineNumber
Require
instances.Context.captureContinuation()
.
Context.captureContinuation()
.
java.lang.SecurityManager
subclass that provides access to
the current top-most script class on the execution stack.AstRoot
and FunctionNode
nodes, which need to
collect much of the same information.Context.enter()
and Context.exit()
methods will
throw an exception.
Context.enter()
and Context.exit()
methods will
throw an exception.
@
-token, or -1
ScriptableObject.setAttributes(String name, int attributes)
.
The engine always ignored the start argument.
ScriptableObject.setAttributes(int index, int attributes)
.
The engine always ignored the start argument.
ScriptableObject.setAttributes(String name, int attributes)
.
The engine always ignored the start argument.
ScriptableObject.setAttributes(int index, int attributes)
.
The engine always ignored the start argument.
CatchClause
nodes.
::
token, or -1 if not present
Context
instance with the current thread or remove
the current association if cx is null.
null
for default case.
finally
keyword, if present, or -1
observeInstructionCount()
.
observeInstructionCount()
.
for ([a, b] in ...)
where it's the
target of a destructuring assignment.
for ([a, b] in ...)
where it's the
target of a destructuring assignment.
for ([a, b] in ...)
where it's the
target of a destructuring assignment.
ModuleScriptProvider
for the Require
instances
that this builder builds.
double
value.
Node.setType(int)
, but throws
an exception if the operator is invalid.
Node.setType(int)
, but throws an
exception if the operator is invalid
Scope
associated with this node.
ScriptRuntime.toObject(Scriptable, Object)
instead.
ScriptRuntime.toObject(Context, Scriptable, Object)
instead.
++
,
~
, typeof
and delete
.WrappedException.getWrappedException()
instead.
WrappedException.getWrappedException()
instead.
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)
)
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)
)
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)
).
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)
).
VariableDeclaration
expression.null
.
null
, and the catch body.
AstNode.visit(org.mozilla.javascript.ast.NodeVisitor)
interface.
null
.
AstNode.visit(org.mozilla.javascript.ast.NodeVisitor)
interface.
VariableInitializer
child.
Context.getWrapFactory()
together with calling WrapFactory.wrap(Context, Scriptable, Object, Class)
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.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.foo.(bar)
query expression.[expr]
member-ref expression.XmlLiteral
object.foo..bar
, foo..@bar
, @foo.@bar
, and
foo..@ns::*
.XmlMemberGet
node.
[expr]
property-ref expression.yield
expression or statement.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |