Soft01

cats.parse.Parser$.Soft01
final class Soft01[+A](val parser: Parser0[A]) extends AnyVal

If we can parse this then that, do so, if we fail that without consuming, rewind before this without consuming. If either consume 1 or more, do not rewind

Attributes

Source:
Parser.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def *>[B](that: Parser[B]): Parser[B]

Attributes

Source:
Parser.scala
def <*[B](that: Parser[B]): Parser[A]

Attributes

Source:
Parser.scala
def between(b: Parser[Any], c: Parser[Any]): Parser[A]

Attributes

Source:
Parser.scala
def surroundedBy(b: Parser[Any]): Parser[A]

Attributes

Source:
Parser.scala
def ~[B](that: Parser[B]): Parser[(A, B)]

Attributes

Source:
Parser.scala

Concrete fields

val parser: Parser0[A]

Attributes

Source:
Parser.scala