2018-05-30 15:16:22 +00:00
|
|
|
module Token : sig
|
|
|
|
type t =
|
|
|
|
| Atom of Atom.t
|
|
|
|
| Quoted_string of string
|
|
|
|
| Lparen
|
|
|
|
| Rparen
|
|
|
|
| Sexp_comment
|
|
|
|
| Eof
|
|
|
|
end
|
|
|
|
|
|
|
|
type t = Lexing.lexbuf -> Token.t
|
|
|
|
|
|
|
|
val token : t
|
2018-06-01 11:59:15 +00:00
|
|
|
val jbuild_token : t
|
2018-05-30 15:16:22 +00:00
|
|
|
|
|
|
|
module Error : sig
|
|
|
|
type t =
|
|
|
|
{ start : Lexing.position
|
|
|
|
; stop : Lexing.position
|
|
|
|
; message : string
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
exception Error of Error.t
|