StringContextFromExpr
scala.quoted.FromExpr.StringContextFromExpr
object StringContextFromExpr extends FromExpr[StringContext]
Default implementation of FromExpr[StringContext]
- Transform
'{StringContext(args*)}
intoSome(StringContext(args*))
ifargs
is explicit and each one is liftable - Otherwise returns
None
Attributes
- Source
- FromExpr.scala
- Graph
-
- Supertypes
- Self type
Members list
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.
Attributes
- Source
- FromExpr.scala
In this article