Class

org.scalajs.core.compiler

JSPrimitives

Related Doc: package compiler

Permalink

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

    Permalink

Type Members

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

    Permalink

Abstract Value Members

  1. abstract val global: Global

    Permalink
  2. abstract val jsAddons: ThisJSGlobalAddons

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val ARR_CREATE: Int

    Permalink
  5. val CONSTRUCTOROF: Int

    Permalink
  6. val DEBUGGER: Int

    Permalink
  7. val DELETE: Int

    Permalink
  8. val DICT_DEL: Int

    Permalink
  9. val DYNLIT: Int

    Permalink
  10. val DYNNEW: Int

    Permalink
  11. val F2JS: Int

    Permalink
  12. val F2JSTHIS: Int

    Permalink
  13. val HASPROP: Int

    Permalink
  14. val JS_IMPORT: Int

    Permalink
  15. val JS_NATIVE: Int

    Permalink
  16. val LINKING_INFO: Int

    Permalink
  17. val OBJPROPS: Int

    Permalink
  18. val TYPEOF: Int

    Permalink
  19. val UNITVAL: Int

    Permalink
  20. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  21. def clone(): AnyRef

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

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

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

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

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

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

    Permalink

    Initialize the map of primitive methods (for GenJSCode)

  28. def initPrepJSPrimitives(): Unit

    Permalink

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

  29. final def isInstanceOf[T0]: Boolean

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

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

    Permalink

    Only call from PrepJSInterop.

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

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

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

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

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

    Permalink

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

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped