j-mie6 / parsley

A fast and modern parser combinator library for Scala
https://j-mie6.github.io/parsley/
BSD 3-Clause "New" or "Revised" License
173 stars 15 forks source link

Expose internal `DefaultErrorBuilder` helpers #202

Closed j-mie6 closed 1 year ago

j-mie6 commented 1 year ago

The functionality used to format default errors is hidden within parsley.errors.helpers, but should really be moved to the companion object of DefaultErrorBuilder, so that this functionality can be reused by people who want that same functionality for sub-formatting in their own error builders. No reason to re-invent the wheel here.