Values

oxygen.cli.Values
See theValues companion trait
object Values

Attributes

Companion
trait
Experimental
true
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Values.type

Members list

Type members

Classlikes

final case class Bracketed[A](name: LongName, parser: Parser[A], hints: List[HelpHint]) extends Values[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[A]
trait Parser[A]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait FinalParseResult[+A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Fail
class Success[A]
case object Ignored extends Values[Unit]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Values[Unit]
trait Parser[Unit]
class Object
trait Matchable
class Any
Show all
Self type
Ignored.type
final case class Mapped[A, B](parser: Values[A], f: A => B) extends Values[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[B]
trait Parser[B]
class Object
trait Matchable
class Any
Show all
final case class MappedOrFail[A, B](parser: Values[A], f: A => Either[String, B]) extends Values[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[B]
trait Parser[B]
class Object
trait Matchable
class Any
Show all
final case class Optional[A](parser: Values[A], breakOnAnyError: Boolean) extends Values[Option[A]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[Option[A]]
trait Parser[Option[A]]
class Object
trait Matchable
class Any
Show all
final case class Or[A](left: Values[A], right: Values[A]) extends Values[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[A]
trait Parser[A]
class Object
trait Matchable
class Any
Show all
object ParseResult

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait ParseResult[+A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Fail
class Success[A]
final case class Raw(name: LongName, hints: List[HelpHint]) extends Values[ValueLike]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[ValueLike]
trait Parser[ValueLike]
class Object
trait Matchable
class Any
Show all
final case class Repeated[A](parser: Values[A], breakOnAnyError: Boolean) extends Values[List[A]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[List[A]]
trait Parser[List[A]]
class Object
trait Matchable
class Any
Show all
final case class RepeatedNel[A](parser: Values[A], breakOnAnyError: Boolean) extends Values[NonEmptyList[A]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[NonEmptyList[A]]
trait Parser[NonEmptyList[A]]
class Object
trait Matchable
class Any
Show all
final case class SingleValue(name: LongName, hints: List[HelpHint]) extends Values[String]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[String]
trait Parser[String]
class Object
trait Matchable
class Any
Show all
final case class Then[A, B, O](a: Values[A], b: Values[B], zip: Out[A, B, O]) extends Values[O]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[O]
trait Parser[O]
class Object
trait Matchable
class Any
Show all
final case class WithDefault[A](parser: Values[A], default: A, breakOnAnyError: Boolean) extends Values[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Values[A]
trait Parser[A]
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def value[A : StringDecoder](name: LongName, hints: List[Make]): Values[A]