The parse succeeded.
The parse failed.
Incremental combinator parser.
Incremental parser
Shameless rip of Scala parsers trait
The parser needs more data.
Parse all the messages in the last segment received on a channel.
Parse all the messages in the last segment received on a channel.
the parser in an initial state
the parser in a subsequent state
the last segment
the signal accompanying the last segment
a segment of the last successfully parsed messages and an option indicating whether the last parse failed or not.
Apply a parser until it fails or there is no more data.
Apply a parser until it fails or there is no more data.
the parser in an initial state
the parser in a subsequent state
the segment to parse
the resulting messages and, optionally, either the segment that could not be consumed because of a failure or a partial result because more data is required. None means that all the segment has been parsed successfully and that no intermediate state is left.
Parse all the messages in the last segment received on a channel.
Parse all the messages in the last segment received on a channel.
the parser in an initial state
the parser in a subsequent state
the last segment
the signal accompanying the last segment
a segment of the last successfully parsed messages and an option indicating whether the last parse failed or not. In case there is a failure and it is recoverable, the last segment that lead to the failure is returned with it.
Parsing utility methods