change<U> method
Runs the given function, which changes the returned ParseResult into one relating to a U
object.
Implementation
Parser<U> change<U>(ParseResult<U> Function(ParseResult<T>) f) {
return _Change<T, U>(this, f);
}
Runs the given function, which changes the returned ParseResult into one relating to a U
object.
Parser<U> change<U>(ParseResult<U> Function(ParseResult<T>) f) {
return _Change<T, U>(this, f);
}