(input: &str)
| 606 | } |
| 607 | |
| 608 | fn inference_type(input: &str) -> IResult<&str, InferenceType> { |
| 609 | alt(( |
| 610 | map(tag("derive"), |_| InferenceType::Derive), |
| 611 | map(tag("materialize"), |_| InferenceType::Materialize), |
| 612 | ))(input) |
| 613 | } |
| 614 | |
| 615 | // Update the Rule struct to match the parser |
| 616 | #[derive(Debug)] |