abstract class PrepJSInterop[G <: Global with Singleton] extends PluginComponent with PrepJSExports[G] with Transform with CompatComponent

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
CompatComponent, Transform, PrepJSExports[G], PluginComponent, SubComponent, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrepJSInterop
  2. CompatComponent
  3. Transform
  4. PrepJSExports
  5. PluginComponent
  6. SubComponent
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PrepJSInterop(global: G)

Type Members

  1. implicit class BTypesCompat extends AnyRef
    Definition Classes
    CompatComponent
  2. implicit final class GlobalCompat extends AnyRef
    Definition Classes
    CompatComponent
  3. implicit final class SAMFunctionCompatOps extends AnyRef
    Definition Classes
    CompatComponent
  4. implicit final class SymbolCompat extends AnyRef
    Definition Classes
    CompatComponent
  5. implicit final class TyperCompat extends AnyRef
    Definition Classes
    CompatComponent
  6. class JSInteropPhase extends Phase
  7. class JSInteropTransformer extends G.Transformer
  8. class Phase extends scala.tools.nsc.transform.Transform.StdPhase
    Definition Classes
    Transform
  9. abstract class StdPhase extends GlobalPhase
    Definition Classes
    SubComponent

Abstract Value Members

  1. abstract val jsAddons: JSGlobalAddons { val global: PrepJSInterop.this.global.type }

    Not for use in the constructor body: only initialized afterwards.

  2. abstract val runsAfter: List[String]
    Definition Classes
    SubComponent
  3. abstract val scalaJSOpts: ScalaJSOptions

    Not for use in the constructor body: only initialized afterwards.

Concrete Value Members

  1. object AttachmentsCompat
    Definition Classes
    CompatComponent
  2. object AttachmentsCompatDef
    Definition Classes
    CompatComponent
  3. object WarningCategoryCompat
    Definition Classes
    CompatComponent
  4. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def ##(): Int
    Definition Classes
    AnyRef → Any
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. lazy val DottyEnumSingletonCompat: DottyEnumSingleton.type
    Definition Classes
    CompatComponent
  8. val WarningCategory: CompatComponent.WarningCategoryCompat.Reporting.WarningCategory.type
    Definition Classes
    CompatComponent
  9. final def afterOwnPhase[T](op: ⇒ T): T
    Definition Classes
    SubComponent
    Annotations
    @inline()
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. final def beforeOwnPhase[T](op: ⇒ T): T
    Definition Classes
    SubComponent
    Annotations
    @inline()
  12. def checkSetterSignature(sym: G.Symbol, pos: G.Position, exported: Boolean): Unit

    Checks that a setter has the right signature.

    Checks that a setter has the right signature.

    Reports error messages otherwise.

  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  14. def description: String
    Definition Classes
    PrepJSInterop → PluginComponent
  15. def enabled: Boolean
    Definition Classes
    SubComponent
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def genExport(sym: G.Symbol): List[G.Tree]

    Generate exports for the given Symbol.

    Generate exports for the given Symbol.

    * Registers top-level and static exports. * Returns (non-static) exporters for this symbol.

    Definition Classes
    PrepJSExports
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. val global: G
    Definition Classes
    PrepJSInteropCompatComponent → SubComponent
  22. def hashCode(): Int
    Definition Classes
    SubComponent → AnyRef → Any
  23. val initial: Boolean
    Definition Classes
    SubComponent
  24. final val internal: Boolean(false)
    Definition Classes
    PluginComponent → SubComponent
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isJSAny(sym: G.Symbol): Boolean
  27. def isPrivateMaybeWithin(sym: G.Symbol): Boolean

    Tests whether the symbol has private in any form, either private, private[this] or private[Enclosing].

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def newPhase(p: scala.tools.nsc.Phase): StdPhase
    Definition Classes
    PrepJSInterop → Transform → SubComponent
  30. def newTransformer(unit: G.CompilationUnit): G.Transformer
    Attributes
    protected
    Definition Classes
    PrepJSInterop → Transform
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def ownPhase: scala.tools.nsc.Phase
    Definition Classes
    SubComponent
  34. val phaseName: String
    Definition Classes
    PrepJSInterop → SubComponent
  35. def phaseNewFlags: Long
    Definition Classes
    SubComponent
  36. def phaseNextFlags: Long
    Definition Classes
    SubComponent
  37. val requires: List[String]
    Definition Classes
    SubComponent
  38. val runsBefore: List[String]
    Definition Classes
    SubComponent
  39. val runsRightAfter: Option[String]
    Definition Classes
    PluginComponent → SubComponent
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. val terminal: Boolean
    Definition Classes
    SubComponent
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from CompatComponent

Inherited from Transform

Inherited from PrepJSExports[G]

Inherited from PluginComponent

Inherited from SubComponent

Inherited from AnyRef

Inherited from Any

Ungrouped