parenthesized method

Parser<T> parenthesized()

Parses this, wrapped in parentheses.

Implementation

Parser<T> parenthesized() =>
    surroundedBy(match('(').space(), match(')').space());