Parent

com.phasmidsoftware.lascala.tree.Parent
See theParent companion object
trait Parent[T]

A trait which expresses parenthood. This defines a type class.

Type parameters

T

the underlying type of the Parent

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def children(t: T): Seq[T]

Get the children of a T.

Get the children of a T.

Value parameters

t

the parent whose children we want

Attributes

Returns

the children as a Seq of T