Class

org.scalajs.core.tools.optimizer.ScalaJSClosureOptimizer

Config

Related Doc: package ScalaJSClosureOptimizer

Permalink

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
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)

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. val batchMode: Boolean

    Permalink

    If true, nothing is performed incrementally

    If true, nothing is performed incrementally

    Definition Classes
    ConfigOptimizerConfig
  6. val bypassLinkingErrors: Boolean

    Permalink

    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]

    Permalink
    Definition Classes
    ConfigOptimizerConfig
  8. val checkIR: Boolean

    Permalink

    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

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

    Permalink

    If true, no optimizations are performed

    If true, no optimizations are performed

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

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

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

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

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

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
  19. val output: WritableVirtualJSFile

    Permalink
    Definition Classes
    ConfigOptimizerConfig
  20. val prettyPrint: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. val unCache: Boolean

    Permalink

    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

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

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

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

    Permalink

    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