Module type Plexing.S

type keyword_state
type te
type 'c pattern
val tok_pattern_eq : 'a pattern -> 'b pattern -> ('a'b) Util.eq option
val tok_pattern_strings : 'c pattern -> string * string option
val tok_func : ?⁠loc:Loc.t -> (unit, char) Stream.t -> (keyword_statete) LStream.t

Returning a stream equipped with a location function

val tok_match : 'c pattern -> te -> 'c
val tok_text : 'c pattern -> string
module State : sig ... end