convenient function to build a parser that kills the result of another parser e.g. killResults(match("a")) succeeds, but returns an empty result
unittests for kill results
1 import unit_threaded; 2 3 auto res = killResults(match("a")).parse("a"); 4 res.success.shouldBeTrue; 5 res.results.length.shouldEqual(0);
See Implementation
convenient function to build a parser that kills the result of another parser e.g. killResults(match("a")) succeeds, but returns an empty result