ToExpr

scala.quoted.ToExpr
See theToExpr companion object
trait ToExpr[T]

A type class for types that can convert a value of T into quoted.Expr[T] an expression that will create a copy of the value.

Attributes

Companion:
object
Source:
ToExpr.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ArrayOfByteToExpr.type
object ArrayOfCharToExpr.type
object ArrayOfFloatToExpr.type
object ArrayOfIntToExpr.type
object ArrayOfLongToExpr.type
object ArrayOfShortToExpr.type
object BigDecimalToExpr.type
object BigIntToExpr.type
object EmptyTupleToExpr.type
object NilToExpr.type
object NoneToExpr.type

Members list

Concise view

Value members

Abstract methods

def apply(x: T)(using Quotes): Expr[T]

Lift a value into an expression containing the construction of that value

Lift a value into an expression containing the construction of that value

Attributes

Source:
ToExpr.scala