scala.quoted.FromExpr.NilFromExpr
Default implementation of FromExpr[Nil]
- Transform
'{Nil} into Some(Nil)
- Otherwise returns
None
Attributes
- Source
-
FromExpr.scala
- Graph
-
- Supertypes
-
- Self type
-
Members list
Returns the value of the expression.
Returns 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.
Value parameters
- x
-
the quoted expression to extract a value from
Attributes
- Returns
-
Some(value) if the expression contains an extractable value, None otherwise
- Source
-
FromExpr.scala
Generated with
Copyright (c) 2002-2026, LAMP/EPFL
Copyright (c) 2002-2026, LAMP/EPFL