package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-4.18-414.tbz
sha256=f6d6f7a266141e358c1a869612c8135c859185d547ea3ba5c9ad7bb67fe30cc1
sha512=4f272bdb028fd984fef406f7e1eadd0a3ab99d94016316f1b842782b1d1bba2bd50dcf3b4021c2096c6d9b5e5f9f6bae61bedcfd9f933f15c190e01777ef83a9

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. | Invalid_literal 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.