wrapper<L, R> method
Defines a new wrapper using left and right parsers, that are typically
used for parentheses.
Evaluates the callback with the parsed left delimiter, the value, and
right delimiter.
Implementation
void wrapper<L, R>(
Parser<L> left,
Parser<R> right,
T Function(L left, T value, R right) callback,
) => _wrapper.add(seq3(left, _loopback, right).map3(callback));