c

org.scalajs.nscplugin

JSPrimitives

abstract class JSPrimitives extends AnyRef

Extension of ScalaPrimitives for primitives only relevant to the JS backend

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

Instance Constructors

  1. new JSPrimitives()

Type Members

  1. type ThisJSGlobalAddons = JSGlobalAddons { val global: JSPrimitives.this.global.type }

Abstract Value Members

  1. abstract val global: Global
  2. abstract val jsAddons: ThisJSGlobalAddons

Concrete 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 val ARR_CREATE: Int
  5. final val CONSTRUCTOROF: Int
  6. final val CREATE_INNER_JS_CLASS: Int
  7. final val CREATE_LOCAL_JS_CLASS: Int
  8. final val DEBUGGER: Int
  9. final val DELETE: Int
  10. final val DYNAMIC_IMPORT: Int
  11. final val DYNNEW: Int
  12. final val FORIN: Int
  13. final val FirstJSPrimitiveCode: Int(300)
  14. final val IDENTITY_HASH_CODE: Int
  15. final val IN: Int
  16. final val INSTANCEOF: Int
  17. final val JS_IMPORT: Int
  18. final val JS_IMPORT_META: Int
  19. final val JS_NATIVE: Int
  20. final val JS_NEW_TARGET: Int
  21. final val JS_THROW: Int
  22. final val JS_TRY_CATCH: Int
  23. final val LINKING_INFO: Int
  24. final val LastJSPrimitiveCode: Int
  25. final val STRICT_EQ: Int
  26. final val TYPEOF: Int
  27. final val UNITVAL: Int
  28. final val UNWRAP_FROM_THROWABLE: Int
  29. final val WITH_CONTEXTUAL_JS_CLASS_VALUE: Int
  30. final val WRAP_AS_THROWABLE: Int
  31. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  32. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  35. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def init(): Unit

    Initialize the map of primitive methods (for GenJSCode)

  39. def initPrepJSPrimitives(): Unit

    Init the map of primitive methods for Scala.js (for PrepJSInterop)

  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. def isJavaScriptPrimitive(code: Int): Boolean
  42. def isJavaScriptPrimitive(sym: scala.tools.nsc.Global.Symbol): Boolean

    Only call from PrepJSInterop.

    Only call from PrepJSInterop. In GenJSCode, use scalaPrimitives.isPrimitive instead

  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped