endOfInput function

Parser<void> endOfInput (
  1. [String message = 'end of input expected']
)

Returns a parser that succeeds at the end of input.

Implementation

Parser<void> endOfInput([String message = 'end of input expected']) =>
    EndOfInputParser(message);