Parser

oxygen.cli.Parser
See theParser companion trait
object Parser

Attributes

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

Members list

Type members

Classlikes

case object Empty extends Parser[Unit]

Attributes

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

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]
final case class Mapped[A, B](parser: Parser[A], f: A => B) extends Parser[B]

Attributes

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

Attributes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
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 Then[A, B, O](left: Parser[A], right: Parser[B], zip: Out[A, B, O]) extends Parser[O]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Parser[O]
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 fields

val unit: Parser[Unit]