()
| 156 | } |
| 157 | |
| 158 | fn parse_resource_kind() -> impl CharParser<ResourceDescriptorKind> { |
| 159 | chumsky::primitive::choice(( |
| 160 | parse_resource_group_x_notation(), |
| 161 | parse_resource_group(), |
| 162 | parse_resource_list(), |
| 163 | parse_resource_range(), |
| 164 | parse_resource_sum(), |
| 165 | )) |
| 166 | .labelled("resource kind") |
| 167 | } |
| 168 | |
| 169 | pub fn is_valid_starting_resource_char(c: char) -> bool { |
| 170 | c.is_ascii_alphabetic() |
no test coverage detected