NstreamLexer positions & regions
module Position : sig ... endLexer positions
module Region : sig ... endLexer regions
Enhanced tokens
type token = {token : Approx_lexer.token;between : string;substr : string;region : Region.t;offset : int;}val display : Format.formatter -> token -> unittype snapshot = Approx_lexer.context * Region.tval of_channel : ?st:snapshot -> in_channel -> tCreates a stream from a channel. Better if you don't want to block, but less efficient
module Simple : sig ... end