T trait

Unliftable [T]

extends Object

A typeclass for types that can be turned from a quoted.Expr[T] to a T

Supertypes

Object

Members

def 

apply

( x: Expr[T] ) ( implicit  qctx: QuoteContext ) : Option[T]

Return the value of the expression.

Returns None if the expression does not contain a value or contains side effects. Otherwise returns the Some of the...

Return the value of the expression.

Returns None if the expression does not contain a value or contains side effects. Otherwise returns the Some of the value.