Contains an optimized version of Sequence called Sequence.Flat that
combines a tree of Sequence nodes from the left, into a single
tail-recursive function working over a Vector of their contents.
Intentionally completely type-unsafe internally, using casting all
over the place, because it's near impossible to make the variable-length
heterogenous-typed list type-safe without going crazy. If constructed by
flatten-ing out a Sequence, the types are checked when the Sequence
was constructed, so it's still safe.
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
Alphabetic
By inheritance
Inherited
Sequence
Serializable
Serializable
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Type Members
case classChain[R](p: Parser[R], cut: Boolean)(ev: Sequencer[R, R, R]) extends Product with Serializable
The contents of a Sequence node, minus the left subtree.
case classFlat[R](p0: Parser[R], ps: Vector[Chain[R]]) extends Parser[R] with Product with Serializable
Contains an optimized version of Sequence called Sequence.Flat that combines a tree of Sequence nodes from the left, into a single tail-recursive function working over a
Vector
of their contents.Intentionally completely type-unsafe internally, using casting all over the place, because it's near impossible to make the variable-length heterogenous-typed list type-safe without going crazy. If constructed by
flatten
-ing out a Sequence, the types are checked when the Sequence was constructed, so it's still safe.