Class/Object

scala.scalajs.js

ConstructorTag

Related Docs: object ConstructorTag | package js

Permalink

final class ConstructorTag[T <: Any] extends AnyVal

Stores the JS constructor function of a JS class.

A ConstructorTag[T] holds the constructor function of a JS class, as retrieved by js.constructorOf[T]. Similarly to ClassTags, ConstructorTags can be implicitly materialized when T is statically known to be a JS class, i.e., a valid type argument to js.constructorOf.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstructorTag
  2. AnyVal
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to any2stringadd[ConstructorTag[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ConstructorTag[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to ArrowAssoc[ConstructorTag[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: scala.Any): Boolean

    Permalink
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val constructor: Dynamic

    Permalink
  8. def ensuring(cond: (ConstructorTag[T]) ⇒ Boolean, msg: ⇒ scala.Any): ConstructorTag[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to Ensuring[ConstructorTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (ConstructorTag[T]) ⇒ Boolean): ConstructorTag[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to Ensuring[ConstructorTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ scala.Any): ConstructorTag[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to Ensuring[ConstructorTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): ConstructorTag[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to Ensuring[ConstructorTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to StringFormat[ConstructorTag[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  13. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def newInstance(args: scala.Any*): T

    Permalink

    Instantiates the class T with the specified arguments.

    Instantiates the class T with the specified arguments.

    Note that, unlike js.Dynamic.newInstance, this method accepts scala.Anys as parameters.

  16. def toString(): String

    Permalink
    Definition Classes
    Any
  17. def [B](y: B): (ConstructorTag[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to ArrowAssoc[ConstructorTag[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from scala.Any

Inherited by implicit conversion any2stringadd from ConstructorTag[T] to any2stringadd[ConstructorTag[T]]

Inherited by implicit conversion StringFormat from ConstructorTag[T] to StringFormat[ConstructorTag[T]]

Inherited by implicit conversion Ensuring from ConstructorTag[T] to Ensuring[ConstructorTag[T]]

Inherited by implicit conversion ArrowAssoc from ConstructorTag[T] to ArrowAssoc[ConstructorTag[T]]

Ungrouped