fn collect_pattern_variables(
pattern: &MatchRecognizePattern,
symbols: &[SymbolDefinition],
) -> Vec<String>Expand description
Collect the distinct pattern-variable names appearing in a pattern, unioned with the DEFINE
symbols. The union is defensive: bind_match_recognize rejects any DEFINE symbol absent from
the pattern before this runs, so the two sets are equal there.