caseapp.core.parser

All-the-arguments parsing stuff.

Mostly revolves around caseapp.core.parser.Parser.

Attributes

Members list

Concise view

Type members

Classlikes

trait Argument[H]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Argument

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class ConsParser[H, T <: Tuple](argument: Argument[H], tail: Parser[T]) extends Parser[H *: T]

Attributes

Graph
Supertypes
trait Product
trait Equals
class Parser[H *: T]
trait ParserMethods[H *: T]
class Object
trait Matchable
class Any
case class EitherParser[T](underlying: Parser[T]) extends Parser[Either[Error, T]]

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Parser[Either[Error, T]]
trait ParserMethods[Either[Error, T]]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class IgnoreUnrecognizedParser[T](underlying: Parser[T]) extends Parser[T]

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Parser[T]
trait ParserMethods[T]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Parser.type
case class MappedParser[T, U](underlying: Parser[T], f: T => U) extends Parser[U]

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Parser[U]
trait ParserMethods[U]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case object NilParser extends Parser[EmptyTuple]

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Parser[EmptyTuple]
trait ParserMethods[EmptyTuple]
class Object
trait Matchable
class Any
Self type
case class OptionParser[T](underlying: Parser[T]) extends Parser[Option[T]]

Attributes

Graph
Supertypes
trait Product
trait Equals
class Parser[Option[T]]
trait ParserMethods[Option[T]]
class Object
trait Matchable
class Any
abstract class Parser[+T] extends ParserMethods[T]

Parses arguments, resulting in a T in case of success.

Parses arguments, resulting in a T in case of success.

Attributes

T:

success result type

Companion:
object
Graph
Supertypes
trait ParserMethods[T]
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Parser.type
abstract class ParserCompanion

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Parser.type
final class ParserOps[T <: Tuple](val parser: Parser[T]) extends AnyVal

Attributes

Companion:
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any
object ParserOps

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class ParserWithNameFormatter[T](underlying: Parser[T], f: Formatter[Name]) extends Parser[T]

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Parser[T]
trait ParserMethods[T]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class RecursiveConsParser[H, T <: Tuple](headParser: Parser[H], tailParser: Parser[T]) extends Parser[H *: T]

Attributes

Graph
Supertypes
trait Product
trait Equals
class Parser[H *: T]
trait ParserMethods[H *: T]
class Object
trait Matchable
class Any
case class StandardArgument[H](arg: Arg, argParser: ArgParser[H], default: () => Option[H]) extends Argument[H]

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
trait Argument[H]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class StopAtFirstUnrecognizedParser[T](underlying: Parser[T]) extends Parser[T]

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Parser[T]
trait ParserMethods[T]
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type