package types

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. types
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AltNode[A](as: List[OptTree[A]]) extends OptTree[A] with Product with Serializable
  2. case class AltP[A](p1: Parser[A], p2: Parser[A]) extends Parser[A] with Product with Serializable
  3. sealed trait ArgPolicy extends AnyRef
  4. case class ArgReader[A](cr: CReader[A]) extends OptReader[A] with Product with Serializable
  5. type Args = List[String]
  6. case class BindP[A, B](p: Parser[A], f: (A) => Parser[B]) extends Parser[B] with Product with Serializable
  7. final case class CReader[A](reader: ReadM[A]) extends Product with Serializable
  8. case class CmdReader[A](ns: List[String], f: (String) => Option[ParserInfo[A]]) extends OptReader[A] with Product with Serializable
  9. class Doc extends AnyRef
  10. case class ErrorMsg(msg: String) extends ParseError with Product with Serializable
  11. sealed trait ExitCode extends AnyRef
  12. case class ExitFailure(code: Int) extends ExitCode with Product with Serializable
  13. case class Failure[A](failure: ParserFailure[ParserHelp]) extends ParserResult[A] with Product with Serializable
  14. case class FlagReader[A](ns: List[OptName], a: A) extends OptReader[A] with Product with Serializable
  15. case class InfoMsg(msg: String) extends ParseError with Product with Serializable
  16. case class Leaf[A](a: A) extends OptTree[A] with Product with Serializable
  17. case class MultNode[A](as: List[OptTree[A]]) extends OptTree[A] with Product with Serializable
  18. case class MultP[A, B](p1: Parser[(A) => B], p2: Parser[A]) extends Parser[B] with Product with Serializable
  19. case class NilP[A](fa: Option[A]) extends Parser[A] with Product with Serializable
  20. final case class Opt[A](main: OptReader[A], props: OptProperties) extends Product with Serializable

    A single option of a parser.

  21. final case class OptHelpInfo(multi: Boolean, default: Boolean) extends Product with Serializable
  22. case class OptLong(name: String) extends OptName with Product with Serializable
  23. sealed trait OptName extends AnyRef
  24. case class OptP[A](fa: Opt[A]) extends Parser[A] with Product with Serializable
  25. final case class OptProperties(visibility: OptVisibility, help: Chunk[Doc], metaVar: String, showDefault: Option[String]) extends Product with Serializable

    Specification for an individual parser option.

  26. sealed trait OptReader[A] extends AnyRef
  27. case class OptShort(name: Char) extends OptName with Product with Serializable
  28. sealed trait OptTree[A] extends AnyRef
  29. sealed trait OptVisibility extends Ordered[OptVisibility]
  30. case class OptionReader[A](ns: List[OptName], cr: CReader[A], e: ParseError) extends OptReader[A] with Product with Serializable
  31. sealed trait ParseError extends AnyRef
  32. sealed trait Parser[A] extends AnyRef
  33. case class ParserFailure[H](run: (String) => (H, ExitCode, Int)) extends Product with Serializable
  34. final case class ParserInfo[A](parser: Parser[A], fullDesc: Boolean, progDesc: Chunk[Doc], header: Chunk[Doc], footer: Chunk[Doc], failureCode: Int, intersperse: Boolean) extends Product with Serializable

    A full description for a runnable Parser for a program.

    A full description for a runnable Parser for a program.

    parser

    the option parser for the program

    fullDesc

    whether the help text should contain full documentation

    failureCode

    exit code for a parser failure

  35. trait ParserM[R] extends AnyRef
  36. final case class ParserPrefs(multiSuffix: String, disambiguate: Boolean = false, showHelpOnError: Boolean = false, backtrack: Boolean = false, columns: Int = 80) extends Product with Serializable

    multiSuffix

    metavar suffix for multiple options

    disambiguate

    automatically disambiguate abbreviations

    showHelpOnError

    show help text on parse errors

    backtrack

    backtrack to parent parser when a subcommand fails

    columns

    format the help page

  37. sealed trait ParserResult[A] extends AnyRef
  38. final case class ReadM[A](run: ReaderT[[β$1$]\/[ParseError, β$1$], String, A]) extends Product with Serializable

    A newtype over the Either monad used by option readers.

  39. case class Success[A](a: A) extends ParserResult[A] with Product with Serializable

Value Members

  1. object AllowOpts extends ArgPolicy with Product with Serializable
  2. object CReader extends Serializable
  3. object Doc
  4. object ExitSuccess extends ExitCode with Product with Serializable
  5. object Hidden extends OptVisibility with Product with Serializable
  6. object Internal extends OptVisibility with Product with Serializable
  7. object Opt extends Serializable
  8. object OptName
  9. object OptReader
  10. object ParseError
  11. object Parser extends ParserInstances with ParserFunctions
  12. object ParserFailure extends Serializable
  13. object ParserInfo extends Serializable
  14. object ParserM
  15. object ReadM extends Serializable
  16. object ShowHelpText extends ParseError with Product with Serializable
  17. object SkipOpts extends ArgPolicy with Product with Serializable
  18. object UnknownError extends ParseError with Product with Serializable
  19. object Visible extends OptVisibility with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped