equal
deleted
inserted
replaced
38 val properties_of: T -> Properties.T |
38 val properties_of: T -> Properties.T |
39 val offset_properties_of: T -> Properties.T |
39 val offset_properties_of: T -> Properties.T |
40 val def_properties_of: T -> Properties.T |
40 val def_properties_of: T -> Properties.T |
41 val entity_markup: string -> string * T -> Markup.T |
41 val entity_markup: string -> string * T -> Markup.T |
42 val entity_properties_of: bool -> serial -> T -> Properties.T |
42 val entity_properties_of: bool -> serial -> T -> Properties.T |
43 val default_properties: T -> Properties.T -> Properties.T |
|
44 val markup: T -> Markup.T -> Markup.T |
43 val markup: T -> Markup.T -> Markup.T |
45 val is_reported: T -> bool |
44 val is_reported: T -> bool |
46 val is_reported_range: T -> bool |
45 val is_reported_range: T -> bool |
47 val reported_text: T -> Markup.T -> string -> string |
46 val reported_text: T -> Markup.T -> string -> string |
48 val report_text: T -> Markup.T -> string -> unit |
47 val report_text: T -> Markup.T -> string -> unit |
209 |
208 |
210 fun entity_properties_of def serial pos = |
209 fun entity_properties_of def serial pos = |
211 if def then (Markup.defN, Value.print_int serial) :: properties_of pos |
210 if def then (Markup.defN, Value.print_int serial) :: properties_of pos |
212 else (Markup.refN, Value.print_int serial) :: def_properties_of pos; |
211 else (Markup.refN, Value.print_int serial) :: def_properties_of pos; |
213 |
212 |
214 fun default_properties default props = |
|
215 if exists (member (op =) Markup.position_properties o #1) props then props |
|
216 else properties_of default @ props; |
|
217 |
|
218 val markup = Markup.properties o properties_of; |
213 val markup = Markup.properties o properties_of; |
219 |
214 |
220 |
215 |
221 (* reports *) |
216 (* reports *) |
222 |
217 |