org.scalajs.core.compiler

PrepJSInterop

Related Doc: package compiler

abstract class PrepJSInterop extends PluginComponent with PrepJSExports with Transform with Compat210Component

Prepares classes extending js.Any for JavaScript interop

This phase does: - Sanity checks for js.Any hierarchy - Annotate subclasses of js.Any to be treated specially - Rewrite calls to scala.Enumeration.Value (include name string) - Create JSExport methods: Dummy methods that are propagated through the whole compiler chain to mark exports. This allows exports to have the same semantics than methods.

Linear Supertypes
Compat210Component, Transform, PrepJSExports, PluginComponent, SubComponent, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PrepJSInterop
  2. Compat210Component
  3. Transform
  4. PrepJSExports
  5. PluginComponent
  6. SubComponent
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PrepJSInterop()

Type Members

  1. implicit final class ErasedValueTypeCompat extends AnyRef

    Definition Classes
    Compat210Component
  2. class JSInteropPhase extends Phase

  3. class JSInteropTransformer extends scala.tools.nsc.Global.Transformer

  4. class Phase extends scala.tools.nsc.transform.Transform.StdPhase

    Definition Classes
    Transform
  5. implicit final class RunCompat extends AnyRef

    Definition Classes
    Compat210Component
  6. trait ScalaEnumFctExtractors extends AnyRef

  7. abstract class StdPhase extends GlobalPhase

    Definition Classes
    SubComponent
  8. implicit final class SymbolCompat extends AnyRef

    Definition Classes
    Compat210Component

Abstract Value Members

  1. abstract val global: Global

    Definition Classes
    Compat210Component
  2. abstract val jsAddons: JSGlobalAddons { val global: PrepJSInterop.this.global.type }

  3. abstract val runsAfter: List[String]

    Definition Classes
    SubComponent
  4. abstract val scalaJSOpts: ScalaJSOptions

Concrete Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. object Mode

    Definition Classes
    Compat210Component
  5. final def afterOwnPhase[T](op: ⇒ T): T

    Definition Classes
    SubComponent
    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. final def beforeOwnPhase[T](op: ⇒ T): T

    Definition Classes
    SubComponent
    Annotations
    @inline()
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def description: String

    Definition Classes
    PluginComponent
  10. def enabled: Boolean

    Definition Classes
    SubComponent
  11. final def enteringPhase[T](ph: scala.tools.nsc.Phase)(op: ⇒ T): T

    Definition Classes
    Compat210Component
    Annotations
    @inline()
  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. final def exitingPhase[T](ph: scala.tools.nsc.Phase)(op: ⇒ T): T

    Definition Classes
    Compat210Component
    Annotations
    @inline()
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def genExportMember(ddef: scala.tools.nsc.Global.DefDef): List[scala.tools.nsc.Global.Tree]

    Definition Classes
    PrepJSExports
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hasLegalExportVisibility(sym: scala.tools.nsc.Global.Symbol): Boolean

    Whether the given symbol has a visibility that allows exporting

    Whether the given symbol has a visibility that allows exporting

    Definition Classes
    PrepJSExports
  19. def hashCode(): Int

    Definition Classes
    SubComponent → AnyRef → Any
  20. val initial: Boolean

    Definition Classes
    SubComponent
  21. final val internal: Boolean(false)

    Definition Classes
    PluginComponent → SubComponent
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def isJSAny(sym: scala.tools.nsc.Global.Symbol): Boolean

  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. def newPhase(p: scala.tools.nsc.Phase): JSInteropPhase

    Definition Classes
    PrepJSInterop → Transform → SubComponent
  26. def newTransformer(unit: scala.tools.nsc.Global.CompilationUnit): JSInteropTransformer

    Attributes
    protected
    Definition Classes
    PrepJSInterop → Transform
  27. final def notify(): Unit

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

    Definition Classes
    AnyRef
  29. def ownPhase: scala.tools.nsc.Phase

    Definition Classes
    SubComponent
  30. val phaseName: String

    Definition Classes
    PrepJSInterop → SubComponent
  31. def phaseNewFlags: Long

    Definition Classes
    SubComponent
  32. def phaseNextFlags: Long

    Definition Classes
    SubComponent
  33. final def repeatedToSingle(t: scala.tools.nsc.Global.Type): scala.tools.nsc.Global.Type

    Definition Classes
    Compat210Component
    Annotations
    @inline()
  34. val requires: List[String]

    Definition Classes
    SubComponent
  35. val runsBefore: List[String]

    Definition Classes
    SubComponent
  36. val runsRightAfter: Option[String]

    Definition Classes
    PluginComponent → SubComponent
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. val terminal: Boolean

    Definition Classes
    SubComponent
  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Compat210Component

Inherited from Transform

Inherited from PrepJSExports

Inherited from PluginComponent

Inherited from SubComponent

Inherited from AnyRef

Inherited from Any

Ungrouped