org.mozilla.javascript
Class Interpreter
java.lang.Object
|
+--org.mozilla.javascript.LabelTable
|
+--org.mozilla.javascript.Interpreter
- Direct Known Subclasses:
- Codegen
- public class Interpreter
- extends LabelTable
Method Summary |
java.lang.Object |
compile(Context cx,
Scriptable scope,
Node tree,
java.lang.Object securityDomain,
SecuritySupport securitySupport,
ClassNameHelper nameHelper)
|
IRFactory |
createIRFactory(TokenStream ts,
ClassNameHelper nameHelper,
Scriptable scope)
|
static java.lang.Object |
interpret(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args,
NativeFunction fnOrScript,
org.mozilla.javascript.InterpreterData theData)
|
Node |
transform(Node tree,
TokenStream ts,
Scriptable scope)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
printICode
public static final boolean printICode
Interpreter
public Interpreter()
createIRFactory
public IRFactory createIRFactory(TokenStream ts,
ClassNameHelper nameHelper,
Scriptable scope)
transform
public Node transform(Node tree,
TokenStream ts,
Scriptable scope)
compile
public java.lang.Object compile(Context cx,
Scriptable scope,
Node tree,
java.lang.Object securityDomain,
SecuritySupport securitySupport,
ClassNameHelper nameHelper)
throws java.io.IOException
interpret
public static java.lang.Object interpret(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args,
NativeFunction fnOrScript,
org.mozilla.javascript.InterpreterData theData)
throws JavaScriptException