| Package | Description |
|---|---|
| org.mozilla.javascript | |
| org.mozilla.javascript.optimizer |
| Modifier and Type | Method and Description |
|---|---|
Script |
Context.compileReader(Reader in,
String sourceName,
int lineno,
Object securityDomain)
Compiles the source in the given reader.
|
Script |
Context.compileReader(Scriptable scope,
Reader in,
String sourceName,
int lineno,
Object securityDomain)
Deprecated.
|
Script |
Context.compileString(String source,
String sourceName,
int lineno,
Object securityDomain)
Compiles the source in the given string.
|
Script |
Evaluator.createScriptObject(Object bytecode,
Object staticSecurityDomain)
Create a script object.
|
Script |
Interpreter.createScriptObject(Object bytecode,
Object staticSecurityDomain) |
| Modifier and Type | Method and Description |
|---|---|
String |
Context.decompileScript(Script script,
int indent)
Decompile the script.
|
Object |
Context.executeScriptWithContinuations(Script script,
Scriptable scope)
Execute script that may pause execution by capturing a continuation.
|
Object |
SecurityController.execWithDomain(Context cx,
Scriptable scope,
Script script,
Object securityDomain)
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). |
static DebuggableScript |
Context.getDebuggableView(Script script)
Return DebuggableScript instance if any associated with the script.
|
static Scriptable |
JavaAdapter.runScript(Script script) |
void |
Evaluator.setEvalScriptFlag(Script script)
Mark the given script to indicate it was created by a call to
eval() or to a Function constructor.
|
void |
Interpreter.setEvalScriptFlag(Script script) |
| Modifier and Type | Method and Description |
|---|---|
Script |
Codegen.createScriptObject(Object bytecode,
Object staticSecurityDomain) |
| Modifier and Type | Method and Description |
|---|---|
static void |
OptRuntime.main(Script script,
String[] args) |
void |
Codegen.setEvalScriptFlag(Script script) |
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.