Leaf

treelog.Tree.Leaf
object Leaf

Leaf represents a tree node with no children.

You can use Leaf for tree construction or pattern matching.

Attributes

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

Members list

Value members

Concrete methods

def apply[A](root: => A): Tree[A]
def unapply[A](t: Tree[A]): Option[A]