EndOfInputParserExtension<R> extension

on

Methods

end({String message = 'end of input expected'}) Parser<R>

Available on Parser<R>, provided by the EndOfInputParserExtension extension

Returns a parser that succeeds only if the receiver consumes the complete input, otherwise return a failure with the optional message.