author | wenzelm |
Tue, 07 Aug 2012 19:16:58 +0200 | |
changeset 48712 | 6b7a9bcc0bae |
parent 48710 | 5b51ccdc8623 |
child 48751 | dc3bbdda4bc8 |
permissions | -rw-r--r-- |
45670 | 1 |
(* Title: Pure/PIDE/isabelle_markup.ML |
23623 | 2 |
Author: Makarius |
3 |
||
45666 | 4 |
Isabelle markup elements. |
23623 | 5 |
*) |
6 |
||
45666 | 7 |
signature ISABELLE_MARKUP = |
23623 | 8 |
sig |
45666 | 9 |
val bindingN: string val binding: Markup.T |
10 |
val entityN: string val entity: string -> string -> Markup.T |
|
11 |
val get_entity_kind: Markup.T -> string option |
|
33088
757d7787b10c
markup for formal entities, with "def" or "ref" occurrences;
wenzelm
parents:
32738
diff
changeset
|
12 |
val defN: string |
757d7787b10c
markup for formal entities, with "def" or "ref" occurrences;
wenzelm
parents:
32738
diff
changeset
|
13 |
val refN: string |
23671 | 14 |
val lineN: string |
27794 | 15 |
val offsetN: string |
16 |
val end_offsetN: string |
|
23671 | 17 |
val fileN: string |
30221 | 18 |
val idN: string |
27748 | 19 |
val position_properties': string list |
26051 | 20 |
val position_properties: string list |
45666 | 21 |
val positionN: string val position: Markup.T |
22 |
val pathN: string val path: string -> Markup.T |
|
23644 | 23 |
val indentN: string |
45666 | 24 |
val blockN: string val block: int -> Markup.T |
23695 | 25 |
val widthN: string |
45666 | 26 |
val breakN: string val break: int -> Markup.T |
27 |
val fbreakN: string val fbreak: Markup.T |
|
28 |
val hiddenN: string val hidden: Markup.T |
|
43548
f231a7594e54
type classes: entity markup instead of old-style token markup;
wenzelm
parents:
43547
diff
changeset
|
29 |
val classN: string |
46649
bb185c45037e
clarifed name space "type name", which covers logical and non-logical types, and often occurs inside outer syntax "type" markup;
wenzelm
parents:
46123
diff
changeset
|
30 |
val type_nameN: string |
43552 | 31 |
val constantN: string |
45666 | 32 |
val fixedN: string val fixed: string -> Markup.T |
33 |
val dynamic_factN: string val dynamic_fact: string -> Markup.T |
|
34 |
val tfreeN: string val tfree: Markup.T |
|
35 |
val tvarN: string val tvar: Markup.T |
|
36 |
val freeN: string val free: Markup.T |
|
37 |
val skolemN: string val skolem: Markup.T |
|
38 |
val boundN: string val bound: Markup.T |
|
39 |
val varN: string val var: Markup.T |
|
40 |
val numeralN: string val numeral: Markup.T |
|
41 |
val literalN: string val literal: Markup.T |
|
42 |
val delimiterN: string val delimiter: Markup.T |
|
43 |
val inner_stringN: string val inner_string: Markup.T |
|
44 |
val inner_commentN: string val inner_comment: Markup.T |
|
45 |
val token_rangeN: string val token_range: Markup.T |
|
46 |
val sortN: string val sort: Markup.T |
|
47 |
val typN: string val typ: Markup.T |
|
48 |
val termN: string val term: Markup.T |
|
49 |
val propN: string val prop: Markup.T |
|
50 |
val typingN: string val typing: Markup.T |
|
51 |
val ML_keywordN: string val ML_keyword: Markup.T |
|
52 |
val ML_delimiterN: string val ML_delimiter: Markup.T |
|
53 |
val ML_tvarN: string val ML_tvar: Markup.T |
|
54 |
val ML_numeralN: string val ML_numeral: Markup.T |
|
55 |
val ML_charN: string val ML_char: Markup.T |
|
56 |
val ML_stringN: string val ML_string: Markup.T |
|
57 |
val ML_commentN: string val ML_comment: Markup.T |
|
58 |
val ML_malformedN: string val ML_malformed: Markup.T |
|
42327
7c7cc7590eb3
Name_Space.entry_markup: keep def position as separate properties;
wenzelm
parents:
42135
diff
changeset
|
59 |
val ML_defN: string |
7c7cc7590eb3
Name_Space.entry_markup: keep def position as separate properties;
wenzelm
parents:
42135
diff
changeset
|
60 |
val ML_openN: string |
7c7cc7590eb3
Name_Space.entry_markup: keep def position as separate properties;
wenzelm
parents:
42135
diff
changeset
|
61 |
val ML_structN: string |
45666 | 62 |
val ML_typingN: string val ML_typing: Markup.T |
63 |
val ML_sourceN: string val ML_source: Markup.T |
|
64 |
val doc_sourceN: string val doc_source: Markup.T |
|
65 |
val antiqN: string val antiq: Markup.T |
|
43560
d1650e3720fd
ML antiquotations are managed as theory data, with proper name space and entity markup;
wenzelm
parents:
43552
diff
changeset
|
66 |
val ML_antiquotationN: string |
43564
9864182c6bad
document antiquotations are managed as theory data, with proper name space and entity markup;
wenzelm
parents:
43560
diff
changeset
|
67 |
val doc_antiquotationN: string |
9864182c6bad
document antiquotations are managed as theory data, with proper name space and entity markup;
wenzelm
parents:
43560
diff
changeset
|
68 |
val doc_antiquotation_optionN: string |
45666 | 69 |
val keywordN: string val keyword: Markup.T |
70 |
val operatorN: string val operator: Markup.T |
|
71 |
val commandN: string val command: Markup.T |
|
72 |
val stringN: string val string: Markup.T |
|
73 |
val altstringN: string val altstring: Markup.T |
|
74 |
val verbatimN: string val verbatim: Markup.T |
|
75 |
val commentN: string val comment: Markup.T |
|
76 |
val controlN: string val control: Markup.T |
|
77 |
val malformedN: string val malformed: Markup.T |
|
78 |
val tokenN: string val token: Properties.T -> Markup.T |
|
79 |
val command_spanN: string val command_span: string -> Markup.T |
|
80 |
val ignored_spanN: string val ignored_span: Markup.T |
|
81 |
val malformed_spanN: string val malformed_span: Markup.T |
|
45674 | 82 |
val elapsedN: string |
83 |
val cpuN: string |
|
84 |
val gcN: string |
|
85 |
val timingN: string val timing: Timing.timing -> Markup.T |
|
38721
ca8b14fa0d0d
added some proof state markup, notably number of subgoals (e.g. for indentation);
wenzelm
parents:
38474
diff
changeset
|
86 |
val subgoalsN: string |
45666 | 87 |
val proof_stateN: string val proof_state: int -> Markup.T |
88 |
val stateN: string val state: Markup.T |
|
89 |
val subgoalN: string val subgoal: Markup.T |
|
90 |
val sendbackN: string val sendback: Markup.T |
|
91 |
val hiliteN: string val hilite: Markup.T |
|
29417 | 92 |
val taskN: string |
47395
e6261a493f04
added static command status markup, to emphasize accepted but unassigned/unparsed commands (notably in overview panel);
wenzelm
parents:
46910
diff
changeset
|
93 |
val acceptedN: string val accepted: Markup.T |
45666 | 94 |
val forkedN: string val forked: Markup.T |
95 |
val joinedN: string val joined: Markup.T |
|
96 |
val failedN: string val failed: Markup.T |
|
97 |
val finishedN: string val finished: Markup.T |
|
38871 | 98 |
val serialN: string |
45666 | 99 |
val legacyN: string val legacy: Markup.T |
100 |
val promptN: string val prompt: Markup.T |
|
101 |
val reportN: string val report: Markup.T |
|
102 |
val no_reportN: string val no_report: Markup.T |
|
103 |
val badN: string val bad: Markup.T |
|
43748 | 104 |
val functionN: string |
44661
383c9d758a56
raw message function "assign_execs" avoids full overhead of decoding and caching message body;
wenzelm
parents:
44549
diff
changeset
|
105 |
val assign_execs: Properties.T |
44676 | 106 |
val removed_versions: Properties.T |
43748 | 107 |
val invoke_scala: string -> string -> Properties.T |
44298
b8f8488704e2
Future.promise: explicit abort operation (like uninterruptible future job);
wenzelm
parents:
43797
diff
changeset
|
108 |
val cancel_scala: string -> Properties.T |
23623 | 109 |
end; |
110 |
||
45666 | 111 |
structure Isabelle_Markup: ISABELLE_MARKUP = |
23623 | 112 |
struct |
113 |
||
30221 | 114 |
(** markup elements **) |
115 |
||
45666 | 116 |
fun markup_elem elem = (elem, (elem, []): Markup.T); |
117 |
fun markup_string elem prop = (elem, fn s => (elem, [(prop, s)]): Markup.T); |
|
118 |
fun markup_int elem prop = (elem, fn i => (elem, [(prop, Markup.print_int i)]): Markup.T); |
|
23671 | 119 |
|
23658 | 120 |
|
33088
757d7787b10c
markup for formal entities, with "def" or "ref" occurrences;
wenzelm
parents:
32738
diff
changeset
|
121 |
(* formal entities *) |
757d7787b10c
markup for formal entities, with "def" or "ref" occurrences;
wenzelm
parents:
32738
diff
changeset
|
122 |
|
43547
f3a8476285c6
clarified Binding.pretty/print: no quotes, only markup -- Binding.str_of is rendered obsolete;
wenzelm
parents:
43432
diff
changeset
|
123 |
val (bindingN, binding) = markup_elem "binding"; |
42135 | 124 |
|
125 |
val entityN = "entity"; |
|
45666 | 126 |
fun entity kind name = (entityN, [(Markup.nameN, name), (Markup.kindN, kind)]); |
33088
757d7787b10c
markup for formal entities, with "def" or "ref" occurrences;
wenzelm
parents:
32738
diff
changeset
|
127 |
|
43548
f231a7594e54
type classes: entity markup instead of old-style token markup;
wenzelm
parents:
43547
diff
changeset
|
128 |
fun get_entity_kind (name, props) = |
45666 | 129 |
if name = entityN then AList.lookup (op =) props Markup.kindN |
43548
f231a7594e54
type classes: entity markup instead of old-style token markup;
wenzelm
parents:
43547
diff
changeset
|
130 |
else NONE; |
f231a7594e54
type classes: entity markup instead of old-style token markup;
wenzelm
parents:
43547
diff
changeset
|
131 |
|
33088
757d7787b10c
markup for formal entities, with "def" or "ref" occurrences;
wenzelm
parents:
32738
diff
changeset
|
132 |
val defN = "def"; |
757d7787b10c
markup for formal entities, with "def" or "ref" occurrences;
wenzelm
parents:
32738
diff
changeset
|
133 |
val refN = "ref"; |
757d7787b10c
markup for formal entities, with "def" or "ref" occurrences;
wenzelm
parents:
32738
diff
changeset
|
134 |
|
757d7787b10c
markup for formal entities, with "def" or "ref" occurrences;
wenzelm
parents:
32738
diff
changeset
|
135 |
|
23671 | 136 |
(* position *) |
137 |
||
138 |
val lineN = "line"; |
|
27794 | 139 |
val offsetN = "offset"; |
140 |
val end_offsetN = "end_offset"; |
|
23671 | 141 |
val fileN = "file"; |
25816 | 142 |
val idN = "id"; |
23671 | 143 |
|
41484 | 144 |
val position_properties' = [fileN, idN]; |
43710
7270ae921cf2
discontinued odd Position.column -- left-over from attempts at PGIP implementation;
wenzelm
parents:
43684
diff
changeset
|
145 |
val position_properties = [lineN, offsetN, end_offsetN] @ position_properties'; |
27748 | 146 |
|
25552 | 147 |
val (positionN, position) = markup_elem "position"; |
26255 | 148 |
|
23644 | 149 |
|
43593 | 150 |
(* path *) |
151 |
||
45666 | 152 |
val (pathN, path) = markup_string "path" Markup.nameN; |
43593 | 153 |
|
154 |
||
23644 | 155 |
(* pretty printing *) |
156 |
||
157 |
val indentN = "indent"; |
|
158 |
val (blockN, block) = markup_int "block" indentN; |
|
159 |
||
160 |
val widthN = "width"; |
|
161 |
val (breakN, break) = markup_int "break" widthN; |
|
162 |
||
25552 | 163 |
val (fbreakN, fbreak) = markup_elem "fbreak"; |
23637 | 164 |
|
165 |
||
33985 | 166 |
(* hidden text *) |
167 |
||
168 |
val (hiddenN, hidden) = markup_elem "hidden"; |
|
169 |
||
170 |
||
23623 | 171 |
(* logical entities *) |
172 |
||
43548
f231a7594e54
type classes: entity markup instead of old-style token markup;
wenzelm
parents:
43547
diff
changeset
|
173 |
val classN = "class"; |
46649
bb185c45037e
clarifed name space "type name", which covers logical and non-logical types, and often occurs inside outer syntax "type" markup;
wenzelm
parents:
46123
diff
changeset
|
174 |
val type_nameN = "type name"; |
43552 | 175 |
val constantN = "constant"; |
176 |
||
45666 | 177 |
val (fixedN, fixed) = markup_string "fixed" Markup.nameN; |
178 |
val (dynamic_factN, dynamic_fact) = markup_string "dynamic_fact" Markup.nameN; |
|
23623 | 179 |
|
180 |
||
181 |
(* inner syntax *) |
|
182 |
||
25552 | 183 |
val (tfreeN, tfree) = markup_elem "tfree"; |
184 |
val (tvarN, tvar) = markup_elem "tvar"; |
|
185 |
val (freeN, free) = markup_elem "free"; |
|
186 |
val (skolemN, skolem) = markup_elem "skolem"; |
|
187 |
val (boundN, bound) = markup_elem "bound"; |
|
188 |
val (varN, var) = markup_elem "var"; |
|
29318
6337d1cb2ba0
added numeral, which supercedes num, xnum, float;
wenzelm
parents:
28904
diff
changeset
|
189 |
val (numeralN, numeral) = markup_elem "numeral"; |
27804 | 190 |
val (literalN, literal) = markup_elem "literal"; |
43432
224006e5ac46
inner literal/delimiter corresponds to outer keyword/operator;
wenzelm
parents:
42492
diff
changeset
|
191 |
val (delimiterN, delimiter) = markup_elem "delimiter"; |
29318
6337d1cb2ba0
added numeral, which supercedes num, xnum, float;
wenzelm
parents:
28904
diff
changeset
|
192 |
val (inner_stringN, inner_string) = markup_elem "inner_string"; |
27883 | 193 |
val (inner_commentN, inner_comment) = markup_elem "inner_comment"; |
23719 | 194 |
|
39168
e3ac771235f7
report token range after inner parse error -- often provides important clues about misunderstanding concerning lexical phase;
wenzelm
parents:
38887
diff
changeset
|
195 |
val (token_rangeN, token_range) = markup_elem "token_range"; |
e3ac771235f7
report token range after inner parse error -- often provides important clues about misunderstanding concerning lexical phase;
wenzelm
parents:
38887
diff
changeset
|
196 |
|
25552 | 197 |
val (sortN, sort) = markup_elem "sort"; |
198 |
val (typN, typ) = markup_elem "typ"; |
|
199 |
val (termN, term) = markup_elem "term"; |
|
27818 | 200 |
val (propN, prop) = markup_elem "prop"; |
27748 | 201 |
|
45445
41e641a870de
pass term positions into check phase, where resulting types are reported accordingly, and eventually shown as tooltips;
wenzelm
parents:
44706
diff
changeset
|
202 |
val (typingN, typing) = markup_elem "typing"; |
41e641a870de
pass term positions into check phase, where resulting types are reported accordingly, and eventually shown as tooltips;
wenzelm
parents:
44706
diff
changeset
|
203 |
|
23623 | 204 |
|
30614 | 205 |
(* ML syntax *) |
206 |
||
207 |
val (ML_keywordN, ML_keyword) = markup_elem "ML_keyword"; |
|
37195 | 208 |
val (ML_delimiterN, ML_delimiter) = markup_elem "ML_delimiter"; |
30614 | 209 |
val (ML_tvarN, ML_tvar) = markup_elem "ML_tvar"; |
210 |
val (ML_numeralN, ML_numeral) = markup_elem "ML_numeral"; |
|
211 |
val (ML_charN, ML_char) = markup_elem "ML_char"; |
|
212 |
val (ML_stringN, ML_string) = markup_elem "ML_string"; |
|
213 |
val (ML_commentN, ML_comment) = markup_elem "ML_comment"; |
|
214 |
val (ML_malformedN, ML_malformed) = markup_elem "ML_malformed"; |
|
215 |
||
42327
7c7cc7590eb3
Name_Space.entry_markup: keep def position as separate properties;
wenzelm
parents:
42135
diff
changeset
|
216 |
val ML_defN = "ML_def"; |
7c7cc7590eb3
Name_Space.entry_markup: keep def position as separate properties;
wenzelm
parents:
42135
diff
changeset
|
217 |
val ML_openN = "ML_open"; |
7c7cc7590eb3
Name_Space.entry_markup: keep def position as separate properties;
wenzelm
parents:
42135
diff
changeset
|
218 |
val ML_structN = "ML_struct"; |
30702 | 219 |
val (ML_typingN, ML_typing) = markup_elem "ML_typing"; |
220 |
||
30614 | 221 |
|
27875 | 222 |
(* embedded source text *) |
223 |
||
224 |
val (ML_sourceN, ML_source) = markup_elem "ML_source"; |
|
225 |
val (doc_sourceN, doc_source) = markup_elem "doc_source"; |
|
226 |
||
27879 | 227 |
val (antiqN, antiq) = markup_elem "antiq"; |
43560
d1650e3720fd
ML antiquotations are managed as theory data, with proper name space and entity markup;
wenzelm
parents:
43552
diff
changeset
|
228 |
val ML_antiquotationN = "ML antiquotation"; |
43564
9864182c6bad
document antiquotations are managed as theory data, with proper name space and entity markup;
wenzelm
parents:
43560
diff
changeset
|
229 |
val doc_antiquotationN = "document antiquotation"; |
9864182c6bad
document antiquotations are managed as theory data, with proper name space and entity markup;
wenzelm
parents:
43560
diff
changeset
|
230 |
val doc_antiquotation_optionN = "document antiquotation option"; |
27879 | 231 |
|
27875 | 232 |
|
23623 | 233 |
(* outer syntax *) |
234 |
||
37193 | 235 |
val (keywordN, keyword) = markup_elem "keyword"; |
37192 | 236 |
val (operatorN, operator) = markup_elem "operator"; |
37193 | 237 |
val (commandN, command) = markup_elem "command"; |
25552 | 238 |
val (stringN, string) = markup_elem "string"; |
239 |
val (altstringN, altstring) = markup_elem "altstring"; |
|
240 |
val (verbatimN, verbatim) = markup_elem "verbatim"; |
|
241 |
val (commentN, comment) = markup_elem "comment"; |
|
242 |
val (controlN, control) = markup_elem "control"; |
|
243 |
val (malformedN, malformed) = markup_elem "malformed"; |
|
23719 | 244 |
|
38229 | 245 |
val tokenN = "token"; |
246 |
fun token props = (tokenN, props); |
|
27851 | 247 |
|
45666 | 248 |
val (command_spanN, command_span) = markup_string "command_span" Markup.nameN; |
27660 | 249 |
val (ignored_spanN, ignored_span) = markup_elem "ignored_span"; |
27836 | 250 |
val (malformed_spanN, malformed_span) = markup_elem "malformed_span"; |
23719 | 251 |
|
23623 | 252 |
|
45674 | 253 |
(* timing *) |
254 |
||
255 |
val timingN = "timing"; |
|
256 |
val elapsedN = "elapsed"; |
|
257 |
val cpuN = "cpu"; |
|
258 |
val gcN = "gc"; |
|
259 |
||
260 |
fun timing {elapsed, cpu, gc} = |
|
261 |
(timingN, |
|
262 |
[(elapsedN, Time.toString elapsed), |
|
263 |
(cpuN, Time.toString cpu), |
|
264 |
(gcN, Time.toString gc)]); |
|
265 |
||
266 |
||
40394
6dcb6cbf0719
somewhat more uniform timing markup in ML vs. Scala;
wenzelm
parents:
40391
diff
changeset
|
267 |
(* toplevel *) |
40391
b0dafbfc05b7
explicit "timing" status for toplevel transactions;
wenzelm
parents:
40131
diff
changeset
|
268 |
|
38721
ca8b14fa0d0d
added some proof state markup, notably number of subgoals (e.g. for indentation);
wenzelm
parents:
38474
diff
changeset
|
269 |
val subgoalsN = "subgoals"; |
ca8b14fa0d0d
added some proof state markup, notably number of subgoals (e.g. for indentation);
wenzelm
parents:
38474
diff
changeset
|
270 |
val (proof_stateN, proof_state) = markup_int "proof_state" subgoalsN; |
ca8b14fa0d0d
added some proof state markup, notably number of subgoals (e.g. for indentation);
wenzelm
parents:
38474
diff
changeset
|
271 |
|
25552 | 272 |
val (stateN, state) = markup_elem "state"; |
273 |
val (subgoalN, subgoal) = markup_elem "subgoal"; |
|
274 |
val (sendbackN, sendback) = markup_elem "sendback"; |
|
275 |
val (hiliteN, hilite) = markup_elem "hilite"; |
|
276 |
||
277 |
||
27606 | 278 |
(* command status *) |
279 |
||
29417 | 280 |
val taskN = "task"; |
281 |
||
47395
e6261a493f04
added static command status markup, to emphasize accepted but unassigned/unparsed commands (notably in overview panel);
wenzelm
parents:
46910
diff
changeset
|
282 |
val (acceptedN, accepted) = markup_elem "accepted"; |
37186
349e9223c685
explicit markup for forked goals, as indicated by Goal.fork;
wenzelm
parents:
34242
diff
changeset
|
283 |
val (forkedN, forked) = markup_elem "forked"; |
349e9223c685
explicit markup for forked goals, as indicated by Goal.fork;
wenzelm
parents:
34242
diff
changeset
|
284 |
val (joinedN, joined) = markup_elem "joined"; |
38429
9951852fae91
simplified command status: interpret stacked markup on demand;
wenzelm
parents:
38414
diff
changeset
|
285 |
|
27615 | 286 |
val (failedN, failed) = markup_elem "failed"; |
27606 | 287 |
val (finishedN, finished) = markup_elem "finished"; |
288 |
||
29488 | 289 |
|
27969 | 290 |
(* messages *) |
291 |
||
38871 | 292 |
val serialN = "serial"; |
27969 | 293 |
|
44549 | 294 |
val (legacyN, legacy) = markup_elem "legacy"; |
27969 | 295 |
val (promptN, prompt) = markup_elem "prompt"; |
296 |
||
38887
1261481ef5e5
Command.State: add reported positions to markup tree, according main message position or Markup.binding/entity/report occurrences in body;
wenzelm
parents:
38871
diff
changeset
|
297 |
val (reportN, report) = markup_elem "report"; |
39439
1c294d150ded
eliminated markup "location" in favour of more explicit "no_report", which is actually deleted from messages;
wenzelm
parents:
39171
diff
changeset
|
298 |
val (no_reportN, no_report) = markup_elem "no_report"; |
38887
1261481ef5e5
Command.State: add reported positions to markup tree, according main message position or Markup.binding/entity/report occurrences in body;
wenzelm
parents:
38871
diff
changeset
|
299 |
|
39171
525a13b9ac74
highlight bad range of nested error (here from inner parsing);
wenzelm
parents:
39168
diff
changeset
|
300 |
val (badN, bad) = markup_elem "bad"; |
525a13b9ac74
highlight bad range of nested error (here from inner parsing);
wenzelm
parents:
39168
diff
changeset
|
301 |
|
27969 | 302 |
|
46774 | 303 |
(* protocol message functions *) |
43748 | 304 |
|
305 |
val functionN = "function" |
|
306 |
||
44661
383c9d758a56
raw message function "assign_execs" avoids full overhead of decoding and caching message body;
wenzelm
parents:
44549
diff
changeset
|
307 |
val assign_execs = [(functionN, "assign_execs")]; |
44676 | 308 |
val removed_versions = [(functionN, "removed_versions")]; |
44661
383c9d758a56
raw message function "assign_execs" avoids full overhead of decoding and caching message body;
wenzelm
parents:
44549
diff
changeset
|
309 |
|
45666 | 310 |
fun invoke_scala name id = [(functionN, "invoke_scala"), (Markup.nameN, name), (idN, id)]; |
44298
b8f8488704e2
Future.promise: explicit abort operation (like uninterruptible future job);
wenzelm
parents:
43797
diff
changeset
|
311 |
fun cancel_scala id = [(functionN, "cancel_scala"), (idN, id)]; |
43748 | 312 |
|
23623 | 313 |
end; |