T trait

ValueOfExpr [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  x$2: 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.