final class StandardConfig extends AnyRef
Configuration of a standard linker.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StandardConfig
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val batchMode: Boolean
- val checkIR: Boolean
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val closureCompilerIfAvailable: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val esFeatures: ESFeatures
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jsHeader: String
- val maxConcurrentWrites: Int
- val moduleKind: ModuleKind
- val moduleSplitStyle: ModuleSplitStyle
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val optimizer: Boolean
- val outputPatterns: OutputPatterns
- val parallel: Boolean
- val prettyPrint: Boolean
- val relativizeSourceMapBase: Option[URI]
- val semantics: Semantics
- val sourceMap: Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- StandardConfig → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withBatchMode(batchMode: Boolean): StandardConfig
- def withCheckIR(checkIR: Boolean): StandardConfig
- def withClosureCompilerIfAvailable(closureCompilerIfAvailable: Boolean): StandardConfig
- def withESFeatures(f: (ESFeatures) ⇒ ESFeatures): StandardConfig
- def withESFeatures(esFeatures: ESFeatures): StandardConfig
-
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).
- It must not use new line characters that are not UNIX new lines (
"\n"
). - If non-empty, it must end with a new line.
Those requirements can be checked with StandardConfig.isValidJSHeader.
- Exceptions thrown
java.lang.IllegalArgumentException
if the header is not valid
- def withMaxConcurrentWrites(maxConcurrentWrites: Int): StandardConfig
- def withModuleKind(moduleKind: ModuleKind): StandardConfig
- def withModuleSplitStyle(moduleSplitStyle: ModuleSplitStyle): StandardConfig
- def withOptimizer(optimizer: Boolean): StandardConfig
- def withOutputPatterns(f: (OutputPatterns) ⇒ OutputPatterns): StandardConfig
- def withOutputPatterns(outputPatterns: OutputPatterns): StandardConfig
- def withParallel(parallel: Boolean): StandardConfig
- def withPrettyPrint(prettyPrint: Boolean): StandardConfig
- def withRelativizeSourceMapBase(relativizeSourceMapBase: Option[URI]): StandardConfig
- def withSemantics(f: (Semantics) ⇒ Semantics): StandardConfig
- def withSemantics(semantics: Semantics): StandardConfig
- def withSourceMap(sourceMap: Boolean): StandardConfig