Incremental optimizer.
Checker for the validity of the IR.
An abstract builder taking IR or JSTrees
A Google Closure Error Manager that forwards to a tools.logging.Logger
Scala.js Closure optimizer: does advanced optimizations with Closure.
Scala.js optimizer: does type-aware global dce.
Incremental optimizer. An incremental optimizer consumes the reachability analysis produced by an Analyzer, as well as trees for classes, and optimizes them in an incremental way. It maintains state between runs to do a minimal amount of work on every run, based on detecting what parts of the program must be re-optimized, and keeping optimized results from previous runs for the rest.