caseapp.core.parser
package caseapp.core.parser
All-the-arguments parsing stuff.
Mostly revolves around caseapp.core.parser.Parser.
Attributes
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class StandardArgument[H]
object Argument
Attributes
- Supertypes
case class EitherParser[T](underlying: Parser[T]) extends Parser[Either[Error, T]]
object EitherParser
Attributes
- Companion
- class
- Supertypes
- Self type
-
EitherParser.type
case class IgnoreUnrecognizedParser[T](underlying: Parser[T]) extends Parser[T]
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Parser[T]trait ParserMethods[T]class Objecttrait Matchableclass AnyShow all
object IgnoreUnrecognizedParser
Attributes
- Companion
- class
- Supertypes
- Self type
object LowPriorityParserImplicits
Attributes
- Companion
- trait
- Supertypes
- Self type
case class MappedParser[T, U](underlying: Parser[T], f: T => U) extends Parser[U]
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Parser[U]trait ParserMethods[U]class Objecttrait Matchableclass AnyShow all
object MappedParser
Attributes
- Companion
- class
- Supertypes
- Self type
-
MappedParser.type
case object NilParser extends Parser[EmptyTuple]
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Parser[EmptyTuple]trait ParserMethods[EmptyTuple]class Objecttrait Matchableclass AnyShow all
- Self type
-
NilParser.type
case class OptionParser[T](underlying: Parser[T]) extends Parser[Option[T]]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ParserMethods[Option[T]]class Objecttrait Matchableclass AnyShow all
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.
Type parameters
- T:
-
success result type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class EitherParser[T]class IgnoreUnrecognizedParser[T]object NilParser.typeclass OptionParser[T]class ParserWithNameFormatter[T]class StopAtFirstUnrecognizedParser[T]Show all
object Parser extends ParserCompanion, LowPriorityParserImplicits
Attributes
Attributes
- Companion
- object
- Supertypes
-
class AnyValtrait Matchableclass Any
object ParserOps
case class ParserWithNameFormatter[T](underlying: Parser[T], f: Formatter[Name]) extends Parser[T]
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Parser[T]trait ParserMethods[T]class Objecttrait Matchableclass AnyShow all
object ParserWithNameFormatter
Attributes
- Companion
- class
- Supertypes
- Self type
object PlatformArgsExpander
Attributes
- Supertypes
- Self type
-
PlatformArgsExpander.type
Attributes
- Supertypes
case class StandardArgument[H](arg: Arg, argParser: ArgParser[H], default: () => Option[H]) extends Argument[H]
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Argument[H]class Objecttrait Matchableclass AnyShow all
object StandardArgument
Attributes
- Companion
- class
- Supertypes
- Self type
-
StandardArgument.type
case class StopAtFirstUnrecognizedParser[T](underlying: Parser[T]) extends Parser[T]
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Parser[T]trait ParserMethods[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
- Self type
In this article