ImplicitRefs

abstract class ImplicitRefs(initctx: Context)

A common base class of contextual implicits and of-type implicits which represents a set of references to implicit definitions.

class Object
trait Matchable
class Any

Value members

Abstract methods

protected def isAccessible(ref: TermRef)(using Context): Boolean

The implicit references

The implicit references

Concrete methods

If comes from an implicit scope of a type, the companion objects making up that implicit scope, otherwise the empty set.

If comes from an implicit scope of a type, the companion objects making up that implicit scope, otherwise the empty set.

protected def filterMatching(pt: Type)(using Context): List[Candidate]

Return those references in refs that are compatible with type pt.

Return those references in refs that are compatible with type pt.

def level: Int

The nesting level of this context. Non-zero only in ContextialImplicits

The nesting level of this context. Non-zero only in ContextialImplicits

Concrete fields

final lazy protected val Context: Context