SplitterByContextMatch

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

class Boundaries[In, Elem, C](matcher: ContextMatcher[Elem, C]) extends Transformer[Either[ContextChange[In, Elem], In], Either[ContextChange[In, C], In]]
class Handler[In, Elem, C](matcher: ContextMatcher[Elem, C]) extends Handler[Either[ContextChange[In, Elem], In], Either[ContextChange[In, C], In]]

Splitter implementation detail that re-interprets stack states into contexts. As stack elements are pushed and popped via the incoming stream, it plugs the accumulated stack into the given matcher to determine if a matched context has been entered (or exited). The matched context is communicated as ContextChange events of the C type via the outgoing stream.

Splitter implementation detail that re-interprets stack states into contexts. As stack elements are pushed and popped via the incoming stream, it plugs the accumulated stack into the given matcher to determine if a matched context has been entered (or exited). The matched context is communicated as ContextChange events of the C type via the outgoing stream.