scala.quoted.FromExpr
See theFromExpr companion object
A type class for types that can convert a quoted.Expr[T] to a T.
- Converts expression containing literal values to their values:
'{1}->1,'{2}->2, ...- For all primitive types and
String
- Converts an expression that constructs a copy of its value.
- This expression must be some kind of data structure (
Some,List,Either, ...) - Calls to
new XorX.applycan be lifted into its value - Arguments of constructors can be recursively unlifted
- This expression must be some kind of data structure (
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- object EmptyTupleFromExpr.typeobject NilFromExpr.typeobject NoneFromExpr.typeobject StringContextFromExpr.type