T trait

Unliftable [T]

extends Object

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

Supertypes

Object

Members

def 

fromExpr

( x: Expr[T] ) : implicit 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.