|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScriptNode | |
|---|---|
| net.sourceforge.htmlunit.corejs.javascript | |
| net.sourceforge.htmlunit.corejs.javascript.ast | |
| net.sourceforge.htmlunit.corejs.javascript.optimizer | |
| Uses of ScriptNode in net.sourceforge.htmlunit.corejs.javascript |
|---|
| Methods in net.sourceforge.htmlunit.corejs.javascript that return ScriptNode | |
|---|---|
ScriptNode |
IRFactory.transformTree(AstRoot root)
Transforms the tree into a lower-level IR suitable for codegen. |
| Methods in net.sourceforge.htmlunit.corejs.javascript with parameters of type ScriptNode | |
|---|---|
java.lang.Object |
Interpreter.compile(CompilerEnvirons compilerEnv,
ScriptNode tree,
java.lang.String encodedSource,
boolean returnFunction)
|
java.lang.Object |
Evaluator.compile(CompilerEnvirons compilerEnv,
ScriptNode tree,
java.lang.String encodedSource,
boolean returnFunction)
Compile the script or function from intermediate representation tree into an executable form. |
java.lang.String |
Node.toStringTree(ScriptNode treeTop)
|
void |
NodeTransformer.transform(ScriptNode tree)
|
protected void |
NodeTransformer.visitCall(Node node,
ScriptNode tree)
|
protected void |
NodeTransformer.visitNew(Node node,
ScriptNode tree)
|
| Uses of ScriptNode in net.sourceforge.htmlunit.corejs.javascript.ast |
|---|
| Subclasses of ScriptNode in net.sourceforge.htmlunit.corejs.javascript.ast | |
|---|---|
class |
AstRoot
Node for the root of a parse tree. |
class |
FunctionNode
A JavaScript function declaration or expression. |
| Fields in net.sourceforge.htmlunit.corejs.javascript.ast declared as ScriptNode | |
|---|---|
protected ScriptNode |
Scope.top
|
| Methods in net.sourceforge.htmlunit.corejs.javascript.ast that return ScriptNode | |
|---|---|
ScriptNode |
Scope.getTop()
Returns current script or function scope |
| Methods in net.sourceforge.htmlunit.corejs.javascript.ast with parameters of type ScriptNode | |
|---|---|
void |
Scope.setTop(ScriptNode top)
Sets top current script or function scope |
| Uses of ScriptNode in net.sourceforge.htmlunit.corejs.javascript.optimizer |
|---|
| Methods in net.sourceforge.htmlunit.corejs.javascript.optimizer with parameters of type ScriptNode | |
|---|---|
java.lang.Object |
Codegen.compile(CompilerEnvirons compilerEnv,
ScriptNode tree,
java.lang.String encodedSource,
boolean returnFunction)
|
byte[] |
Codegen.compileToClassFile(CompilerEnvirons compilerEnv,
java.lang.String mainClassName,
ScriptNode scriptOrFn,
java.lang.String encodedSource,
boolean returnFunction)
|
static OptFunctionNode |
OptFunctionNode.get(ScriptNode scriptOrFn)
|
static OptFunctionNode |
OptFunctionNode.get(ScriptNode scriptOrFn,
int i)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||