parse.mli 302 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
open Camlp4.PreCast

type expr =
  | Rule of Loc.t * string * token list list
and token =
  | RefRule of Loc.t * string
  | String of Loc.t * string
  | Special of Loc.t * string

module ExprParser : sig
  val of_string : string -> string -> expr list
  val of_string_no_file : string -> expr list
end