MCPcopy Create free account
hub / github.com/cosdata/cosdata / parse_paren_expression

Function parse_paren_expression

src/cosql/expression.rs:207–212  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

205}
206
207pub fn parse_paren_expression(input: &str) -> IResult<&str, Expression> {
208 map(
209 tuple((char('('), ws(parse_expression), char(')'))),
210 |(_, expression, _)| expression,
211 )(input)
212}
213
214pub fn parse_expression(input: &str) -> IResult<&str, Expression> {
215 parse_binary_expression_or_highier(input, Precedence::Lowest)

Callers

nothing calls this directly

Calls 1

wsFunction · 0.70

Tested by

no test coverage detected