NotParserExtension<R> extension

on

Methods

neg([String message = 'input not expected']) Parser<String>
Returns a parser that consumes any input token (character), but the receiver.
not([String message = 'success not expected']) Parser<Failure>
Returns a parser (logical not-predicate) that succeeds with the Failure whenever the receiver fails, but never consumes input.