braced

fun <A : Any> braced(parser: Parser<Char, A>): (ParserInput<Char>) -> ParserOutput<A>

A parser that parses an expression enclosed in braces.

Return

A parser that parses the expression inside braces.

Parameters

parser

The parser for the expression inside the braces.