From 2de75892efb8c2ab63a3b23767d0cefd0996f8d6 Mon Sep 17 00:00:00 2001 From: letouzey Date: Mon, 10 Dec 2012 16:35:28 +0000 Subject: Coqide: some more refactoring to lighten coqide.ml Main victim is analyzed_view : - some unnecessary methods have been killed (hep_for_keyword for instance) - some other migrated elsewhere (recenter_input, find_next_occurrence, ...) - analyzed_view is now split in two : fileops (filename, save, revert, ...) and coqops (process_next_phrase, ...) Four new files created: - Sentence (for tag_on_insert and alii) - FileOps (ex-first-half of analyzed_view) - CoqOps (ex-second-half of analyzed_view) - Session (ex-record viewable_script and functions about it) Also lots of renaming, trying to be shorter (but still meaningful) and more uniform git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16057 85f007b7-540e-0410-9357-904b9bb8a0f7 --- ide/coqOps.mli | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ide/coqOps.mli (limited to 'ide/coqOps.mli') diff --git a/ide/coqOps.mli b/ide/coqOps.mli new file mode 100644 index 000000000..2a6963fee --- /dev/null +++ b/ide/coqOps.mli @@ -0,0 +1,28 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* Coq.task + method process_next_phrase : Coq.task + method process_until_end_or_error : Coq.task + method handle_reset_initial : Coq.reset_kind -> Coq.task + method raw_coq_query : string -> Coq.task + method show_goals : Coq.task + method backtrack_last_phrase : Coq.task + method include_file_dir_in_path : Coq.task +end + +class coqops : + Wg_ScriptView.script_view -> + Wg_ProofView.proof_view -> + Wg_MessageView.message_view -> + (unit -> string option) -> + ops -- cgit v1.2.3