org.scalajs.core.tools.optimizer

GenIncOptimizer

abstract class GenIncOptimizer extends AnyRef

Incremental optimizer. An incremental optimizer consumes the reachability Analysis produced by an Analyzer, as well as trees for classes, and optimizes them in an incremental way. It maintains state between runs to do a minimal amount of work on every run, based on detecting what parts of the program must be re-optimized, and keeping optimized results from previous runs for the rest.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenIncOptimizer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenIncOptimizer(semantics: Semantics, outputMode: OutputMode, considerPositions: Boolean)

    semantics

    Required Scala.js Semantics

    outputMode

    Output mode

    considerPositions

    Should positions be considered when comparing tree hashes

  2. new GenIncOptimizer(semantics: Semantics, considerPositions: Boolean)

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.3) Use the overload with an explicit output mode

Type Members

  1. class Class extends MethodContainer

    Class in the class hierarchy (not an interface).

  2. abstract class InterfaceType extends Unregisterable

    Type of a class or interface.

  3. abstract class MethodContainer extends AnyRef

    Base class for Class and TraitImpl.

  4. abstract class MethodImpl extends OptimizerCore.MethodImpl with AbstractMethodID with Unregisterable

    A method implementation.

  5. class StaticsNamespace extends MethodContainer

    Namespace for static members of a class.

  6. trait Unregisterable extends AnyRef

    Thing from which a MethodImpl can unregister itself from.

Abstract Value Members

  1. abstract val CollOps: AbsCollOps

    Attributes
    protected
  2. abstract def getInterface(encodedName: String): InterfaceType

    Attributes
    protected
  3. abstract def newMethodImpl(owner: MethodContainer, encodedName: String): MethodImpl

    Attributes
    protected
  4. abstract def processAllTaggedMethods(): Unit

    Optimizer part: process all methods that need reoptimizing.

    Optimizer part: process all methods that need reoptimizing. PROCESS PASS ONLY. (This IS the process pass).

    Attributes
    protected
  5. abstract def scheduleMethod(method: MethodImpl): Unit

    Schedule a method for processing in the PROCESS PASS

    Schedule a method for processing in the PROCESS PASS

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def findClass(encodedName: String): Class

  12. def findStaticsNamespace(encodedName: String): StaticsNamespace

  13. def getClass(encodedName: String): Option[Class]

  14. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  15. def getStaticsNamespace(encodedName: String): Option[StaticsNamespace]

  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def logProcessingMethods(count: Int): Unit

    Attributes
    protected
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. def update(unit: LinkingUnit, logger: Logger): LinkingUnit

    Update the incremental analyzer with a new run.

  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped