org.scalajs.core.compiler

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
Learn more about member selection
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: 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. val ARR_CREATE: Int

  7. val CONSTRUCTOROF: Int

  8. val DEBUGGER: Int

  9. val DELETE: Int

  10. val DICT_DEL: Int

  11. val DYNLIT: Int

  12. val DYNNEW: Int

  13. val F2JS: Int

  14. val F2JSTHIS: Int

  15. val HASPROP: Int

  16. val JS_IMPORT: Int

  17. val JS_NATIVE: Int

  18. val LINKING_INFO: Int

  19. val OBJPROPS: Int

  20. val TYPEOF: Int

  21. val UNITVAL: Int

  22. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  23. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  29. def init(): Unit

    Initialize the map of primitive methods (for GenJSCode)

  30. def initPrepJSPrimitives(): Unit

    Init the map of primitive methods for Scala.

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

  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def isJavaScriptPrimitive(code: Int): Boolean

  33. def isJavaScriptPrimitive(sym: scala.tools.nsc.Global.Symbol): Boolean

    Only call from PrepJSInterop.

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

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

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

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

    Definition Classes
    AnyRef
  37. def shouldEmitPrimitiveBody(sym: scala.tools.nsc.Global.Symbol): Boolean

    For a primitive, is it one for which we should emit its body anyway?

  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( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped