()
| 47 | } |
| 48 | |
| 49 | fn p_resource_request() -> impl CharParser<(String, AllocationRequest)> { |
| 50 | p_resource_identifier() |
| 51 | .then_ignore(just("=").padded()) |
| 52 | .then(p_allocation_request()) |
| 53 | } |
| 54 | |
| 55 | pub fn parse_resource_request(input: &str) -> anyhow::Result<(String, AllocationRequest)> { |
| 56 | all_consuming(p_resource_request()).parse_text(input) |
no test coverage detected