Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /smlnj-lib/trunk/HTML/html-attrs-sig.sml
ViewVC logotype

Annotation of /smlnj-lib/trunk/HTML/html-attrs-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2144 - (view) (download)

1 : monnier 2 (* html-attrs.sml
2 :     *
3 :     * COPYRIGHT (c) 1996 AT&T Research.
4 :     *
5 :     * This is the interface to HTMLAttrs, which provides support for parsing
6 :     * element start tags.
7 :     *)
8 :    
9 :     signature HTML_ATTRS =
10 :     sig
11 :    
12 :     type context = {file : string option, line : int}
13 :    
14 :     (* support for building elements that have attributes *)
15 :     datatype attr_val = datatype HTMLAttrVals.attr_val
16 :     type attrs = (string * attr_val) list
17 :    
18 :     val mkISINDEX : (context * attrs) -> {prompt : HTML.cdata option}
19 :     val mkBASE : (context * attrs) -> HTML.head_content
20 :     val mkMETA : (context * attrs) -> HTML.head_content
21 :     val mkLINK : (context * attrs) -> HTML.head_content
22 : monnier 8 val mkBODY : (context * attrs * HTML.block) -> HTML.body
23 : monnier 2 val mkHn : (int * context * attrs * HTML.text) -> HTML.block
24 :     val mkP : (context * attrs * HTML.text) -> HTML.block
25 :     val mkUL : (context * attrs * HTML.list_item list) -> HTML.block
26 :     val mkOL : (context * attrs * HTML.list_item list) -> HTML.block
27 :     val mkDIR : (context * attrs * HTML.list_item list) -> HTML.block
28 :     val mkMENU : (context * attrs * HTML.list_item list) -> HTML.block
29 :     val mkLI : (context * attrs * HTML.block) -> HTML.list_item
30 :     val mkDL : (context * attrs * {dt : HTML.text list, dd : HTML.block} list)
31 :     -> HTML.block
32 :     val mkPRE : (context * attrs * HTML.text) -> HTML.block
33 :     val mkDIV : (context * attrs * HTML.block) -> HTML.block
34 :     val mkFORM : (context * attrs * HTML.block) -> HTML.block
35 :     val mkHR : (context * attrs) -> HTML.block
36 :     val mkTABLE : (context * attrs * {
37 :     caption : HTML.caption option,
38 :     body : HTML.tr list
39 :     }) -> HTML.block
40 :     val mkCAPTION : (context * attrs * HTML.text) -> HTML.caption
41 :     val mkTR : (context * attrs * HTML.table_cell list) -> HTML.tr
42 :     val mkTH : (context * attrs * HTML.block) -> HTML.table_cell
43 :     val mkTD : (context * attrs * HTML.block) -> HTML.table_cell
44 :     val mkA : (context * attrs * HTML.text) -> HTML.text
45 :     val mkIMG : (context * attrs) -> HTML.text
46 :     val mkAPPLET : (context * attrs * HTML.text) -> HTML.text
47 :     val mkPARAM : (context * attrs) -> HTML.text
48 :     val mkFONT : (context * attrs * HTML.text) -> HTML.text
49 :     val mkBASEFONT : (context * attrs * HTML.text) -> HTML.text
50 :     val mkBR : (context * attrs) -> HTML.text
51 :     val mkMAP : (context * attrs * HTML.area list) -> HTML.text
52 :     val mkINPUT : (context * attrs) -> HTML.text
53 :     val mkSELECT : (context * attrs * HTML.select_option list) -> HTML.text
54 :     val mkTEXTAREA : (context * attrs * HTML.pcdata) -> HTML.text
55 :     val mkAREA : (context * attrs) -> HTML.area
56 :     val mkOPTION : (context * attrs * HTML.pcdata) -> HTML.select_option
57 :    
58 :     end
59 :    

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0