abstract class JSPrimitives extends AnyRef
Extension of ScalaPrimitives for primitives only relevant to the JS backend
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- JSPrimitives
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new JSPrimitives()
Type Members
- type ThisJSGlobalAddons = JSGlobalAddons { val global: JSPrimitives.this.global.type }
Abstract Value Members
- abstract val global: Global
- abstract val jsAddons: ThisJSGlobalAddons
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ARR_CREATE: Int
- val CONSTRUCTOROF: Int
- val CREATE_INNER_JS_CLASS: Int
- val CREATE_LOCAL_JS_CLASS: Int
- val DEBUGGER: Int
- val DELETE: Int
- val DYNNEW: Int
- val FORIN: Int
- val FirstJSPrimitiveCode: Int
- val IN: Int
- val INSTANCEOF: Int
- val JS_NATIVE: Int
- val LINKING_INFO: Int
- val LastJSPrimitiveCode: Int
- val TYPEOF: Int
- val UNITVAL: Int
- val WITH_CONTEXTUAL_JS_CLASS_VALUE: Int
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def init(): Unit
Initialize the map of primitive methods (for GenJSCode)
- def initPrepJSPrimitives(): Unit
Init the map of primitive methods for Scala.js (for PrepJSInterop)
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isJavaScriptPrimitive(code: Int): Boolean
- def isJavaScriptPrimitive(sym: scala.tools.nsc.Global.Symbol): Boolean
Only call from PrepJSInterop.
Only call from PrepJSInterop. In GenJSCode, use scalaPrimitives.isPrimitive instead
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.InterruptedException])