Module Ps_lexerSource

Sourcetype kind =
  1. | Int of int
  2. | Real of float
  3. | Name of string
  4. | Literal of string
  5. | String of string
  6. | Open_brace
  7. | Close_brace
Sourcetype token = {
  1. kind : kind;
  2. start : int;
  3. stop : int;
}
Sourceval next : string -> int -> (token, string) result option
Sourceval tokens : string -> (kind list, string) result