scala.scalajs.js

ConstructorTag

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. NotNull
  4. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

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

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

    Definition Classes
    Any
  7. val constructor: Dynamic

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

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

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

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

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

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

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

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

    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

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

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

Shadowed Implicit Value Members

  1. val self: scala.Any

    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (constructorTag: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: scala.Any

    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (constructorTag: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: ConstructorTag[T]

    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to ArrowAssoc[ConstructorTag[T]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (constructorTag: ArrowAssoc[ConstructorTag[T]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ConstructorTag[T]

    Implicit information
    This member is added by an implicit conversion from ConstructorTag[T] to Ensuring[ConstructorTag[T]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (constructorTag: Ensuring[ConstructorTag[T]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyVal

Inherited from NotNull

Inherited from scala.Any

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

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

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

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

Ungrouped