Imandra_interactive.Completiontype 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 -> unitval complete :
?pred:( string -> string -> bool ) ->
?kind:source_kind ->
completion_ctx ->
string ->
t list within_ctxval complete_at :
?pred:( string -> string -> bool ) ->
completion_ctx ->
string ->
cursor_pos:int ->
t list within_ctxval complete_at_pos :
?pred:( string -> string -> bool ) ->
completion_ctx ->
string ->
pos:Imandra_util.Iloc.position ->
t list within_ctxmodule Inspect : sig ... end