ScalaParam

clam.derivation.DerivationApi.ScalaParam
trait ScalaParam[A]

Signature of a Scala parameter. These are used by the derivation macros to to instantiate parsers for every parameter. Note that this API should be considered experimental. In the future, this typeclass may be eliminated and the behavior folded directly into macros.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def makeParser(scalaName: String, default: Option[() => A], annot: param, doc: String): Parser[A]

Create a parser for a given scala parameter (e.g. method, class constructor).

Create a parser for a given scala parameter (e.g. method, class constructor).

Attributes