Package

scala.scalajs

runtime

Permalink

package runtime

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. runtime
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class AnonFunction0[+R] extends AbstractFunction0[R]

    Permalink
    Annotations
    @inline()
  2. final class AnonFunction1[-T1, +R] extends AbstractFunction1[T1, R]

    Permalink
    Annotations
    @inline()
  3. final class AnonFunction10[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, +R] extends AbstractFunction10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R]

    Permalink
    Annotations
    @inline()
  4. final class AnonFunction11[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, +R] extends AbstractFunction11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R]

    Permalink
    Annotations
    @inline()
  5. final class AnonFunction12[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, +R] extends AbstractFunction12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R]

    Permalink
    Annotations
    @inline()
  6. final class AnonFunction13[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, +R] extends AbstractFunction13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R]

    Permalink
    Annotations
    @inline()
  7. final class AnonFunction14[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, +R] extends AbstractFunction14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R]

    Permalink
    Annotations
    @inline()
  8. final class AnonFunction15[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, +R] extends AbstractFunction15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R]

    Permalink
    Annotations
    @inline()
  9. final class AnonFunction16[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, +R] extends AbstractFunction16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R]

    Permalink
    Annotations
    @inline()
  10. final class AnonFunction17[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, +R] extends AbstractFunction17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R]

    Permalink
    Annotations
    @inline()
  11. final class AnonFunction18[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, +R] extends AbstractFunction18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R]

    Permalink
    Annotations
    @inline()
  12. final class AnonFunction19[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, +R] extends AbstractFunction19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R]

    Permalink
    Annotations
    @inline()
  13. final class AnonFunction2[-T1, -T2, +R] extends AbstractFunction2[T1, T2, R]

    Permalink
    Annotations
    @inline()
  14. final class AnonFunction20[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, +R] extends AbstractFunction20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R]

    Permalink
    Annotations
    @inline()
  15. final class AnonFunction21[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21, +R] extends AbstractFunction21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R]

    Permalink
    Annotations
    @inline()
  16. final class AnonFunction22[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21, -T22, +R] extends AbstractFunction22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R]

    Permalink
    Annotations
    @inline()
  17. final class AnonFunction3[-T1, -T2, -T3, +R] extends AbstractFunction3[T1, T2, T3, R]

    Permalink
    Annotations
    @inline()
  18. final class AnonFunction4[-T1, -T2, -T3, -T4, +R] extends AbstractFunction4[T1, T2, T3, T4, R]

    Permalink
    Annotations
    @inline()
  19. final class AnonFunction5[-T1, -T2, -T3, -T4, -T5, +R] extends AbstractFunction5[T1, T2, T3, T4, T5, R]

    Permalink
    Annotations
    @inline()
  20. final class AnonFunction6[-T1, -T2, -T3, -T4, -T5, -T6, +R] extends AbstractFunction6[T1, T2, T3, T4, T5, T6, R]

    Permalink
    Annotations
    @inline()
  21. final class AnonFunction7[-T1, -T2, -T3, -T4, -T5, -T6, -T7, +R] extends AbstractFunction7[T1, T2, T3, T4, T5, T6, T7, R]

    Permalink
    Annotations
    @inline()
  22. final class AnonFunction8[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, +R] extends AbstractFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]

    Permalink
    Annotations
    @inline()
  23. final class AnonFunction9[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, +R] extends AbstractFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]

    Permalink
    Annotations
    @inline()
  24. class BooleanReflectiveCall extends AnyRef

    Permalink

    Explicit box for boolean values when doing a reflective call.

    Explicit box for boolean values when doing a reflective call. This class and its methods are only here to properly support reflective calls on booleans.

  25. trait EnvironmentInfo extends Object

    Permalink

    Information about the JavaScript environment Scala.js runs in.

    Information about the JavaScript environment Scala.js runs in.

    Holds configuration for the Scala.js internals and should not be used directly (could be retrieved via runtime.environmentInfo).

    This facade type serves as a documentation on what aspects of Scala.js can be influenced through environment options.

    Upon startup, Scala.js checks whether the name __ScalaJSEnv is defined in its scope (and references an object). If so, it uses it as environment info. Missing, non-optional fields (according to this facade type) are initialized to default values, optional fields are kept as in the original object. Finally, js.Object.freeze is called on the object to avoid modification.

    Annotations
    @RawJSType() @native()
  26. class IntegerReflectiveCall extends AnyRef

    Permalink

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

    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). This class and its methods are only here to properly support reflective calls on numbers.

  27. trait LinkingInfo extends Object

    Permalink

    Information about link-time configuration of Scala.js.

    Information about link-time configuration of Scala.js.

    Annotations
    @RawJSType() @native()
  28. class LongReflectiveCall extends AnyRef

    Permalink

    Explicit box for longs when doing a reflective call.

    Explicit box for longs when doing a reflective call. This class and its methods are only here to properly support reflective calls on longs.

  29. class NumberReflectiveCall extends AnyRef

    Permalink

    Explicit box for number values when doing a reflective call.

    Explicit box for number values when doing a reflective call. This class and its methods are only here to properly support reflective calls on numbers.

  30. final class RuntimeLong extends Number with java.io.Serializable with Comparable[java.lang.Long]

    Permalink

    Emulates a Long on the JavaScript platform.

  31. class UndefinedBehaviorError extends java.lang.Error with ControlThrowable

    Permalink

    Error thrown when an undefined behavior in Fatal mode has been detected.

    Error thrown when an undefined behavior in Fatal mode has been detected. This error should never be caught. It indicates a severe programming bug. In Unchecked mode, the program may behave arbitrarily. The cause is set to the exception that would have been thrown if the given behavior was in Compliant mode. If your program relies on the proper kind of exception being thrown, as if running on the JVM, you should set the appropriate behavior to Compliant. Note that this will have (potentially major) performance impacts.

Value Members

  1. object Bits

    Permalink

    Low-level stuff.

  2. object LinkingInfo

    Permalink
  3. object RuntimeLong extends Serializable

    Permalink
  4. object SemanticsUtils

    Permalink

    Utilities to test for erroneous conditions depending on the Semantics configuration.

  5. object StackTrace

    Permalink

    Conversions of JavaScript stack traces to Java stack traces.

  6. def cloneObject(from: Object): Object

    Permalink
  7. def constructorOf(clazz: Class[_ <: js.Any]): js.Dynamic

    Permalink

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

  8. def environmentInfo: EnvironmentInfo

    Permalink

    Information about the environment Scala.js runs in

    Information about the environment Scala.js runs in

    See EnvironmentInfo for details.

    Annotations
    @inline()
  9. def froundPolyfill(v: Double): Double

    Permalink

    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.

  10. final def genTraversableOnce2jsArray[A](col: GenTraversableOnce[A]): js.Array[A]

    Permalink
    Annotations
    @inline()
  11. final def jsTupleArray2jsObject(tuples: js.Array[(String, js.Any)]): Object with js.Dynamic

    Permalink
  12. def linkingInfo: LinkingInfo

    Permalink

    Information known at link-time, given the output configuration.

    Information known at link-time, given the output configuration.

    See LinkingInfo for details.

  13. def newConstructorTag[T <: js.Any](constructor: js.Dynamic): ConstructorTag[T]

    Permalink

    Public access to new ConstructorTag for the codegen of js.ConstructorTag.materialize.

  14. def propertiesOf(obj: js.Any): js.Array[String]

    Permalink

    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.

  15. def unwrapJavaScriptException(th: Throwable): Any

    Permalink
  16. def wrapJavaScriptException(e: Any): Throwable

    Permalink

Deprecated Value Members

  1. def assumingES6: Boolean

    Permalink
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.6.6) Use scala.scalajs.LinkingInfo.assumingES6 instead.

  2. def newJSObjectWithVarargs(ctor: js.Dynamic, args: js.Array[_]): js.Any

    Permalink

    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.

    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.6.3) Use js.Dynamic.newInstance instead.

Inherited from AnyRef

Inherited from Any

Ungrouped