AnySyntaxOps

zio.parser.`package`.AnySyntaxOps
final implicit class AnySyntaxOps[Err, In, Out](self: Syntax[Err, In, Out, Unit]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def as[Value2](value: => Value2): Syntax[Err, In, Out, Value2]

Ignores the result of the syntax and result in 'value' instead

Ignores the result of the syntax and result in 'value' instead

Attributes

def zipRight[Err2 >: Err, In2 <: In, Out2 >: Out, Value2](that: => Syntax[Err2, In2, Out2, Value2]): Syntax[Err2, In2, Out2, Value2]

Concatenates this parser with that parser, and if both succeeds, discard the first result and use the second.

Concatenates this parser with that parser, and if both succeeds, discard the first result and use the second.

Attributes

def ~>[Err2 >: Err, In2 <: In, Out2 >: Out, Value2](that: => Syntax[Err2, In2, Out2, Value2]): Syntax[Err2, In2, Out2, Value2]

Symbolic alias for zipRight

Symbolic alias for zipRight

Attributes