Package

org.scalajs.core.tools

linker

Permalink

package linker

Visibility
  1. Public
  2. All

Type Members

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. final class Linker extends GenLinker

    Permalink

    The Scala.js linker

  6. trait LinkerPlatformExtensions extends AnyRef

    Permalink
  7. final class LinkingUnit extends AnyRef

    Permalink

Value Members

  1. object LinkedClass

    Permalink
  2. object Linker extends LinkerPlatformExtensions

    Permalink
  3. object LinkingUnit

    Permalink
  4. package analyzer

    Permalink
  5. package backend

    Permalink
  6. package checker

    Permalink
  7. package frontend

    Permalink

Ungrouped