SyntaxOps

zio.parser.`package`.SyntaxOps
implicit class SyntaxOps[Err, In, Out, Value](self: Syntax[Err, In, Out, Value])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def of[Value2 <: Product](implicit conversion: TupleConversion[Value2, Value], ev: Value =:= Value): Syntax[Err, In, Out, Value2]

Transforms the syntax of a tuple to a syntax of a given case class

Transforms the syntax of a tuple to a syntax of a given case class

Attributes

def widenWith[D](err: Err)(implicit ev: Value <:< D, tag: ClassTag[Value]): Syntax[Err, In, Out, D]
final def zip[Err2 >: Err, In2 <: In, Out2 >: Out, Value2, ZippedValue](that: => Syntax[Err2, In2, Out2, Value2])(implicit unzippableValue: In[Value, Value2, ZippedValue], zippableResult: Out[Value, Value2, ZippedValue]): Syntax[Err2, In2, Out2, ZippedValue]

Concatenates this syntax with 'that' syntax. In case both parser succeeds, the result is a pair of the results. The printer destructures a pair and prints the left value with this, the right value with 'that'.

Concatenates this syntax with 'that' syntax. In case both parser succeeds, the result is a pair of the results. The printer destructures a pair and prints the left value with this, the right value with 'that'.

Attributes

final def ~[Err2 >: Err, In2 <: In, Out2 >: Out, Value2, ZippedValue](that: => Syntax[Err2, In2, Out2, Value2])(implicit unzippableValue: In[Value, Value2, ZippedValue], zippableResult: Out[Value, Value2, ZippedValue]): Syntax[Err2, In2, Out2, ZippedValue]

Symbolic alias for zip

Symbolic alias for zip

Attributes