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 DICT_DEL: Int

  10. val DYNLIT: Int

  11. val DYNNEW: Int

  12. val F2JS: Int

  13. val F2JSTHIS: Int

  14. val HASPROP: Int

  15. val JS_NATIVE: Int

  16. val LINKING_INFO: Int

  17. val OBJPROPS: Int

  18. val TYPEOF: Int

  19. val UNITVAL: Int

  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. def clone(): AnyRef

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

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

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

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

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

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

    Initialize the map of primitive methods (for GenJSCode)

  28. def initPrepJSPrimitives(): Unit

    Init the map of primitive methods for Scala.

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

  29. final def isInstanceOf[T0]: Boolean

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

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

    Only call from PrepJSInterop.

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

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

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

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

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

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

  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