final class StandardConfig extends AnyRef

Configuration of a standard linker.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StandardConfig
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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
  6. val checkIR: Boolean
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. val closureCompilerIfAvailable: Boolean
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. val esFeatures: ESFeatures
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val jsHeader: String
  17. val maxConcurrentWrites: Int
  18. val moduleKind: ModuleKind
  19. val moduleSplitStyle: ModuleSplitStyle
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val optimizer: Boolean
  24. val outputPatterns: OutputPatterns
  25. val parallel: Boolean
  26. val prettyPrint: Boolean
  27. val relativizeSourceMapBase: Option[URI]
  28. val semantics: Semantics
  29. val sourceMap: Boolean
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    StandardConfig → AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. def withBatchMode(batchMode: Boolean): StandardConfig
  36. def withCheckIR(checkIR: Boolean): StandardConfig
  37. def withClosureCompilerIfAvailable(closureCompilerIfAvailable: Boolean): StandardConfig
  38. def withESFeatures(f: (ESFeatures) ⇒ ESFeatures): StandardConfig
  39. def withESFeatures(esFeatures: ESFeatures): StandardConfig
  40. def withJSHeader(jsHeader: String): StandardConfig

    Sets the jsHeader to a JS comment to add at the top of generated .js files.

    Sets the jsHeader to a JS comment to add at the top of generated .js files.

    The header must satisfy the following constraints:

    • It must contain only valid JS whitespace and/or JS comments (single- or multi-line comment, or, at the very beginning, a hashbang comment).
    • It must not use new line characters that are not UNIX new lines ("\n").
    • If non-empty, it must end with a new line.
    • It must not contain unpaired surrogate characters (i.e., it must be a valid UTF-16 string).

    Those requirements can be checked with StandardConfig.isValidJSHeader.

    Exceptions thrown

    java.lang.IllegalArgumentException if the header is not valid

  41. def withMaxConcurrentWrites(maxConcurrentWrites: Int): StandardConfig
  42. def withModuleKind(moduleKind: ModuleKind): StandardConfig
  43. def withModuleSplitStyle(moduleSplitStyle: ModuleSplitStyle): StandardConfig
  44. def withOptimizer(optimizer: Boolean): StandardConfig
  45. def withOutputPatterns(f: (OutputPatterns) ⇒ OutputPatterns): StandardConfig
  46. def withOutputPatterns(outputPatterns: OutputPatterns): StandardConfig
  47. def withParallel(parallel: Boolean): StandardConfig
  48. def withPrettyPrint(prettyPrint: Boolean): StandardConfig
  49. def withRelativizeSourceMapBase(relativizeSourceMapBase: Option[URI]): StandardConfig
  50. def withSemantics(f: (Semantics) ⇒ Semantics): StandardConfig
  51. def withSemantics(semantics: Semantics): StandardConfig
  52. def withSourceMap(sourceMap: Boolean): StandardConfig

Inherited from AnyRef

Inherited from Any

Ungrouped