Packages

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. def clearGlobalState(): Unit
  2. def defaultJSNameOf(sym: scala.tools.nsc.Global.Symbol): String
  3. def isExport(sym: scala.tools.nsc.Global.Symbol): Boolean

    checks if the given symbol is a JSExport

  4. def isJSBracketAccess(sym: scala.tools.nsc.Global.Symbol): Boolean

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

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

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

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

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

  7. def isJSProperty(sym: scala.tools.nsc.Global.Symbol): Boolean
  8. def isJSSetter(sym: scala.tools.nsc.Global.Symbol): Boolean

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

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

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

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

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

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

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

  13. def jsclassAccessorFor(clazz: scala.tools.nsc.Global.Symbol): scala.tools.nsc.Global.Symbol
  14. def registerStaticExports(sym: scala.tools.nsc.Global.Symbol, infos: List[StaticExportInfo]): Unit
  15. def registerTopLevelExports(sym: scala.tools.nsc.Global.Symbol, infos: List[TopLevelExportInfo]): Unit
  16. def scalaExportName(jsName: String, isProp: Boolean): scala.tools.nsc.Global.TermName

    creates a name for an export specification

  17. def staticExportsOf(sym: scala.tools.nsc.Global.Symbol): List[StaticExportInfo]
  18. 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.

  19. def topLevelExportsOf(sym: scala.tools.nsc.Global.Symbol): List[TopLevelExportInfo]
  20. object JSCallingConvention
  21. object JSName