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

    Permalink
  8. val DYNLIT: Int

    Permalink
  9. val DYNNEW: Int

    Permalink
  10. val F2JS: Int

    Permalink
  11. val F2JSTHIS: Int

    Permalink
  12. val HASPROP: Int

    Permalink
  13. val JS_NATIVE: Int

    Permalink
  14. val LINKING_INFO: Int

    Permalink
  15. val OBJPROPS: Int

    Permalink
  16. val TYPEOF: Int

    Permalink
  17. val UNITVAL: Int

    Permalink
  18. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

    Permalink

    Initialize the map of primitive methods (for GenJSCode)

  26. def initPrepJSPrimitives(): Unit

    Permalink

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

  27. final def isInstanceOf[T0]: Boolean

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

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

    Permalink

    Only call from PrepJSInterop.

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

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

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

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

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

    Permalink

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped