expected
Record an expectation at the current parse position. The expectations captured at the rightmost few reached parse positions constitute the error message in case the parse fails.
The expectation is a Describer, in case constructing a String frivolously would be prohibitively expensive. There is also another version of this method that accepts a String directly.
Parameters
The ParseNotificationLevel that indicates the priority of the parse theory that failed.
The describer to capture.
Record an expectation at the current parse position. The expectations captured at the rightmost parse position constitute the error message in case the parse fails.
Parameters
The ParseNotificationLevel that indicates the priority of the parse theory that failed.
A list of arbitrary Avail values that should be stringified.
A transformer that accepts the stringified values and answers an expectation message.
Record an indication of what was expected at this parse position.
Parameters
The ParseNotificationLevel that indicates the priority of the parse theory that failed.
The string describing something that was expected at this position under some interpretation so far.