Derivation

com.phasmidsoftware.tableparser.core.util.Derivation
object Derivation

Helpers for the type classes that are derived from a case class's Mirror (CellParser, CsvRenderer, CsvGenerator, CsvProduct and HierarchicalRenderer).

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Derivation.type

Members list

Value members

Concrete methods

inline def fieldNames[Ls <: Tuple]: List[String]

Method to get the names of the fields of a case class from its Mirror's MirroredElemLabels. This replaces 1.x's Reflection.extractFieldNames: the names come from the compiler, and are exactly the constructor parameters, in declaration order.

Method to get the names of the fields of a case class from its Mirror's MirroredElemLabels. This replaces 1.x's Reflection.extractFieldNames: the names come from the compiler, and are exactly the constructor parameters, in declaration order.

Type parameters

Ls

the MirroredElemLabels.

Attributes

Returns

the field names, in declaration order.