cache method

Parser<T> cache()

Caches the results of parse attempts at various locations within the source text.

Use this to prevent excessive recursion.

Implementation

Parser<T> cache() => new _Cache<T>(this);