Source

erlint / src / token.mli

Full commit
type t = 
  (* == =:= [ ] case receive .. etc *)
  | Keyword of string
  | Atom of string
  | Var of string
  | Char of char
  (* In this iteration we don't care if a number is valid *)
  | Number of string
  | String of string
  (* A comment has an implicit newline *)
  | Comment of string
  | Newline
  | Dot


val pp : t Stream.t -> unit