dotty.tools.dotc.typer

Implicits

Related Docs: object Implicits | package typer

trait Implicits extends AnyRef

The implicit resolution part of type checking

Self Type
Typer
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Implicits
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final class ExplainedImplicitSearch extends Typer.ImplicitSearch

  2. class ImplicitSearch extends AnyRef

    An implicit search; parameters as in inferImplicit

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def checkCanEqual(ltp: Type, rtp: Type, pos: Position)(implicit ctx: Context): Unit

    Check that equality tests between types ltp and rtp make sense

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. def inferImplicit(pt: Type, argument: ast.tpd.Tree, pos: Position)(implicit ctx: Context): SearchResult

    Find an implicit parameter or conversion.

    Find an implicit parameter or conversion.

    pt

    The expected type of the parameter or conversion.

    argument

    If an implicit conversion is searched, the argument to which it should be applied, EmptyTree otherwise.

    pos

    The position where errors should be reported. !!! todo: catch potential cycles

  13. def inferImplicitArg(formal: Type, error: ((String) ⇒ String) ⇒ Unit, pos: Position)(implicit ctx: Context): ast.tpd.Tree

    Find an implicit argument for parameter formal.

    Find an implicit argument for parameter formal.

    error

    An error handler that gets an error message parameter which is itself parameterized by another string, indicating where the implicit parameter is needed

  14. def inferView(from: ast.tpd.Tree, to: Type)(implicit ctx: Context): SearchResult

    Find an implicit conversion to apply to given tree from so that the result is compatible with type to.

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def synthesizedClassTag(formal: Type, pos: Position)(implicit ctx: Context): ast.tpd.Tree

    If formal is of the form ClassTag[T], where T is a class type, synthesize a class tag for T.

  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. def viewExists(from: Type, to: Type)(implicit ctx: Context): Boolean

  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped