ParserOptionOps

com.phasmidsoftware.number.expression.parse.SignificantSpaceParsers.ParserOptionOps
implicit class ParserOptionOps[X](p: SignificantSpaceParsers.this.Parser[Option[X]])

Implicit class ParserOptionOps which allows us to use the method ?| on a Parser of Option[X].

Type parameters

X

the under-underlying type of p.

Value parameters

p

a Parser of Option[X].

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def ?|[Y](q: => SignificantSpaceParsers.this.Parser[Y]): SignificantSpaceParsers.this.Parser[Either[Y, X]]