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

Concise view

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

Attributes

sym

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

Source:
Quotes.scala