map

inline fun <T, U> Parser<T>.map(crossinline f: (T) -> U): Parser<U>

Applies the given function to the result of the receiver parser if it succeeds.