Empty

oxygen.cli.Parser.Empty
case object Empty extends Parser[Unit]

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Parser[Unit]
class Object
trait Matchable
class Any
Show all
Self type
Empty.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Inherited and Abstract types

type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

override def buildInternal(usedParams: Set[SimpleName]): Either[BuildError, (Set[SimpleName], Parser[Unit])]

This should do 2 things:

This should do 2 things:

  1. Fail if there are duplicate param names
  2. Convert Defaultable.Auto into Defaultable.Some/Defaultable.None based on start of long name

Attributes

Definition Classes
override def helpMessage: HelpMessage

Attributes

Definition Classes
override def optionalName: Option[Name]

Attributes

Definition Classes
override def parse(values: List[ValueLike], params: List[ParamLike]): ParseResult[Unit]

Attributes

Definition Classes

Inherited methods

final def <||[A2 >: Unit](that: Parser[A2]): Parser[A2]

Attributes

Inherited from:
Parser
final def <||>[B](that: Parser[B]): Parser[Either[Unit, B]]

Attributes

Inherited from:
Parser
final def ^>>[B](that: Parser[B])(implicit zip: Zip[Unit, B]): Parser[zip.Out]

Attributes

Inherited from:
Parser
final def bracketed(name: LongName): Values[Unit]

Attributes

Inherited from:
Parser
final def build: Either[BuildError, Parser[Either[HelpType, Unit]]]

Attributes

Inherited from:
Parser
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def map[B](f: Unit => B): Parser[B]

Attributes

Inherited from:
Parser
def mapOrFail[B](f: Unit => Either[String, B]): Parser[B]

Attributes

Inherited from:
Parser
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product