TypeReprModule

scala.quoted.Quotes.reflectModule.TypeReprModule

Methods of the module object val TypeRepr

Attributes

Source
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TypeRepr.type

Members list

Value members

Abstract methods

def of[T <: AnyKind](using Type[T]): TypeRepr

Returns the type or kind (TypeRepr) of T

Returns the type or kind (TypeRepr) of T

Attributes

Source
Quotes.scala
def typeConstructorOf(clazz: Class[_]): TypeRepr

Returns the type constructor of the runtime (erased) class

Returns the type constructor of the runtime (erased) class

Attributes

Source
Quotes.scala