org.scalajs.core.compiler.JSGlobalAddons

jsInterop

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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait ExportInfo extends AnyRef

  2. sealed abstract class JSName extends AnyRef

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. object JSName

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clearGlobalState(): Unit

  9. def clone(): AnyRef

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

    Gets the fully qualified JS name of a static module Symbol compiled with the 0.

    Gets the fully qualified JS name of a static module Symbol compiled with the 0.6.8 binary format or earlier.

  11. def defaultJSNameOf(sym: scala.tools.nsc.Global.Symbol): String

  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    checks if the given symbol is a JSExport

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

    Is this field symbol a static field at the IR level?

  19. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  29. final def notify(): Unit

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

    Definition Classes
    AnyRef
  31. def registerForExport(sym: scala.tools.nsc.Global.Symbol, infos: List[ExportInfo]): Unit

  32. def registeredExportsOf(sym: scala.tools.nsc.Global.Symbol): List[ExportInfo]

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

    creates a name for an export specification

  34. def staticFieldInfoOf(sym: scala.tools.nsc.Global.Symbol): List[ExportInfo]

    The export info of a static field.

    The export info of a static field.

    Requires isFieldStatic(sym).

    The result is non-empty. If it contains an ExportInfo with isStatic = true, then it is the only element in the list. Otherwise, all elements have isTopLevel = true.

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

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

    Definition Classes
    AnyRef
  37. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped