Class/Object

org.scalajs.core.tools.optimizer.ScalaJSClosureOptimizer

Config

Related Docs: object Config | package ScalaJSClosureOptimizer

Permalink

final class Config extends OptimizerConfig with ScalaJSOptimizer.OptimizerConfig with Product with Serializable with Equals

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
    Annotations
    @deprecated
    Deprecated

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

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 customOutputWrapper: (String, String)

    Permalink
  11. val disableOptimizer: Boolean

    Permalink

    If true, no optimizations are performed

    If true, no optimizations are performed

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. 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
  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. val output: WritableVirtualJSFile

    Permalink
    Definition Classes
    ConfigOptimizerConfig
  23. val prettyPrint: Boolean

    Permalink
    Definition Classes
    ConfigOptimizerConfig
  24. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  25. def productPrefix: String

    Permalink
    Definition Classes
    Product
  26. val relativizeSourceMapBase: Option[URI]

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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

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

    Permalink
  35. def withBypassLinkingErrors(bypassLinkingErrors: Boolean): Config

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

    Permalink
  37. def withCheckIR(checkIR: Boolean): Config

    Permalink
  38. def withCustomOutputWrapper(customOutputWrapper: (String, String)): Config

    Permalink
  39. def withDisableOptimizer(disableOptimizer: Boolean): Config

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

    Permalink
  41. def withPrettyPrint(prettyPrint: Boolean): Config

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

    Permalink
  43. def withUnCache(unCache: Boolean): Config

    Permalink
  44. def withWantSourceMap(wantSourceMap: Boolean): Config

    Permalink

Deprecated Value Members

  1. def canEqual(that: Any): Boolean

    Permalink
    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, bypassLinkingErrors: Boolean = this.bypassLinkingErrors, checkIR: Boolean = this.checkIR, unCache: Boolean = this.unCache, disableOptimizer: Boolean = this.disableOptimizer, batchMode: Boolean = this.batchMode, wantSourceMap: Boolean = this.wantSourceMap, prettyPrint: Boolean = this.prettyPrint, relativizeSourceMapBase: Option[URI] = this.relativizeSourceMapBase, noWarnMissing: Seq[NoWarnMissing] = this.noWarnMissing): Config

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.5) Not a case class anymore

  3. def productArity: Int

    Permalink
    Definition Classes
    Config → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.5) Not a case class anymore

  4. def productElement(n: Int): Any

    Permalink
    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