You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ExplicatorSigs.ml
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,9 @@ module type Tag = sig
8
8
(** The abstract type of tags. *)
9
9
typet
10
10
11
-
(** Get the priority number of a tag. We followed the UNIX convention here---a {i smaller} priority number represents higher priority. The convention works well with {!val:List.sort}, which sorts numbers in ascending order. (The more important things go first.) *)
11
+
(** Get the priority number of a tag. A {i smaller} priority number represents higher priority.
12
+
13
+
The convention works well with {!val:List.sort}, which sorts numbers in ascending order: the more important things go first. *)
(** Explicate a list of ranges using content from a data reader. This function must be run under [SourceReader.run].
24
26
25
27
@param line_breaks The set of character sequences that are recognized as (hard) line breaks. The [`Unicode] set contains all Unicode character sequences in {{:https://www.unicode.org/versions/Unicode15.0.0/ch05.pdf#G41643}Unicode 15.0.0 Table 5-1.} The [`Traditional] set only contains [U+000A (LF)], [U+000D (CR)], and [U+000D U+000A (CRLF)] as line breaks. The default is the [`Traditional] set.
26
28
@param block_splitting_threshold The maximum number of consecutive, non-highlighted lines allowed in a block. The function will try to minimize the number of blocks, as long as no block has too many consecutive, non-highlighted lines. A higher threshold will lead to fewer blocks. When the threshold is zero, it means no block can contain any non-highlighted line. The default value is zero.
27
-
@param blend The algorithm to blend two tags on a visual range. The default algorithm chooses the more important tag based on priority.
28
29
@param debug Whether to enable the debug mode that performs expensive extra checking. The default is [false].
29
30
30
31
@raise Invalid_range See {!exception:Invalid_range}.
0 commit comments