StackLike

io.dylemma.spac.StackLike
trait StackLike[In, +Elem]

Typeclass that perceives a subset of In values as either "stack push" or "stack pop" events. For example, with XML, an ElemStart event can be perceived as a "stack push", and a corresponding ElemEnd event can be preceived as a "stack pop".

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def interpretOne(input: In): StackInterpretation[In, Elem]

Concrete methods

def interpret: Transformer[In, Either[ContextChange[In, Elem], In]]