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 /sml/trunk/src/smlnj-lib/HTML/html-attr-vals.sml
ViewVC logotype

Annotation of /sml/trunk/src/smlnj-lib/HTML/html-attr-vals.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (view) (download)

1 : monnier 2 (* html-attr-vals.sml
2 :     *
3 :     * COPYRIGHT (c) 1996 AT&T Research.
4 :     *
5 :     * This structure is necessary since the attrs type is used in the parser,
6 :     * and there is no way to get it into the parser's signature.
7 :     *)
8 :    
9 :     structure HTMLAttrVals =
10 :     struct
11 :    
12 :     (* support for building elements that have attributes *)
13 :     datatype attr_val
14 :     = NAME of string (* [a-zA-Z.-]+ *)
15 :     | STRING of string (* a string enclosed in "" or '' *)
16 :     | IMPLICIT
17 :    
18 :     type attrs = (string * attr_val) list
19 :    
20 :     end;

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