pub fn parse_pattern(
parts: impl Iterator<Item = impl AsRef<str>>,
line_number: usize,
) -> Result<Statement>Expand description
Parse pattern statement Supports:
- pattern name with target = “pattern”
- pattern name with target { options } = “pattern”