ShowNT

ostrat.ShowNT
trait ShowNT[R] extends ShowCompoundT[R] with ShowT[R]

The base trait for the persistence of algebraic product types, including case classes.

Attributes

Graph
Supertypes
trait ShowCompoundT[R]
trait ShowT[R]
trait TypeStr
class Object
trait Matchable
class Any
Known subtypes
trait PersistN[R]
trait Persist2[A1, A2, R]
class Persist2Imp[A1, A2, R]
trait PersistShow2[A1, A2, R]
class PersistShow2Imp[A1, A2, R]
trait Persist3[A1, A2, A3, R]
class Persist3Imp[A1, A2, A3, R]
trait PersistShow3[A1, A2, A3, R]
class PersistShow3Imp[A1, A2, A3, R]
trait PersistShowN[R]
trait Show2T[A1, A2, R]
class Show2TImp[A1, A2, R]
trait ShowShow2T[A1, A2, R]
class ShowShow2TImp[A1, A2, R]
trait ShowShowDbl2T[R]
trait ShowShowInt2T[R]
trait Show3T[A1, A2, A3, R]
class Show3TImp[A1, A2, A3, R]
trait ShowShow3T[A1, A2, A3, R]
trait ShowShowDbl3T[R]
trait Show4T[A1, A2, A3, A4, R]
class Show4TImp[A1, A2, A3, A4, R]
trait Show5T[A1, A2, A3, A4, A5, R]
class Show5TImp[A1, A2, A3, A4, A5, R]
trait Show6T[A1, A2, A3, A4, A5, A6, R]
class Show6TImp[A1, A2, A3, A4, A5, A6, R]
trait ShowShowNT[R]

Members list

Concise view

Value members

Abstract methods

def strDecs(obj: R, way: ShowStyle, maxPlaces: Int): StrArr

Concrete methods

override def showDecT(obj: R, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Attributes

Definition Classes
override def showT(obj: R, style: ShowStyle): String

Attributes

Definition Classes
def strs(obj: R, way: ShowStyle): StrArr

Inherited methods

override def strT(obj: R): String

Provides the standard string representation for the object. Its called ShowT to indicate this is a type class method that acts upon an object rather than a method on the object being shown.

Provides the standard string representation for the object. Its called ShowT to indicate this is a type class method that acts upon an object rather than a method on the object being shown.

Attributes

Definition Classes
Inherited from:
ShowCompoundT
def syntaxDepthT(obj: R): Int

Simple values such as Int, String, Double have a syntax depth of one. A Tuple3[String, Int, Double] has a depth of 2. Not clear whether this should always be determined at compile time or if sometimes it should be determined at runtime.

Simple values such as Int, String, Double have a syntax depth of one. A Tuple3[String, Int, Double] has a depth of 2. Not clear whether this should always be determined at compile time or if sometimes it should be determined at runtime.

Attributes

Inherited from:
ShowT

The RSON type of T. This the only data that a ShowT instance requires, that can't be implemented through delegation to an object of type Show.

The RSON type of T. This the only data that a ShowT instance requires, that can't be implemented through delegation to an object of type Show.

Attributes

Inherited from:
TypeStr