package merlin-extend
A protocol to provide custom frontend to Merlin
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-extend-0.6.1.tbz
sha256=5ec84b355ddb2d129a5948b132bfacc93adcbde2158c7de695f7bfc3650bead7
sha512=631fc96aab2f35e12a078c9b4907ca7b0db9f1e3a4026040e6c23b82e0171c256a89fb5d4c887f1d156eb9e3152783cdf7a546b2496051007a1bcf5777417396
doc/merlin-extend/Extend_protocol/Reader/index.html
Module Extend_protocol.Reader
Source
Description of a buffer managed by Merlin
ASTs exchanged with Merlin
Source
type outcometree =
| Out_value of Outcometree.out_value
| Out_type of Outcometree.out_type
| Out_class_type of Outcometree.out_class_type
| Out_module_type of Outcometree.out_module_type
| Out_sig_item of Outcometree.out_sig_item
| Out_signature of Outcometree.out_sig_item list
| Out_type_extension of Outcometree.out_type_extension
| Out_phrase of Outcometree.out_phrase
Printing in error messages or completion items
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 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)"
>