GeneratorParams

Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def fromString(params: String): Either[String, GeneratorParams]
def fromStringCollectUnrecognized(params: String): Either[String, (GeneratorParams, Seq[String])]

Parses generator parameters from the comma-separated string, collects the unrecognized ones.

Parses generator parameters from the comma-separated string, collects the unrecognized ones.

This allows subsequent generators to try and process those parameters.

Returns: Left(error): if a parsing error occurred. Right((params, remainder)): generated params and all unrecognized params