org.mozilla.javascript

## 类 IRFactory

- java.lang.Object
- - org.mozilla.javascript.Parser
  - - org.mozilla.javascript.IRFactory

-     public final class IRFactory
      extends org.mozilla.javascript.Parser

  This class rewrites the parse tree into an IR suitable for codegen.
  另请参阅:
    `Node`

- - ### 字段概要

    - ### 从类继承的字段 org.mozilla.javascript.Parser

      `ARGC_LIMIT`

  - ### 构造器概要

    构造器
    构造器和说明
    `IRFactory()`
    `IRFactory(org.mozilla.javascript.CompilerEnvirons env)`
    `IRFactory(org.mozilla.javascript.CompilerEnvirons env, org.mozilla.javascript.ErrorReporter errorReporter)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `org.mozilla.javascript.Node` | `transform(org.mozilla.javascript.ast.AstNode node)`
    `org.mozilla.javascript.ast.ScriptNode` | `transformTree(org.mozilla.javascript.ast.AstRoot root)` Transforms the tree into a lower-level IR suitable for codegen.

    - ### 从类继承的方法 org.mozilla.javascript.Parser

      `eof, parse, parse`

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### IRFactory

          public IRFactory()

    - #### IRFactory

          public IRFactory(org.mozilla.javascript.CompilerEnvirons env)

    - #### IRFactory

          public IRFactory(org.mozilla.javascript.CompilerEnvirons env,
                           org.mozilla.javascript.ErrorReporter errorReporter)

  - ### 方法详细资料

    - #### transformTree

          public org.mozilla.javascript.ast.ScriptNode transformTree(org.mozilla.javascript.ast.AstRoot root)

      Transforms the tree into a lower-level IR suitable for codegen. Optionally generates the encoded source.

    - #### transform

          public org.mozilla.javascript.Node transform(org.mozilla.javascript.ast.AstNode node)