OfTypeImplicits

class OfTypeImplicits(tp: Type, val companionRefs: TermRefSet)(initctx: Context) extends ImplicitRefs

The implicit references coming from the implicit scope of a type.

Value parameters:
companionRefs

the companion objects in the implicit scope.

tp

the type determining the implicit scope

class Object
trait Matchable
class Any

Value members

Concrete methods

override def isAccessible(ref: TermRef)(using Context): Boolean
Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

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.

Inherited from:
ImplicitRefs
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

Inherited from:
ImplicitRefs

Concrete fields

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.

The candidates that are eligible for expected type tp

The candidates that are eligible for expected type tp

lazy val refs: List[ImplicitRef]

The implicit references

The implicit references

Inherited fields

Inherited from:
ImplicitRefs

Givens

Inherited givens

Inherited from:
ImplicitRefs