IsEager

com.phasmidsoftware.number.expression.expr.IsEager
object IsEager

Companion object providing an extractor for retrieving the Eager value associated with a given Expression. The extractor is used to match on Expression instances and specifically identify instances that are ValueExpression containing an Eager component.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
IsEager.type

Members list

Value members

Concrete methods

def unapply(expression: Expression): Option[Eager]

Extractor method to deconstruct an Expression and retrieve the associated Eager value if applicable. This will match both Literal and NamedConstant cases.

Extractor method to deconstruct an Expression and retrieve the associated Eager value if applicable. This will match both Literal and NamedConstant cases.

Value parameters

expression

the Expression instance to be analyzed and matched.

Attributes

Returns

an Option containing the Eager value if the input is a ValueExpression with an Eager component; None otherwise.