Package org.mozilla.javascript
Class IRFactory
- java.lang.Object
- 
- org.mozilla.javascript.IRFactory
 
- 
 public final class IRFactory extends java.lang.ObjectThis class rewrites the parse tree into an IR suitable for codegen.- See Also:
- Node
 
- 
- 
Constructor SummaryConstructors Constructor Description IRFactory(CompilerEnvirons env)IRFactory(CompilerEnvirons env, ErrorReporter errorReporter)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Nodetransform(AstNode node)ScriptNodetransformTree(AstRoot root)Transforms the tree into a lower-level IR suitable for codegen.
 
- 
- 
- 
Constructor Detail- 
IRFactorypublic IRFactory(CompilerEnvirons env) 
 - 
IRFactorypublic IRFactory(CompilerEnvirons env, ErrorReporter errorReporter) 
 
- 
 - 
Method Detail- 
transformTreepublic ScriptNode transformTree(AstRoot root) Transforms the tree into a lower-level IR suitable for codegen. Optionally generates the encoded source.
 
- 
 
-