org.mozilla.javascript
Class Interpreter
java.lang.Object
org.mozilla.javascript.Interpreter
- Direct Known Subclasses:
- Codegen
public class Interpreter
- extends java.lang.Object
Method Summary |
java.lang.Object |
compile(CompilerEnvirons compilerEnv,
ScriptOrFnNode tree,
java.lang.String encodedSource,
boolean returnFunction)
|
Function |
createFunctionObject(Context cx,
Scriptable scope,
java.lang.Object bytecode,
java.lang.Object staticSecurityDomain)
|
Script |
createScriptObject(java.lang.Object bytecode,
java.lang.Object staticSecurityDomain)
|
static java.lang.Object |
restartContinuation(Continuation c,
Context cx,
Scriptable scope,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Interpreter
public Interpreter()
compile
public java.lang.Object compile(CompilerEnvirons compilerEnv,
ScriptOrFnNode tree,
java.lang.String encodedSource,
boolean returnFunction)
createScriptObject
public Script createScriptObject(java.lang.Object bytecode,
java.lang.Object staticSecurityDomain)
createFunctionObject
public Function createFunctionObject(Context cx,
Scriptable scope,
java.lang.Object bytecode,
java.lang.Object staticSecurityDomain)
restartContinuation
public static java.lang.Object restartContinuation(Continuation c,
Context cx,
Scriptable scope,
java.lang.Object[] args)