org.bitbucket.inkytonik.kiama

relation

package relation

Visibility
  1. Public
  2. All

Type Members

  1. case class Bridge[T](cross: T) extends Product with Serializable

    A bridge node in a tree structure which connects to another structure.

  2. case class NodeNotInTreeException[T](t: T) extends Exception with Product with Serializable

    Exception thrown if a tree relation operation tries to use a node that is not in the tree to which the relation applies.

  3. class Relation[T, U] extends AnyRef

    A binary relation between values of type T and values of type U.

  4. case class StructureIsNotATreeException(msg: String) extends Exception with Product with Serializable

    Exception thrown if CheckTree is specified as a tree's shape but the provided structure is not a tree.

  5. class Tree[T <: Product, +R <: T] extends AnyRef

    Relational representations of trees built out of hierarchical Product instances.

  6. class TreeRelation[T <: Product] extends Relation[T, T]

    A tree relation is a binary relation on tree nodes with an extra property that the image operation throws a NodeNotInTreeException exception if it is applied to a node that is not in this tree.

  7. sealed abstract class TreeShape extends AnyRef

    Tree properties

Value Members

  1. object CheckTree extends TreeShape with Product with Serializable

    The incoming structure should be a tree (i.

  2. object EnsureTree extends TreeShape with Product with Serializable

    The incoming structure may not be a tree (e.

  3. object LeaveAlone extends TreeShape with Product with Serializable

    The incoming structure has an acceptable shape and should be left alone by the tree processing.

  4. object Relation

    Support for binary relations.

  5. object TreeRelation

    Support for tree relations.

Ungrouped