TypeTreeModule

Methods of the module object val TypeTree

Source:
Quotes.scala
class Object
trait Matchable
class Any

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

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.

Source:
Quotes.scala