| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript | |
| org.htmlunit.corejs.javascript.ast |
| Modifier and Type | Method and Description |
|---|---|
ScriptNode |
IRFactory.transformTree(AstRoot root)
Transforms the tree into a lower-level IR suitable for codegen.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Interpreter.compile(CompilerEnvirons compilerEnv,
ScriptNode tree,
String rawSource,
boolean returnFunction) |
Object |
Evaluator.compile(CompilerEnvirons compilerEnv,
ScriptNode tree,
String rawSource,
boolean returnFunction)
Compile the script or function from intermediate representation tree into an executable form.
|
String |
Node.toStringTree(ScriptNode treeTop) |
void |
NodeTransformer.transform(ScriptNode tree,
boolean inStrictMode,
CompilerEnvirons env) |
void |
NodeTransformer.transform(ScriptNode tree,
CompilerEnvirons env) |
protected void |
NodeTransformer.visitCall(Node node,
ScriptNode tree) |
protected void |
NodeTransformer.visitNew(Node node,
ScriptNode tree) |
| Modifier and Type | Class and Description |
|---|---|
class |
AstRoot
Node for the root of a parse tree.
|
class |
FunctionNode
A JavaScript function declaration or expression.
|
| Modifier and Type | Field and Description |
|---|---|
protected ScriptNode |
Scope.top |
| Modifier and Type | Method and Description |
|---|---|
ScriptNode |
Scope.getTop()
Returns current script or function scope
|
| Modifier and Type | Method and Description |
|---|---|
void |
Scope.setTop(ScriptNode top)
Sets top current script or function scope
|
Copyright © 2025 HtmlUnit. All rights reserved.