object jsInterop

global javascript interop related helpers

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

Type Members

  1. sealed trait ExportInfo extends AnyRef

    Info for a non-member export.

  2. sealed abstract class JSCallingConvention extends AnyRef
  3. sealed abstract class JSName extends AnyRef
  4. case class StaticExportInfo (jsName: String)(pos: scala.tools.nsc.Global.Position) extends ExportInfo with Product with Serializable
  5. case class TopLevelExportInfo (moduleID: String, jsName: String)(pos: scala.tools.nsc.Global.Position) extends ExportInfo with Product with Serializable

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearGlobalState(): Unit
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def defaultJSNameOf(sym: scala.tools.nsc.Global.Symbol): String
  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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. def isExport(sym: scala.tools.nsc.Global.Symbol): Boolean

    checks if the given symbol is a JSExport

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isJSBracketAccess(sym: scala.tools.nsc.Global.Symbol): Boolean

    has this symbol to be translated into a JS bracket access (JS to Scala)

  16. def isJSBracketCall(sym: scala.tools.nsc.Global.Symbol): Boolean

    has this symbol to be translated into a JS bracket call (JS to Scala)

  17. def isJSGetter(sym: scala.tools.nsc.Global.Symbol): Boolean

    has this symbol to be translated into a JS getter (both directions)?

  18. def isJSProperty(sym: scala.tools.nsc.Global.Symbol): Boolean
  19. def isJSSetter(sym: scala.tools.nsc.Global.Symbol): Boolean

    has this symbol to be translated into a JS setter (both directions)?

  20. def jsExportInfo(name: scala.tools.nsc.Global.Name): (String, Boolean)

    retrieves the originally assigned jsName of this export and whether it is a property

  21. def jsNameOf(sym: scala.tools.nsc.Global.Symbol): JSName

    Gets the unqualified JS name of a symbol.

    Gets the unqualified JS name of a symbol.

    If it is not explicitly specified with an @JSName annotation, the JS name is inferred from the Scala name.

  22. def jsNativeLoadSpecOf(sym: scala.tools.nsc.Global.Symbol): JSNativeLoadSpec

    Gets the JS native load spec of a symbol in the current compilation run.

  23. def jsNativeLoadSpecOfOption(sym: scala.tools.nsc.Global.Symbol): Option[JSNativeLoadSpec]

    Gets the JS native load spec of a symbol in the current compilation run, if it has one.

  24. def jsclassAccessorFor(clazz: scala.tools.nsc.Global.Symbol): scala.tools.nsc.Global.Symbol
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  28. def registerStaticExports(sym: scala.tools.nsc.Global.Symbol, infos: List[StaticExportInfo]): Unit
  29. def registerTopLevelExports(sym: scala.tools.nsc.Global.Symbol, infos: List[TopLevelExportInfo]): Unit
  30. def scalaExportName(jsName: String, isProp: Boolean): scala.tools.nsc.Global.TermName

    creates a name for an export specification

  31. def staticExportsOf(sym: scala.tools.nsc.Global.Symbol): List[StaticExportInfo]
  32. def storeJSNativeLoadSpec(sym: scala.tools.nsc.Global.Symbol, spec: JSNativeLoadSpec): Unit

    Stores the JS native load spec of a symbol for the current compilation run.

  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def topLevelExportsOf(sym: scala.tools.nsc.Global.Symbol): List[TopLevelExportInfo]
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. object JSCallingConvention
  40. object JSName

Inherited from AnyRef

Inherited from Any

Ungrouped