Package

reftree

core

Permalink

package core

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. core
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait GenericInstances extends AnyRef

    Permalink

    Generic derivation for ToRefTree

    Generic derivation for ToRefTree

    This works for case class-like types, where for each field an instance of ToRefTree exists or can be derived using this same facility.

  2. sealed trait RefTree extends AnyRef

    Permalink

    A RefTree represents the object tree of an immutable data structure.

    A RefTree represents the object tree of an immutable data structure. Mutable data can be represented as well, as long as it is acyclic.

    A RefTree has three subtypes:

    • RefTree.Ref represents an object (AnyRef) with identity and a sequence of fields;
    • RefTree.Val represents a value (AnyVal);
    • RefTree.Null is a special case to represent null.

    This type is mainly geared towards visualization of structural sharing, however in some cases the representation can be simplified for the benefit of the visualization. For example, reftree.contrib.SimplifiedInstances contains “black box” representations of List, Seq and Map that do not expose the internal structure.

    A RefTree for a type A can be obtained using the ToRefTree typeclass.

  3. implicit class RefTreeSyntax[A] extends AnyRef

    Permalink

    Syntax sugar for converting data to RefTree

  4. trait ToRefTree[A] extends AnyRef

    Permalink

    A typeclass for mapping data to RefTree representations

    A typeclass for mapping data to RefTree representations

    Annotations
    @implicitNotFound( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped