Finds all of the matches of the pattern and returns (for each match) the bindings and the span.
Uses a tree-walking version of Thompson's NFA construction internally, for speed.
Stream of tokens to be fed to the pattern matching.
A single parsed pattern tree to match against the source.
Whether to find all matches, if true, or stop early when the leftmost match is found, if false. (Default true)
Finds all of the matches of the pattern and returns (for each match) the bindings and the span.
Uses a tree-walking version of Thompson's NFA construction internally, for speed.