Explicit box for boolean values when doing a reflective call.
Information about the JavaScript environment Scala.
Explicit box for number values when doing a reflective call that was identified to be a call on Int rather than on Double (based on the result type of the method called reflectively).
Information about link-time configuration of Scala.
Explicit box for longs when doing a reflective call.
Explicit box for number values when doing a reflective call.
Emulates a Long on the JavaScript platform.
Error thrown when an undefined behavior in Fatal mode has been detected.
Low-level stuff.
Utilities to test for erroneous conditions depending on the Semantics configuration.
Conversions of JavaScript stack traces to Java stack traces.
Dummy method used to preserve the type parameter of
js.constructorOf[T]
through erasure.
Dummy method used to preserve the type parameter of
js.constructorOf[T]
through erasure.
An early phase of the compiler reroutes calls to js.constructorOf[T]
into runtime.constructorOf(classOf[T])
.
The clazz
parameter must be a literal classOf[T]
constant such that
T
represents a class extending js.Any
(not a trait nor an object).
Information about the environment Scala.
Information about the environment Scala.js runs in
See EnvironmentInfo for details.
Polyfill for fround in case we use strict Floats and even Typed Arrays are not available.
Polyfill for fround in case we use strict Floats and even Typed Arrays
are not available.
Note: this method returns a Double, even though the value is meant
to be a Float. It cannot return a Float because that would require to
do x.toFloat
somewhere in here, which would itself, in turn, call this
method.
Information known at link-time, given the output configuration.
Information known at link-time, given the output configuration.
See LinkingInfo for details.
Public access to new ConstructorTag
for the codegen of
js.ConstructorTag.materialize
.
Returns an array of the enumerable properties in an object's prototype chain.
Returns an array of the enumerable properties in an object's prototype chain.
This is the implementation of js.Object.properties.
(Since version 0.6.6) Use scala.scalajs.LinkingInfo.assumingES6 instead.
Instantiates a JS object with variadic arguments to the constructor.
Instantiates a JS object with variadic arguments to the constructor.
This method was needed by the codegen of 0.6.0 through 0.6.2. It is not needed anymore, and should not be used directly.
It is kept for backward binary compatibility with 0.6.{0,1,2}, but will be removed in the next major version.
(Since version 0.6.3) Use js.Dynamic.newInstance instead.