parse_pattern

Function parse_pattern 

Source
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”