ClassOfConstantModule
scala.quoted.Quotes.reflectModule.ClassOfConstantModule
trait ClassOfConstantModule
Methods of the module object val ClassOf
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
- Self type
-
Members list
Value members
Abstract methods
def apply(tpe: Quotes.this.reflectModule.this.TypeRepr): Quotes.this.reflectModule.this.ClassOfConstant
Create a constant class value representing classOf[<tpe>]
def unapply(constant: Quotes.this.reflectModule.this.ClassOfConstant): Option[Quotes.this.reflectModule.this.TypeRepr]
Match a class value constant representing classOf[<tpe>]
and extract its type
Match a class value constant representing classOf[<tpe>]
and extract its type
Attributes
- Source
- Quotes.scala
In this article