NiceUnliftable

trait NiceUnliftable[T] extends FromExpr[T]
trait FromExpr[T]
class Object
trait Matchable
class Any
object quatUnliftable.type
object unliftAction.type
object unliftAggregation.type
object unliftAssignment.type
object unliftAst.type
object unliftCaseClass.type
object unliftConstant.type
object unliftEntity.type
object unliftIdent.type
object unliftJoinType.type
object unliftOperator.type
object unliftOrdering.type
object unliftProperty.type
object unliftQuery.type
object unliftRenameable.type
object unliftVisibility.type

Value members

Abstract methods

def unlift: Quotes ?=> PartialFunction[Expr[T], T]

Concrete methods

def apply(expr: Expr[T])(using Quotes): T
def attempt(expr: Expr[T])(using Quotes): Option[T]
def unapply(expr: Expr[T])(using Quotes): Option[T]

For things that contain subclasses, don't strictly check the super type and fail the match if the type fails since we can't do that when it could be a sub-type of the type being matched. The only thing we can do in that case is go through the sub-parser and see if anything matches.

For things that contain subclasses, don't strictly check the super type and fail the match if the type fails since we can't do that when it could be a sub-type of the type being matched. The only thing we can do in that case is go through the sub-parser and see if anything matches.