package merlin-lib
Merlin's libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
merlin-5.6-503.tbz
sha256=b0dcad092aaaf7a23f65ab9a089e8761bd665cc72357909e0ac6c2182f4fc2d4
sha512=9987baf2b2e82bab4c90a328bfcba9945e797e0f3d947156f04435ee84b49542844b379e35a79027c3ffe81f4b7a8f1c60803233999b4c039d4598033371880d
doc/merlin-lib.commands/Merlin_commands/Query_json/index.html
Module Merlin_commands.Query_json
Source
Source
val string_of_completion_kind :
[< `Class
| `ClassType
| `Constructor
| `Exn
| `Keyword
| `Label
| `Method
| `MethodCall
| `Modtype
| `Module
| `Type
| `Value
| `Variant ] ->
string
Source
val with_location :
?with_file:bool ->
?skip_none:bool ->
Ocaml_parsing.Location.t ->
(string
* ([> `Assoc of (string * [> `Int of int ]) list | `String of string ] as 'a))
list ->
[> `Assoc of (string * 'a) list ]
Source
val json_of_type_loc :
(Ocaml_parsing.Location.t
* [< `Index of 'a | `String of string ]
* [< `No | `Tail_call | `Tail_position ]) ->
[> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list
| `Int of 'a
| `String of string ])
list ]
Source
val json_of_error :
Ocaml_parsing.Location.error ->
[> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list
| `Bool of bool
| `List of
[> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list
| `String of string ])
list ]
list
| `String of string ])
list ]
Source
val json_of_completion :
string Query_protocol.Compl.raw_entry ->
[> `Assoc of (string * [> `Bool of bool | `String of string ]) list ]
Source
val json_of_completions :
Query_protocol.Compl.t ->
[> `Assoc of
(string
* [> `List of
[> `Assoc of
(string
* [> `Bool of bool
| `List of
[> `Assoc of (string * [> `String of string ]) list ]
list
| `String of string ])
list
| `String of string ]
list
| `Null ])
list ]
Source
val json_of_outline :
Query_protocol.outline ->
[> `Assoc of
(string
* [> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list
| `Int of int
| `String of string ])
list
| `Bool of bool
| `List of 'a
| `Null
| `String of string ])
list ]
list as 'a
Source
val json_of_shape :
Query_protocol.shape ->
[> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list
| `List of 'a list
| `String of string ])
list ] as 'a
Source
val json_of_locate :
[< `At_origin
| `Builtin of string
| `File_not_found of string
| `Found of 'a option * Merlin_utils.Std.Lexing.position
| `Invalid_context
| `Not_found of string * string option
| `Not_in_env of string ] ->
[> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list | `String of 'a ])
list
| `String of string ]
Source
val json_of_locate_types :
Query_protocol.Locate_types_result.t ->
[> `Assoc of
(string * [> `Int of int | `List of 'a list | `String of string ]) list
| `Null
| `String of string ] as 'a
Source
val json_of_inlay_hints :
(Merlin_utils.Std.Lexing.position * 'a) list ->
[> `List of
[> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list | `String of 'a ])
list ]
list ]
Source
val json_of_signature_help :
Query_protocol.signature_help_result option ->
[> `Assoc of
(string
* [> `Int of int
| `List of
[> `Assoc of
(string
* [> `List of
[> `Assoc of
(string * [> `List of [> `Int of int ] list ])
list ]
list
| `String of string ])
list ]
list ])
list ]
Source
val json_of_search_result :
string Query_protocol.type_search_result list ->
[> `List of
[> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list
| `Int of int
| `Null
| `String of string ])
list ]
list ]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>