← ZIO Parser docs

ProcessRepeatedElement

zio.parser.internal.stacksafe.ParserOp.ProcessRepeatedElement
final case class ProcessRepeatedElement(parseElement: ParserOp, min: Int, max: Option[Int]) extends ParserOp

Pushes the last result to the top chunk builder. If the last result was successful, repush the element parser and itself. If the last result is a failure, finish building the result and check the min/max constraints.

Attributes

Source
ParserOp.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ParserOp
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

Attributes

Source
ParserOp.scala