StructuralTree

com.phasmidsoftware.lascala.tree.StructuralTree
See theStructuralTree companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def unapply[K, A](t: StructuralTree[K, A]): Option[StructuralTree[K, A]]

Extractor for use in pattern matching

Extractor for use in pattern matching

Type parameters

A

the tree type

Value parameters

t

the tree

Attributes

Returns

an optional tuple of two children.