org.scalajs.core.tools.optimizer.ScalaJSOptimizer

Config

final class Config extends OptimizerConfig with Product with Serializable with Equals

Configuration for the output of the Scala.js optimizer.

Linear Supertypes
Serializable, Serializable, Product, Equals, OptimizerConfig, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Config
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. OptimizerConfig
  7. AnyRef
  8. 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, wantSourceMap: Boolean = false, relativizeSourceMapBase: Option[URI] = None, bypassLinkingErrors: Boolean = false, checkIR: Boolean = false, unCache: Boolean = true, disableOptimizer: Boolean = false, batchMode: Boolean = false, noWarnMissing: Seq[NoWarnMissing] = Nil)

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.5) Use Config(output) and .withXYZ() methods

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val batchMode: Boolean

    If true, nothing is performed incrementally

    If true, nothing is performed incrementally

    Definition Classes
    ConfigOptimizerConfig
  8. 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
  9. val cache: Option[WritableVirtualTextFile]

  10. 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
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val customOutputWrapper: (String, String)

  13. val disableOptimizer: Boolean

    If true, no optimizations are performed

    If true, no optimizations are performed

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

    Definition Classes
    AnyRef
  15. def equals(other: Any): Boolean

    Definition Classes
    Config → Equals → AnyRef → Any
  16. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  21. 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
  22. final def notify(): Unit

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

    Definition Classes
    AnyRef
  24. val output: WritableVirtualJSFile

  25. def productIterator: Iterator[Any]

    Definition Classes
    Product
  26. def productPrefix: String

    Definition Classes
    Product
  27. val relativizeSourceMapBase: Option[URI]

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    Config → AnyRef → Any
  30. 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
  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. 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
    ConfigOptimizerConfig
  35. def withBatchMode(batchMode: Boolean): Config

  36. def withBypassLinkingErrors(bypassLinkingErrors: Boolean): Config

  37. def withCache(cache: Option[WritableVirtualTextFile]): Config

  38. def withCheckIR(checkIR: Boolean): Config

  39. def withCustomOutputWrapper(customOutputWrapper: (String, String)): Config

  40. def withDisableOptimizer(disableOptimizer: Boolean): Config

  41. def withNoWarnMissing(noWarnMissing: Seq[NoWarnMissing]): Config

  42. def withRelativizeSourceMapBase(relativizeSourceMapBase: Option[URI]): Config

  43. def withUnCache(unCache: Boolean): Config

  44. def withWantSourceMap(wantSourceMap: Boolean): Config

Deprecated Value Members

  1. def canEqual(that: Any): Boolean

    Definition Classes
    Config → Equals
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.5) Not a case class anymore

  2. def copy(output: WritableVirtualJSFile = this.output, cache: Option[WritableVirtualTextFile] = this.cache, wantSourceMap: Boolean = this.wantSourceMap, relativizeSourceMapBase: Option[URI] = this.relativizeSourceMapBase, bypassLinkingErrors: Boolean = this.bypassLinkingErrors, checkIR: Boolean = this.checkIR, unCache: Boolean = this.unCache, disableOptimizer: Boolean = this.disableOptimizer, batchMode: Boolean = this.batchMode, noWarnMissing: Seq[NoWarnMissing] = this.noWarnMissing): Config

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.5) Not a case class anymore

  3. def productArity: Int

    Definition Classes
    Config → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.5) Not a case class anymore

  4. def productElement(n: Int): Any

    Definition Classes
    Config → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.5) Not a case class anymore

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from OptimizerConfig

Inherited from AnyRef

Inherited from Any

Ungrouped