| Package | Description |
|---|---|
| org.mozilla.javascript | |
| org.mozilla.javascript.optimizer | |
| org.mozilla.javascript.regexp |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseFunction
The base class for Function objects
See ECMA 15.3.
|
class |
Delegator
This is a helper class for implementing wrappers around Scriptable
objects.
|
class |
FunctionObject |
class |
IdFunctionObject |
class |
NativeContinuation |
class |
NativeFunction
This class implements the Function native object.
|
class |
NativeJavaClass
This class reflects Java classes into the JavaScript environment, mainly
for constructors and static members.
|
class |
NativeJavaConstructor
This class reflects a single Java constructor into the JavaScript
environment.
|
class |
NativeJavaMethod
This class reflects Java methods into the JavaScript environment and
handles overloading of methods.
|
class |
NativeJavaTopPackage
This class reflects Java packages into the JavaScript environment.
|
class |
Synchronizer
This class provides support for implementing Java-style synchronized
methods in Javascript.
|
| Modifier and Type | Method and Description |
|---|---|
Function |
Context.compileFunction(Scriptable scope,
String source,
String sourceName,
int lineno,
Object securityDomain)
Compile a JavaScript function.
|
Function |
Evaluator.createFunctionObject(Context cx,
Scriptable scope,
Object bytecode,
Object staticSecurityDomain)
Create a function object.
|
Function |
Interpreter.createFunctionObject(Context cx,
Scriptable scope,
Object bytecode,
Object staticSecurityDomain) |
static Function |
JavaAdapter.getFunction(Scriptable obj,
String functionName) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
JavaAdapter.callMethod(ContextFactory factory,
Scriptable thisObj,
Function f,
Object[] args,
long argsToWrap)
Utility method which dynamically binds a Context to the current thread,
if none already exists.
|
String |
Context.decompileFunction(Function fun,
int indent)
Decompile a JavaScript Function.
|
String |
Context.decompileFunctionBody(Function fun,
int indent)
Decompile the body of a JavaScript Function.
|
void |
ImporterTopLevel.importPackage(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
Deprecated.
Kept only for compatibility.
|
| Modifier and Type | Method and Description |
|---|---|
Function |
Codegen.createFunctionObject(Context cx,
Scriptable scope,
Object bytecode,
Object staticSecurityDomain) |
| Modifier and Type | Class and Description |
|---|---|
class |
NativeRegExp
This class implements the RegExp native object.
|
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.