MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / parse_ranges

Function parse_ranges

crates/hyperqueue/src/common/arrayparser.rs:28–30  ·  view source on GitHub ↗

Parses integer ranges separated by commas.

()

Source from the content-addressed store, hash-verified

26
27/// Parses integer ranges separated by commas.
28fn parse_ranges() -> impl CharParser<Vec<IntRange>> {
29 parse_range().padded().separated_by(just(',')).at_least(1)
30}
31
32/// Parses a list of integer ranges separated by commas.
33/// Checks that the ranges do not overlap.

Callers 1

Calls 1

parse_rangeFunction · 0.70

Tested by

no test coverage detected