findAllPaths method
Returns all paths starting at source
that satisfy the given predicate
.
Implementation
Iterable<ParserPath> findAllPaths(
Parser source, Predicate<ParserPath> predicate) {
assert(parsers.contains(source), 'source is not part of the analyzer');
return depthFirstSearch(ParserPath([source], []), predicate);
}