unliftOptionOperation

object unliftOptionOperation extends NiceUnliftable[OptionOperation]
trait NiceUnliftable[OptionOperation]
trait FromExpr[OptionOperation]
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Inherited methods

def apply(expr: Expr[OptionOperation])(using Quotes): OptionOperation
Inherited from:
NiceUnliftable
def attempt(expr: Expr[OptionOperation])(using Quotes): Option[OptionOperation]
Inherited from:
NiceUnliftable
def unapply(expr: Expr[OptionOperation])(using Quotes): Option[OptionOperation]

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.

Inherited from:
NiceUnliftable