ToExpr

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.

Companion:
object
Source:
ToExpr.scala
class Object
trait Matchable
class Any

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

Source:
ToExpr.scala