MapParserExtension<R> extension

on

Methods

map<S>(Callback<R, S> callback, {bool hasSideEffects = false}) Parser<S>

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

Returns a parser that evaluates a callback as the production action on success of the receiver.