Hides the internals of the given parser when it fails, such that it only succeeds completely or fails completely, and none of it's internal parsers end up in the failure traces or failure stack to be displayed to the user.
Repeat operator; runs the LHS parser at least min
times separated by the given whitespace (in implicit scope),
and returns a Seq[T]
of the parsed values.
Repeat operator; runs the LHS parser at least min
times separated by the given whitespace (in implicit scope),
and returns a Seq[T]
of the parsed values. On
failure, backtracks to the starting index of the last run.
Repeat operator; runs the LHS parser at least min
times separated by the given whitespace (in implicit scope) and
separator sep
, and returns a Seq[T]
of the parsed values.
Repeat operator; runs the LHS parser at least min
times separated by the given whitespace (in implicit scope) and
separator sep
, and returns a Seq[T]
of the parsed values. On
failure, backtracks to the starting index of the last run.
Repeat operator; runs the LHS parser at least min
to at most max
times separated by the given whitespace (in implicit scope) and
separator sep
, and returns a Seq[T]
of the parsed values.
Repeat operator; runs the LHS parser at least min
to at most max
times separated by the given whitespace (in implicit scope) and
separator sep
, and returns a Seq[T]
of the parsed values. On
failure, backtracks to the starting index of the last run.
The convenience parameter exactly
is provided to set both min
and
max
to the same value.
Repeat operator; runs the LHS parser 0 or more times separated by the
given whitespace (in implicit scope), and returns
a Seq[T]
of the parsed values.
Repeat operator; runs the LHS parser 0 or more times separated by the
given whitespace (in implicit scope), and returns
a Seq[T]
of the parsed values. On failure, backtracks to the starting
index of the last run.
Raw repeat operator; runs the LHS parser at least min
times *without* any whitespace in between,
and returns a Seq[T]
of the parsed values.
Raw repeat operator; runs the LHS parser at least min
times *without* any whitespace in between,
and returns a Seq[T]
of the parsed values. On
failure, backtracks to the starting index of the last run.
Raw repeat operator; runs the LHS parser at least min
times separated by the separator sep
, *without* any whitespace
in between, and returns a Seq[T]
of the parsed values.
Raw repeat operator; runs the LHS parser at least min
times separated by the separator sep
, *without* any whitespace
in between, and returns a Seq[T]
of the parsed values. On
failure, backtracks to the starting index of the last run.
Raw repeat operator; runs the LHS parser at least min
to at most max
times separated by the
separator sep
*without* any whitespace in between, and returns a Seq[T]
of the parsed values.
Raw repeat operator; runs the LHS parser at least min
to at most max
times separated by the
separator sep
*without* any whitespace in between, and returns a Seq[T]
of the parsed values. On
failure, backtracks to the starting index of the last run.
The convenience parameter exactly
is provided to set both min
and
max
to the same value.
Raw repeat operator; runs the LHS parser 0 or more times *without*
any whitespace in between, and returns
a Seq[T]
of the parsed values.
Raw repeat operator; runs the LHS parser 0 or more times *without*
any whitespace in between, and returns
a Seq[T]
of the parsed values. On failure, backtracks to the starting
index of the last run.
Negative lookahead operator: succeeds if the wrapped parser fails and fails if the wrapped parser succeeds.
Negative lookahead operator: succeeds if the wrapped parser fails and fails if the wrapped parser succeeds. In all cases, it ends up consuming zero characters.