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 DYNNEW: Int
  11. final val FORIN: Int
  12. final val FirstJSPrimitiveCode: Int(300)
  13. final val IN: Int
  14. final val INSTANCEOF: Int
  15. final val JS_IMPORT: Int
  16. final val JS_NATIVE: Int
  17. final val LINKING_INFO: Int
  18. final val LastJSPrimitiveCode: Int
  19. final val STRICT_EQ: Int
  20. final val TYPEOF: Int
  21. final val UNITVAL: Int
  22. final val WITH_CONTEXTUAL_JS_CLASS_VALUE: Int
  23. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  24. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def init(): Unit

    Initialize the map of primitive methods (for GenJSCode)

  31. def initPrepJSPrimitives(): Unit

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

  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def isJavaScriptPrimitive(code: Int): Boolean
  34. def isJavaScriptPrimitive(sym: scala.tools.nsc.Global.Symbol): Boolean

    Only call from PrepJSInterop.

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

  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped