Lines Matching refs:cs
1 <?cs # Create a comma separated list of annotations on obj that were in showAnnotations in Doclava …
2 <?cs # pre is an HTML string to start the list, post is an HTML string to close the list ?>
3 <?cs # for example call:show_annotations_list(cl, "<td>Annotations: ", "</td>") ?>
4 <?cs # if obj has nothing on obj.showAnnotations, nothing will be output ?>
5 <?cs def:show_annotations_list(obj) ?>
6 <?cs each:anno = obj.showAnnotations ?>
7 <?cs if:first(anno) ?>
10 <?cs /if ?>
11 @<?cs var:anno.type.label ?>
12 <?cs if:last(anno) == 0 ?>
14 <?cs /if ?>
15 <?cs if:last(anno)?>
17 <?cs /if ?>
18 <?cs /each ?>
19 <?cs /def ?>
21 <?cs # Override default class_link_table to display annotations ?>
22 <?cs def:class_link_table(classes) ?>
23 <?cs set:count = #1 ?>
25 <?cs each:cl=classes ?>
27 <td class="jd-linkcol"><?cs call:type_link(cl.type) ?></td>
29 <?cs call:short_descr(cl) ?>
30 <?cs call:show_annotations_list(cl) ?>
33 <?cs set:count = count + #1 ?>
34 <?cs /each ?>
36 <?cs /def ?>