Uniques

dotty.tools.dotc.core.Uniques$
See theUniques companion class
object Uniques

Defines operation unique for hash-consing types. Also defines specialized hash sets for hash consing uniques of a specific type. All sets offer a enterIfNew method which checks whether a type with the given parts exists already and creates a new one if not.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Uniques.type

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
trait Hashable
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
trait Hashable
class Object
trait Matchable
class Any

Value members

Concrete methods

def unique[T <: Type](tp: T)(using Context): T