Debian Codegraph @

ide/rocqide/rocqOps.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 open RocqDriver
12 open Interface
13
14 class type ops =
15 object
16 method go_to_insert : unit task
17 method go_to_mark : GText.mark -> unit task
18 method process_next_phrase : unit task
19 method process_db_cmd : string ->
20 next:(Interface.db_cmd_rty Interface.value -> unit task) -> unit task
21 method process_db_configd : unit ->
22 next:(Interface.db_configd_rty Interface.value -> unit task) -> unit task
23 method process_db_upd_bpts : ((string * int) * bool) list ->
24 next:(Interface.db_upd_bpts_rty Interface.value -> unit task) -> unit task
25 method process_db_continue : db_continue_opt ->
26 next:(Interface.db_continue_rty Interface.value -> unit task) -> unit task
27 method process_db_stack :
28 next:(Interface.db_stack_rty Interface.value -> unit task) -> unit task
29 method process_db_vars : int ->
30 next:(Interface.db_vars_rty Interface.value -> unit task) -> unit task
31 method process_until_end_or_error : unit task
32 method handle_reset_initial : unit task
33 method raw_rocq_query :
34 route_id:int -> next:(query_rty value -> unit task) -> string -> unit task
35 method proof_diff : GText.mark -> next:(Pp.t value -> unit task) -> unit task
36 method show_goals : unit task
37 method backtrack_last_phrase : unit task
38 method initialize : unit task
39 method join_document : unit task
40 method stop_worker : string -> unit task
41
42 method get_n_errors : int
43 method get_errors : (int * string) list
44 method get_warnings : (int * string) list
45 method get_slaves_status : int * int * string CString.Map.t
46 method backtrack_to_begin : unit -> unit task
47 method handle_failure : handle_exn_rty -> unit task
48
49 method destroy : unit -> unit
50 method scroll_to_start_of_input : unit -> unit
51 method set_forward_clear_db_highlight : (unit -> unit) -> unit
52 method set_forward_set_goals_of_dbg_session : (Pp.t -> unit) -> unit
53 method set_forward_init_db : (unit -> unit) -> unit
54 method set_debug_goal : Pp.t -> unit
55 end
56
57 class rocqops :
58 Wg_ScriptView.script_view ->
59 Wg_ProofView.proof_view ->
60 Wg_RoutedMessageViews.message_views_router ->
61 Wg_Segment.segment ->
62 rocqtop ->
63 (unit -> string option) ->
64 ops