Evaluable

com.phasmidsoftware.visitor.core.Evaluable
trait Evaluable[V, R]

Typeclass: given a node of type V, extract an optional result of type R. This is the "what do we want to know about a node" concern.

Type parameters

R

the result type

V

the node type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def evaluate(v: V): Option[R]