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

SCM Repository

[smlnj] View of /sml/trunk/src/smlnj-lib/HTML/html-attr-vals.sml
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (download) (annotate)
Thu Jun 1 18:34:03 2000 UTC (21 years, 2 months ago) by monnier
File size: 509 byte(s)
bring revisions from the vendor branch to the trunk
(* html-attr-vals.sml
 *
 * COPYRIGHT (c) 1996 AT&T Research.
 *
 * This structure is necessary since the attrs type is used in the parser,
 * and there is no way to get it into the parser's signature.
 *)

structure HTMLAttrVals =
  struct

  (* support for building elements that have attributes *)
    datatype attr_val
      = NAME of string          (* [a-zA-Z.-]+ *)
      | STRING of string        (* a string enclosed in "" or '' *)
      | IMPLICIT

    type attrs = (string * attr_val) list

  end;

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