TrimmingParserExtension<R> extension

on

Methods

trim([Parser<void>? left, Parser<void>? right]) → Parser<R>

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

Returns a parser that consumes input before and after the receiver, discards the excess input and only returns the result of the receiver.