package core
- Alphabetic
- By Inheritance
- core
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
GenericInstances extends AnyRef
Generic derivation for ToRefTree
-
sealed
trait
RefTree extends AnyRef
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. -
implicit
class
RefTreeSyntax[A] extends AnyRef
Syntax sugar for converting data to RefTree
-
trait
ToRefTree[A] extends AnyRef
A typeclass for mapping data to RefTree representations
A typeclass for mapping data to RefTree representations
- Annotations
- @implicitNotFound( ... )
Value Members
- object RefTree
- object ToRefTree extends CollectionInstances with HackedCollectionInstances with GenericInstances