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
Quotes.this.reflectModule.this.TypeRepr.type

Members list

Value members

Abstract methods

def of[T <: AnyKind](using Type[T]): Quotes.this.reflectModule.this.TypeRepr

Returns the type or kind (TypeRepr) of T.

Returns the type or kind (TypeRepr) of T.

Type parameters

T

the type or kind to get the TypeRepr for

Attributes

Source
Quotes.scala

Returns the type constructor of the runtime (erased) class.

Returns the type constructor of the runtime (erased) class.

Value parameters

clazz

the runtime class

Attributes

Source
Quotes.scala