Helper class for handling element-to-pattern assignment logic. Encapsulates the complex logic for mapping array elements to sequence patterns that was previously duplicated between matching and capture collection.
Check if the sequence can match against the array elements (boolean result).
Find the element-to-pattern assignments (returns assignment pairs).
Helper class for handling element-to-pattern assignment logic. Encapsulates the complex logic for mapping array elements to sequence patterns that was previously duplicated between matching and capture collection.