Source

ocaml-indent / tokenstr.mli

Full commit
camlspotter eceb3b0 
camlspotter e6e6a84 



camlspotter eceb3b0 

camlspotter e6e6a84 
1
2
3
4
5
6
7
8
type 'a info = {
  token : 'a;                   (** the token *)
  region : Pos.Region.t;        (** the region of the token *)
  substr : string;              (** the actual string of the token *)
  space : Pos.Region.t * string (** white space (non token) between the previous token and this *)
}

val of_channel : in_channel -> Xparser.token info LazyList.t