Skip to content

Commit 23c0e56

Browse files
authored
refactor: add signature_help mli (#913)
Signed-off-by: Rudi Grinberg <[email protected]>
1 parent dbf854e commit 23c0e56

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
open Merlin_kernel
2+
open Ocaml_parsing
3+
open Ocaml_typing
4+
5+
type parameter_info =
6+
{ label : Asttypes.arg_label
7+
; param_start : int
8+
; param_end : int
9+
; argument : Typedtree.expression option
10+
}
11+
12+
type application_signature =
13+
{ function_name : string option
14+
; function_position : Msource.position
15+
; signature : string
16+
; parameters : parameter_info list
17+
; active_param : int option
18+
}
19+
20+
val application_signature :
21+
prefix:string
22+
-> ('a * Merlin_specific.Browse_raw.node) list
23+
-> application_signature option

0 commit comments

Comments
 (0)