value method

Parser<T> value(
  1. T f(
    1. ParseResult<T>
    )
)

Sets the value of the ParseResult.

Implementation

Parser<T> value(T Function(ParseResult<T>) f) {
  return new _Value<T>(this, f);
}