Source

ocaml-indent / tokenstr.mli

The default branch has multiple heads

type 'a t

type 'a info = {
  token : 'a;
  region : Pos.Region.t;
  substr : string;
  space : Pos.Region.t * string
}

val of_channel : in_channel -> Parser.token info t

val of_path : string -> Parser.token info t

val close : 'a t -> unit

val destr : 'a t -> ('a * 'a t) option