Package org.mozilla.javascript
Class IRFactory
- java.lang.Object
-
- org.mozilla.javascript.Parser
-
- org.mozilla.javascript.IRFactory
-
-
Field Summary
-
Fields inherited from class org.mozilla.javascript.Parser
ARGC_LIMIT
-
-
Constructor Summary
Constructors Constructor Description IRFactory()
IRFactory(CompilerEnvirons env)
IRFactory(CompilerEnvirons env, ErrorReporter errorReporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
transform(AstNode node)
ScriptNode
transformTree(AstRoot root)
Transforms the tree into a lower-level IR suitable for codegen.
-
-
-
Constructor Detail
-
IRFactory
public IRFactory()
-
IRFactory
public IRFactory(CompilerEnvirons env)
-
IRFactory
public IRFactory(CompilerEnvirons env, ErrorReporter errorReporter)
-
-
Method Detail
-
transformTree
public ScriptNode transformTree(AstRoot root)
Transforms the tree into a lower-level IR suitable for codegen. Optionally generates the encoded source.
-
-