Encapsulates all the common operations on each Elem and Repr that
FastParse needs to perform it's core functionality. This is provided
separately, in order to avoid converting every possible input into a
lowest-common-denominator type (e.g. IndexedSeq[Elem]) to avoid
unnecessarily paying conversion-costs and copying the input.
Encapsulates all the common operations on each Elem and Repr that FastParse needs to perform it's core functionality. This is provided separately, in order to avoid converting every possible input into a lowest-common-denominator type (e.g.
IndexedSeq[Elem]
) to avoid unnecessarily paying conversion-costs and copying the input.