Packages

c

org.scalajs.linker.backend

BasicLinkerBackend

final class BasicLinkerBackend extends LinkerBackendImpl

The basic backend for the Scala.js linker.

Simply emits the JavaScript without applying any further optimizations.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BasicLinkerBackend
  2. LinkerBackendImpl
  3. LinkerBackend
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BasicLinkerBackend(config: Config)

Value Members

  1. val coreSpec: CoreSpec

    Core specification that this linker backend implements.

    Core specification that this linker backend implements.

    Definition Classes
    LinkerBackendImplLinkerBackend
  2. def emit(moduleSet: ModuleSet, output: OutputDirectory, logger: Logger)(implicit ec: ExecutionContext): Future[Report]

    Emit the given ModuleSet to the target output.

    Emit the given ModuleSet to the target output.

    moduleSet

    ModuleSet to emit

    output

    Directory to write to

    logger

    Logger to use

    Definition Classes
    BasicLinkerBackendLinkerBackend
  3. def injectedIRFiles: Seq[IRFile]

    Additional IR files to inject for linking, mandated by this back-end.

    Additional IR files to inject for linking, mandated by this back-end.

    Example: the standard emitter back-end injects RuntimeLong.sjsir and its companion object, unless it uses BigInts to implement Longs.

    Definition Classes
    BasicLinkerBackendLinkerBackend
  4. val symbolRequirements: SymbolRequirement

    Symbols this backend needs to be present in the linking unit.

    Symbols this backend needs to be present in the linking unit.

    Definition Classes
    BasicLinkerBackendLinkerBackend