dotty.tools.backend.sjs

JSInterop

Related Doc: package sjs

object JSInterop

Management of the interoperability with JavaScript.

Linear Supertypes
AnyRef, Any
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

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 clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def fullJSNameOf(sym: Symbol)(implicit ctx: Context): String

    Gets the fully qualified JS name of a static class of module Symbol.

    Gets the fully qualified JS name of a static class of module Symbol.

    This is the JS name of the symbol qualified by the fully qualified JS name of its original owner if the latter is a native JS object.

  10. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. def isJSBracketAccess(sym: Symbol)(implicit ctx: Context): Boolean

    Should this symbol be translated into a JS bracket access?

    Should this symbol be translated into a JS bracket access?

    This is true for methods annotated with @JSBracketAccess.

  14. def isJSBracketCall(sym: Symbol)(implicit ctx: Context): Boolean

    Should this symbol be translated into a JS bracket call?

    Should this symbol be translated into a JS bracket call?

    This is true for methods annotated with @JSBracketCall.

  15. def isJSDefaultParam(sym: Symbol)(implicit ctx: Context): Boolean

    Is this symbol a default param accessor for a JS method?

    Is this symbol a default param accessor for a JS method?

    For default param accessors of *constructors*, we need to test whether the companion *class* of the owner is a JS type; not whether the owner is a JS type.

  16. def isJSGetter(sym: Symbol)(implicit ctx: Context): Boolean

    Should this symbol be translated into a JS getter?

    Should this symbol be translated into a JS getter?

    This is true for any parameterless method, i.e., defined without (). Unlike SymDenotations.isGetter, it applies to user-defined methods as much as *accessor* methods created for vals and vars.

  17. def isJSSetter(sym: Symbol)(implicit ctx: Context): Boolean

    Should this symbol be translated into a JS setter?

    Should this symbol be translated into a JS setter?

    This is true for any method whose name ends in _=. Unlike SymDenotations.isGetter, it applies to user-defined methods as much as *accessor* methods created for vars.

  18. def isJSType(sym: Symbol)(implicit ctx: Context): Boolean

    Is this symbol a JavaScript type?

  19. def isScalaJSDefinedJSClass(sym: Symbol)(implicit ctx: Context): Boolean

    Is this symbol a Scala.js-defined JS class, i.e., a non-native JS class?

  20. def jsNameOf(sym: Symbol)(implicit ctx: Context): String

    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.

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

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

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

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped