StringContextFromExpr

Default implementation of FromExpr[StringContext]

  • Transform '{StringContext(args: _*)} into Some(StringContext(args: _*)) if args is explicit and each one is liftable
  • Otherwise returns None
Source:
FromExpr.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

Return the value of the expression.

Return the value of the expression.

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

Source:
FromExpr.scala