TypeTreeModule

scala.quoted.Quotes.reflectModule.TypeTreeModule

Methods of the module object val TypeTree

Attributes

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

Members list

Value members

Abstract methods

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

Returns the tree of type or kind (TypeTree) of T

Returns the tree of type or kind (TypeTree) of T

Attributes

Source
Quotes.scala
def ref(typeSymbol: Symbol): TypeTree

Returns a type tree reference to the symbol

Returns a type tree reference to the symbol

Value parameters

sym

The type symbol for which we are creating a type tree reference.

Attributes

Source
Quotes.scala