package csvfields

  1. Overview
  2. Docs
type error =
  1. | EUnterminatedComment
  2. | EUnterminatedString
  3. | EIdentExpected
  4. | ECloseExpected
  5. | ENodeExpected
  6. | EAttributeNameExpected
  7. | EAttributeValueExpected
  8. | EUnterminatedEntity
type dtd_error =
  1. | EInvalidDTDDecl
  2. | EInvalidDTDTag
  3. | EDTDItemExpected
  4. | EInvalidDTDElement
  5. | EInvalidDTDAttribute
exception Error of error
exception DTDError of dtd_error
type dtd_decl =
  1. | DTDFile of string
  2. | DTDData of Dtd0.dtd
type token =
  1. | Tag of string * (string * string) list * bool
  2. | PCData of string
  3. | Endtag of string
  4. | DocType of string * dtd_decl
  5. | Eof
type pos = int * int * int * int
val init : Stdlib.Lexing.lexbuf -> unit
val close : Stdlib.Lexing.lexbuf -> unit
val token : Stdlib.Lexing.lexbuf -> token
val dtd : Stdlib.Lexing.lexbuf -> Dtd0.dtd
val pos : Stdlib.Lexing.lexbuf -> pos
val restore : pos -> unit
OCaml

Innovation. Community. Security.