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

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val needsEmptyResultSlot: Boolean