123456789101112131415161718192021(* This file is free software, part of dolmen. See file "LICENSE" formore information *)(** Interface for Dolmen lexers. *)moduletypeS=sigtypetoken(** The type of token produced by the lexer. *)exceptionError(** The exception raised by the lexer when it cannot produce a token. *)valdescr:token->Tok.descr(** Asspcoate a description to each token, to help with error messages. *)valtoken:(Lexing.lexbuf->unit)->Lexing.lexbuf->token(** The function producing token from a lexbuf. *)end