endOfInput function

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

Returns a parser that succeeds at the end of input.

Implementation

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