Persist2Elem

class Persist2Elem[A1, A2, R <: Show2[A1, A2]](val typeStr: String, val name1: String, val name2: String, val newT: (A1, A2) => R, val opt2: Option[A2], opt1In: Option[A1])(implicit ev1In: Persist[A1], ev2In: Persist[A2]) extends Show2ElemT[A1, A2, R] with PersistProduct[R]

Persist type class for types that extends Show2.

trait Persist[R]
trait UnShow[R]
trait Show2ElemT[A1, A2, R]
trait ShowElemT[R]
trait ShowT[R]
class Object
trait Matchable
class Any
class Persist2Dbls[R]
class Persist2Ints[R]

Value members

Inherited methods

Finds value of UnShow type, returns error if more than one match.

Finds value of UnShow type, returns error if more than one match.

Inherited from
UnShow
def findUniqueTFromStatements[ArrT <: ArrImut[R]](sts: Statements)(implicit arrBuild: ArrTBuilder[R, ArrT]): EMon[R]

Finds value of this UnShow type, returns error if more than one match.

Finds value of this UnShow type, returns error if more than one match.

Inherited from
UnShow
def fromClauses1[A1, B](f: A1 => B, clauses: Arr[Clause])(implicit ev1: Persist[A1]): EMon[B]
Inherited from
UnShow
override def fromExpr(expr: ParseExpr): EMon[R]
Definition Classes
Inherited from
PersistProduct
final def fromStatement(st: Statement): EMon[R]

Trys to build an object of type T from the statement. Not sure if this is useful.

Trys to build an object of type T from the statement. Not sure if this is useful.

Inherited from
UnShow
def settingTFromStatement(settingStr: String, st: Statement): EMon[R]

Finds a setting of the type of this UnShow instance from a [Statement].

Finds a setting of the type of this UnShow instance from a [Statement].

Inherited from
UnShow
def settingTFromStatements(sts: Arr[Statement], settingStr: String): EMon[R]

Finds a setting of the type of this UnShow instance from an Arr[Statement].

Finds a setting of the type of this UnShow instance from an Arr[Statement].

Inherited from
UnShow
override def showT(obj: R, way: Way, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from
ShowElemT
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.

Definition Classes
Inherited from
ShowElemT
override 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.

Definition Classes
Inherited from
ShowElemT

Produces a List of the UnShow type from List of Statements

Produces a List of the UnShow type from List of Statements

Inherited from
UnShow
def valuesFromStatements[ArrT <: ArrImut[R]](sts: Statements)(implicit arrBuild: ArrTBuilder[R, ArrT]): ArrT

Produces an ArrImut of the UnShow type from Statements (Refs[Statement].

Produces an ArrImut of the UnShow type from Statements (Refs[Statement].

Inherited from
UnShow

Concrete fields

val name1: String
val name2: String
val newT: (A1, A2) => R
val opt1: Option[A1]
val opt2: Option[A2]
val typeStr: String

Implicits

Implicits

implicit def ev1: ShowT[A1]
implicit def ev2: ShowT[A2]