Tree

gapt.utils.Tree
See theTree companion object
case class Tree[+T](value: T, children: Vector[Tree[T]])

Attributes

Companion
object
Source
Tree.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def contains[S >: T](t: S): Boolean

Attributes

Source
Tree.scala
def foreach(f: T => Unit): Unit

Attributes

Source
Tree.scala
def map[S](f: T => S): Tree[S]

Attributes

Source
Tree.scala
def postOrder: Vector[T]

Attributes

Source
Tree.scala
def tails: Tree[Tree[T]]

Attributes

Source
Tree.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Tree.scala
def zip[S](that: Tree[S]): Tree[(T, S)]

Attributes

Source
Tree.scala
def zipWithDepth: Tree[(T, Int)]

Attributes

Source
Tree.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product