package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.6-503.tbz
sha256=b0dcad092aaaf7a23f65ab9a089e8761bd665cc72357909e0ac6c2182f4fc2d4
sha512=9987baf2b2e82bab4c90a328bfcba9945e797e0f3d947156f04435ee84b49542844b379e35a79027c3ffe81f4b7a8f1c60803233999b4c039d4598033371880d

doc/merlin-lib.ocaml_preprocess/Ocaml_preprocess/Lexer_raw/index.html

Module Ocaml_preprocess.Lexer_rawSource

Sourcetype error =
  1. | Illegal_character of char
  2. | Illegal_escape of string * string option
  3. | Reserved_sequence of string * string option
  4. | Unterminated_comment of Ocaml_parsing.Location.t
  5. | Unterminated_string
  6. | Unterminated_string_in_comment of Ocaml_parsing.Location.t * Ocaml_parsing.Location.t
  7. | Empty_character_literal
  8. | Keyword_as_label of string
  9. | Capitalized_label of string
  10. | Invalid_literal of string
  11. | Invalid_directive of string * string option
  12. | Invalid_encoding of string
  13. | Invalid_char_in_ident of Uchar.t
  14. | Non_lowercase_delimiter of string
  15. | Capitalized_raw_identifier of string
  16. | Unknown_keyword of string
Sourcetype keywords
Sourceval keywords : (string * Parser_raw.token) list -> keywords
Sourceval list_keywords : keywords -> string list
Sourcetype 'a result =
  1. | Return of 'a
  2. | Refill of unit -> 'a result
  3. | Fail of error * Ocaml_parsing.Location.t
Sourcetype state = {
  1. keywords : keywords;
  2. mutable buffer : Buffer.t;
  3. mutable string_start_loc : Ocaml_parsing.Location.t;
  4. mutable comment_start_loc : Ocaml_parsing.Location.t list;
  5. mutable preprocessor : preprocessor option;
}
Sourceval make : ?preprocessor:preprocessor -> keywords -> state
Sourcetype comment = string * Ocaml_parsing.Location.t