Object

org.scalajs.nscplugin.JSGlobalAddons

jsInterop

Related Doc: package JSGlobalAddons

Permalink

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

    Permalink

    Info for a non-member export.

  2. sealed abstract class JSCallingConvention extends AnyRef

    Permalink
  3. sealed abstract class JSName extends AnyRef

    Permalink
  4. case class StaticExportInfo(jsName: String)(pos: scala.tools.nsc.Global.Position) extends ExportInfo with Product with Serializable

    Permalink
  5. case class TopLevelExportInfo(moduleID: String, jsName: String)(pos: scala.tools.nsc.Global.Position) extends ExportInfo with Product with Serializable

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object JSCallingConvention

    Permalink
  5. object JSName

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clearGlobalState(): Unit

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def defaultJSNameOf(sym: scala.tools.nsc.Global.Symbol): String

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def isExport(sym: scala.tools.nsc.Global.Symbol): Boolean

    Permalink

    checks if the given symbol is a JSExport

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isJSBracketAccess(sym: scala.tools.nsc.Global.Symbol): Boolean

    Permalink

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

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

    Permalink

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

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

    Permalink

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

  20. def isJSProperty(sym: scala.tools.nsc.Global.Symbol): Boolean

    Permalink
  21. def isJSSetter(sym: scala.tools.nsc.Global.Symbol): Boolean

    Permalink

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

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

    Permalink

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

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

    Permalink

    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.

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

    Permalink

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

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

    Permalink

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

  26. def jsclassAccessorFor(clazz: scala.tools.nsc.Global.Symbol): scala.tools.nsc.Global.Symbol

    Permalink
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def registerStaticExports(sym: scala.tools.nsc.Global.Symbol, infos: List[StaticExportInfo]): Unit

    Permalink
  31. def registerTopLevelExports(sym: scala.tools.nsc.Global.Symbol, infos: List[TopLevelExportInfo]): Unit

    Permalink
  32. def scalaExportName(jsName: String, isProp: Boolean): scala.tools.nsc.Global.TermName

    Permalink

    creates a name for an export specification

  33. def staticExportsOf(sym: scala.tools.nsc.Global.Symbol): List[StaticExportInfo]

    Permalink
  34. def storeJSNativeLoadSpec(sym: scala.tools.nsc.Global.Symbol, spec: JSNativeLoadSpec): Unit

    Permalink

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

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. def topLevelExportsOf(sym: scala.tools.nsc.Global.Symbol): List[TopLevelExportInfo]

    Permalink
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped