Closed philwhiteuk closed 1 year ago
Prevents unexpected errors by handling invalid parser inputs at runtime and enforcing a consistent parser contract:
parse
parseAll
Fixes https://github.com/bodar/totallylazy.js/issues/29
Prevents unexpected errors by handling invalid parser inputs at runtime and enforcing a consistent parser contract:
parse
should immediately throw given an invalid inputparseAll
should swallow errors caused by invalid input and return an empty arrayFixes https://github.com/bodar/totallylazy.js/issues/29