Module Autocomplete.CompletionSource
Represents individual completions.
Completion
include Jv.CONV with type t := Autocomplete.Completion.t
val to_jv : Autocomplete.Completion.t -> Jv.jvto_jv reveals the JavaScript implementation.
val of_jv : Jv.jv -> Autocomplete.Completion.tof_jv hides the JavaScript implementation. Implementations usually do not guarantee type safety.
Source
val create :
label:string ->
?detail:string ->
?info:string ->
?apply:Autocomplete.Completion.t ->
?type_:string ->
?boost:int ->
unit ->
Autocomplete.Completion.tCreates a completion.