package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-5.4.1-503.tbz
sha256=49b3b4c778c12125fc7405e73790b0b312d5d79749dd73d4838b6562a2533022
sha512=6350ff076ac61727c48bc098a05520c5d343f3323b2f3b6d7d69fdd568e51abca6945cbcbc3a6ae97fd198bd7bbdcae823fbd0f3f14a37972fe713da2ed14f2d

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
OCaml

Innovation. Community. Security.