|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mozilla.javascript.Parser
org.mozilla.javascript.IRFactory
public final class IRFactory
This class rewrites the parse tree into an IR suitable for codegen.
Node| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.mozilla.javascript.Parser |
|---|
Parser.PerFunctionVariables |
| Field Summary |
|---|
| Fields inherited from class org.mozilla.javascript.Parser |
|---|
ARGC_LIMIT, inUseStrictDirective, nestingOfFunction |
| Constructor Summary | |
|---|---|
IRFactory()
|
|
IRFactory(CompilerEnvirons env)
|
|
IRFactory(CompilerEnvirons env,
ErrorReporter errorReporter)
|
|
| Method Summary | |
|---|---|
Node |
transform(AstNode node)
|
ScriptNode |
transformTree(AstRoot root)
Transforms the tree into a lower-level IR suitable for codegen. |
| Methods inherited from class org.mozilla.javascript.Parser |
|---|
checkActivationName, checkMutableReference, createName, createName, createNumber, createScopeNode, eof, parse, parse, removeParens, setIsGenerator, setRequiresActivation, simpleAssignment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IRFactory()
public IRFactory(CompilerEnvirons env)
public IRFactory(CompilerEnvirons env,
ErrorReporter errorReporter)
| Method Detail |
|---|
public ScriptNode transformTree(AstRoot root)
public Node transform(AstNode node)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||