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

Function parse_attributes1

src/cosql/insertion/mod.rs:36–42  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

34}
35
36pub fn parse_attributes1(input: &str) -> IResult<&str, Attributes> {
37 delimited(
38 ws(char('(')),
39 separated_list1(ws(char(',')), parse_attribute),
40 ws(char(')')),
41 )(input)
42}
43
44pub fn parse_attribute(input: &str) -> IResult<&str, Attribute> {
45 map(

Callers 1

test_attributes_parserFunction · 0.85

Calls 1

wsFunction · 0.50

Tested by 1

test_attributes_parserFunction · 0.68