Package

org.scalajs.core.tools

linker

Permalink

package linker

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

Type Members

  1. type CheckedBehavior = sem.CheckedBehavior

    Permalink
  2. final class ClearableLinker extends GenLinker

    Permalink

    A box around a GenLinker to support clearing.

    A box around a GenLinker to support clearing.

    This further supports:

    • batch mode (clearing after every operation)
    • clearing if linker throws

    This class is not thread-safe.

  3. type ESFeatures = OutputMode

    Permalink
  4. trait GenLinker extends AnyRef

    Permalink

    Common supertrait of Linker and ClearableLinker.

    Common supertrait of Linker and ClearableLinker.

    Essentially anything that has the link and linkUnit methods.

  5. final class LinkedClass extends AnyRef

    Permalink

    A ClassDef after linking.

    A ClassDef after linking.

    Note that the version in the LinkedClass does not cover staticMethods, memberMethods, abstractMethods and exportedMembers as they have their individual versions. (The collections themselves are not versioned).

    Moreover, the version is relative to the identity of a LinkedClass. The definition of identity varies as linked classes progress through the linking pipeline, but it only gets stronger, i.e., if two linked classes are id-different at phase P, then they must also be id-different at phase P+1. The converse is not true. This guarantees that versions can be used reliably to determine at phase P+1 whether a linked class coming from phase P must be reprocessed.

  6. final class LinkedMember[+T <: Tree] extends AnyRef

    Permalink

    A MethodDef or a PropertyDef after linking.

    A MethodDef or a PropertyDef after linking.

    Note that the version is relative to the identity of a LinkedMember. The definition of identity varies as linked members progress through the linking pipeline, but it only gets stronger, i.e., if two linked members are id-different at phase P, then they must also be id-different at phase P+1. The converse is not true. This guarantees that versions can be used reliably to determine at phase P+1 whether a linked member coming from phase P must be reprocessed.

  7. final class Linker extends GenLinker

    Permalink

    The Scala.js linker

  8. trait LinkerPlatformExtensions extends AnyRef

    Permalink
  9. class LinkingException extends Exception

    Permalink

    Thrown by the linker when linking cannot be performed.

  10. final class LinkingUnit extends AnyRef

    Permalink
  11. sealed abstract class ModuleInitializer extends AnyRef

    Permalink

    A module initializer for a Scala.js application.

    A module initializer for a Scala.js application.

    When linking a Scala.js application, a sequence of ModuleInitializers can be given. Those module initializers will be executed at the startup of the application. More specifically, the top-level code of the ECMAScript 2015 module emitted for the application will invoke the specified module initializers in the specified order, after having initialized everything else (notably static initializers).

    Instances of ModuleInitializer can be created with methods of the ModuleInitializer companion object.

  12. type ModuleKind = linker.backend.ModuleKind

    Permalink
  13. type Semantics = sem.Semantics

    Permalink

Value Members

  1. val CheckedBehavior: sem.CheckedBehavior.type

    Permalink
  2. val ESFeatures: OutputMode.type

    Permalink
  3. object LinkedClass

    Permalink
  4. object Linker extends LinkerPlatformExtensions

    Permalink
  5. object LinkerPlatformExtensions

    Permalink
  6. object ModuleInitializer

    Permalink

    Factory for ModuleInitializers.

  7. val ModuleKind: linker.backend.ModuleKind.type

    Permalink
  8. val Semantics: sem.Semantics.type

    Permalink
  9. object StandardLinker

    Permalink
  10. object StandardLinkerPlatformExtensions

    Permalink
  11. package analyzer

    Permalink
  12. package backend

    Permalink
  13. package checker

    Permalink
  14. package frontend

    Permalink
  15. package standard

    Permalink

Deprecated Value Members

  1. object LinkingUnit

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.15) This object only contains deprecated members.

Inherited from AnyRef

Inherited from Any

Ungrouped