org.scalajs.core.tools.optimizer.ScalaJSClosureOptimizer

Config

Related Doc: package ScalaJSClosureOptimizer

final case class Config(output: WritableVirtualJSFile, cache: Option[WritableVirtualTextFile] = None, bypassLinkingErrors: Boolean = false, checkIR: Boolean = false, unCache: Boolean = true, disableOptimizer: Boolean = false, batchMode: Boolean = false, wantSourceMap: Boolean = false, prettyPrint: Boolean = false, relativizeSourceMapBase: Option[URI] = None, noWarnMissing: Seq[NoWarnMissing] = Nil) extends OptimizerConfig with ScalaJSOptimizer.OptimizerConfig with Product with Serializable

Configuration for the output of the Scala.js Closure optimizer

Linear Supertypes
Serializable, Serializable, Product, Equals, ScalaJSOptimizer.OptimizerConfig, OptimizerConfig, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Config
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. OptimizerConfig
  7. OptimizerConfig
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Config(output: WritableVirtualJSFile, cache: Option[WritableVirtualTextFile] = None, bypassLinkingErrors: Boolean = false, checkIR: Boolean = false, unCache: Boolean = true, disableOptimizer: Boolean = false, batchMode: Boolean = false, wantSourceMap: Boolean = false, prettyPrint: Boolean = false, relativizeSourceMapBase: Option[URI] = None, noWarnMissing: Seq[NoWarnMissing] = Nil)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val batchMode: Boolean

    If true, nothing is performed incrementally

    If true, nothing is performed incrementally

    Definition Classes
    ConfigOptimizerConfig
  6. val bypassLinkingErrors: Boolean

    Whether to only warn if the linker has errors.

    Whether to only warn if the linker has errors. Implicitly true, if noWarnMissing is nonEmpty

    Definition Classes
    ConfigOptimizerConfig
  7. val cache: Option[WritableVirtualTextFile]

    Definition Classes
    ConfigOptimizerConfig
  8. val checkIR: Boolean

    If true, performs expensive checks of the IR for the used parts.

    If true, performs expensive checks of the IR for the used parts.

    Definition Classes
    ConfigOptimizerConfig
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val disableOptimizer: Boolean

    If true, no optimizations are performed

    If true, no optimizations are performed

    Definition Classes
    ConfigOptimizerConfig
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. val noWarnMissing: Seq[NoWarnMissing]

    Elements we won't warn even if they don't exist

    Elements we won't warn even if they don't exist

    Definition Classes
    ConfigOptimizerConfig
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. val output: WritableVirtualJSFile

    Definition Classes
    ConfigOptimizerConfig
  20. val prettyPrint: Boolean

    Definition Classes
    ConfigOptimizerConfig
  21. val relativizeSourceMapBase: Option[URI]

    Definition Classes
    ConfigOptimizerConfig
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. val unCache: Boolean

    If true, the optimizer removes trees that have not been used in the last run from the cache.

    If true, the optimizer removes trees that have not been used in the last run from the cache. Otherwise, all trees that has been used once, are kept in memory.

    Definition Classes
    ConfigOptimizerConfig
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val wantSourceMap: Boolean

    Ask to produce source map for the output.

    Ask to produce source map for the output. Is used in the incremental optimizer to decide whether a position change should trigger re-inlining

    Definition Classes
    ConfigOptimizerConfigOptimizerConfig

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from OptimizerConfig

Inherited from AnyRef

Inherited from Any

Ungrouped