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