aboutsummaryrefslogtreecommitdiff
path: root/lib/ppstyle.mli
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2016-12-05 17:56:22 +0100
committerEmilio Jesus Gallego Arias2017-03-21 15:51:39 +0100
commit3fc02bb2034a648c9c27b76a9e7b4e02a78e55b9 (patch)
treecf3856edc9b24a75d30f465e6e29a42962329a4a /lib/ppstyle.mli
parenta8ec2dc5c330ded1ba400ef202c57e68d2533312 (diff)
[pp] Move terminal-specific tagging to the toplevel.
Previously, tags were associated to terminal styles, which doesn't make sense on terminal-free pretty printing scenarios. This commit moves tag interpretation to the toplevel terminal handling module `Topfmt`.
Diffstat (limited to 'lib/ppstyle.mli')
-rw-r--r--lib/ppstyle.mli50
1 files changed, 0 insertions, 50 deletions
diff --git a/lib/ppstyle.mli b/lib/ppstyle.mli
deleted file mode 100644
index 2690d3910a..0000000000
--- a/lib/ppstyle.mli
+++ /dev/null
@@ -1,50 +0,0 @@
-(************************************************************************)
-(* v * The Coq Proof Assistant / The Coq Development Team *)
-(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016 *)
-(* \VV/ **************************************************************)
-(* // * This file is distributed under the terms of the *)
-(* * GNU Lesser General Public License Version 2.1 *)
-(************************************************************************)
-
-(** Highlighting of printers. Used for pretty-printing terms that should be
- displayed on a color-capable terminal. *)
-
-(** {5 Style tags} *)
-
-(** This API is provisional and will likely be refined. *)
-type t = Pp.pp_tag
-
-(** Style tags *)
-
-val make : ?style:Terminal.style -> string list -> t
-(** Create a new tag with the given name. Each name must be unique. The optional
- style is taken as the default one. *)
-
-(** {5 Manipulating global styles} *)
-
-val get_style : t -> Terminal.style option
-(** Get the style associated to a tag from a format tag. *)
-
-val set_style : t -> Terminal.style option -> unit
-(** Set a style associated to a tag. *)
-
-val clear_styles : unit -> unit
-(** Clear all styles. *)
-
-val parse_config : string -> unit
-(** Add all styles from the given string as parsed by {!Terminal.parse}.
- Unregistered tags are ignored. *)
-
-val dump : unit -> (t * Terminal.style option) list
-(** Recover the list of known tags together with their current style. *)
-
-(** {5 Tags} *)
-
-val error_tag : t
-(** Tag used by the {!Pp.msg_error} function. *)
-
-val warning_tag : t
-(** Tag used by the {!Pp.msg_warning} function. *)
-
-val debug_tag : t
-(** Tag used by the {!Pp.msg_debug} function. *)