Imandra_interactive.Completion
type t = {
text : string; |
descr : string; |
cost : int; |
id : Imandra_surface.Uid.t option; |
ev : event option; |
}
Context given to completion methods
type source = {
src_name : string; |
src_kind : source_kind; |
src_complete : completion_ctx ->
seen:str_set ->
pred:( string -> string -> bool ) ->
string ->
t list; |
}
A source of completions
val register : source -> unit
val complete :
?pred:( string -> string -> bool ) ->
?kind:source_kind ->
completion_ctx ->
string ->
t list within_ctx
val complete_at :
?pred:( string -> string -> bool ) ->
completion_ctx ->
string ->
cursor_pos:int ->
t list within_ctx
val complete_at_pos :
?pred:( string -> string -> bool ) ->
completion_ctx ->
string ->
pos:Imandra_util.Iloc.position ->
t list within_ctx
module Inspect : sig ... end