package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-4.18-414.tbz
sha256=f6d6f7a266141e358c1a869612c8135c859185d547ea3ba5c9ad7bb67fe30cc1
sha512=4f272bdb028fd984fef406f7e1eadd0a3ab99d94016316f1b842782b1d1bba2bd50dcf3b4021c2096c6d9b5e5f9f6bae61bedcfd9f933f15c190e01777ef83a9
doc/merlin-lib.extend/Merlin_extend/Extend_protocol/Reader/index.html
Module Extend_protocol.Reader
Source
Source
type buffer = {
path : string;
(*Path of the buffer in the editor. The path is absolute if it is backed by a file, although it might not yet have been saved in the editor. The path is relative if it is a temporary buffer.
*)flags : string list;
(*Any flag that has been passed to the reader in .merlin file
*)text : string;
(*Content of the buffer
*)
}
Description of a buffer managed by Merlin
Source
type parsetree =
| Structure of Ocaml_parsing.Parsetree.structure
(*An implementation, usually coming from a .ml file
*)| Signature of Ocaml_parsing.Parsetree.signature
(*An interface, usually coming from a .mli file
*)
ASTs exchanged with Merlin
Source
type outcometree =
| Out_value of Ocaml_typing.Outcometree.out_value
| Out_type of Ocaml_typing.Outcometree.out_type
| Out_class_type of Ocaml_typing.Outcometree.out_class_type
| Out_module_type of Ocaml_typing.Outcometree.out_module_type
| Out_sig_item of Ocaml_typing.Outcometree.out_sig_item
| Out_signature of Ocaml_typing.Outcometree.out_sig_item list
| Out_type_extension of Ocaml_typing.Outcometree.out_type_extension
| Out_phrase of Ocaml_typing.Outcometree.out_phrase
Printing in error messages or completion items
Source
type pretty_parsetree =
| Pretty_toplevel_phrase of Ocaml_parsing.Parsetree.toplevel_phrase
| Pretty_expression of Ocaml_parsing.Parsetree.expression
| Pretty_core_type of Ocaml_parsing.Parsetree.core_type
| Pretty_pattern of Ocaml_parsing.Parsetree.pattern
| Pretty_signature of Ocaml_parsing.Parsetree.signature
| Pretty_structure of Ocaml_parsing.Parsetree.structure
| Pretty_case_list of Ocaml_parsing.Parsetree.case list
Printing in case destruction
Additional information useful for guiding completion
Source
type request =
| Req_load of buffer
| Req_parse
| Req_parse_line of Lexing.position * string
| Req_parse_for_completion of Lexing.position
| Req_get_ident_at of Lexing.position
| Req_print_outcome of outcometree list
| Req_pretty_print of pretty_parsetree
Source
type response =
| Res_loaded
| Res_parse of parsetree
| Res_parse_for_completion of complete_info * parsetree
| Res_get_ident_at of string Ocaml_parsing.Location.loc list
| Res_print_outcome of string list
| Res_pretty_print of string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>