Ocaml_preprocess.Lexer_rawtype error = | Illegal_character of char| Illegal_escape of string * string option| Reserved_sequence of string * string option| Unterminated_comment of Ocaml_parsing.Location.t| Unterminated_string| Unterminated_string_in_comment of Ocaml_parsing.Location.t
* Ocaml_parsing.Location.t| Empty_character_literal| Keyword_as_label of string| Invalid_literal of string| Invalid_directive of string * string optionexception Error of error * Ocaml_parsing.Location.tval keywords : (string * Parser_raw.token) list -> keywordsval list_keywords : keywords -> string listtype 'a result = | Return of 'a| Refill of unit -> 'a result| Fail of error * Ocaml_parsing.Location.ttype preprocessor =
(Merlin_utils.Std.Lexing.lexbuf -> Parser_raw.token) ->
Merlin_utils.Std.Lexing.lexbuf ->
Parser_raw.tokentype state = {keywords : keywords;mutable buffer : Buffer.t;mutable string_start_loc : Ocaml_parsing.Location.t;mutable comment_start_loc : Ocaml_parsing.Location.t list;mutable preprocessor : preprocessor option;}val make : ?preprocessor:preprocessor -> keywords -> stateval skip_sharp_bang :
state ->
Merlin_utils.Std.Lexing.lexbuf ->
Parser_raw.token resultval token : state -> Merlin_utils.Std.Lexing.lexbuf -> Parser_raw.token resulttype comment = string * Ocaml_parsing.Location.tval token_without_comments :
state ->
Merlin_utils.Std.Lexing.lexbuf ->
Parser_raw.token result