NamedTypeUniques

dotty.tools.dotc.core.Uniques.NamedTypeUniques

Attributes

Graph
Supertypes
trait Hashable
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

Attributes

Inherited from:
WeakHashSet

Value members

Concrete methods

def enterIfNew(prefix: Type, designator: Designator, isTerm: Boolean)(using Context): NamedType
override def hash(x: NamedType): Int

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
MutableSet
def +=(elem: NamedType): Unit

Add element x to the set

Add element x to the set

Attributes

Inherited from:
WeakHashSet

Attributes

Inherited from:
MutableSet
def -=(elem: NamedType): Unit

Remove element x from the set

Remove element x from the set

Attributes

Inherited from:
WeakHashSet
def add(x: NamedType): Boolean

attempts to put x in the Set, if it was not entered before, return true, else return false. Overridden in GenericHashSet.

attempts to put x in the Set, if it was not entered before, return true, else return false. Overridden in GenericHashSet.

Attributes

Inherited from:
MutableSet
def clear(resetToInitial: Boolean): Unit

Remove all elements from this set.

Remove all elements from this set.

Value parameters

resetToInitial

If true, set back to initial configuration, which includes reallocating tables.

Attributes

Inherited from:
WeakHashSet

Attributes

Inherited from:
ReadOnlySet
def foreach[U](f: NamedType => U): Unit

Attributes

Inherited from:
ReadOnlySet

Attributes

Inherited from:
Hashable

Attributes

Inherited from:
ReadOnlySet
override def iterator: Iterator[NamedType]

Attributes

Definition Classes
Inherited from:
WeakHashSet
def lookup(elem: NamedType): NamedType | Null

The entry in the set such that isEqual(x, entry), or else null.

The entry in the set such that isEqual(x, entry), or else null.

Attributes

Inherited from:
WeakHashSet
def put(elem: NamedType): NamedType

Like += but return existing element equal to x of it exists, x itself otherwise.

Like += but return existing element equal to x of it exists, x itself otherwise.

Attributes

Inherited from:
WeakHashSet
def size: Int

Attributes

Inherited from:
WeakHashSet

Attributes

Inherited from:
ReadOnlySet
final def typeHash(bs: Binders, tp: Type): Int

Attributes

Inherited from:
Hashable