devkit

Development kit - general purpose library
IN THIS PACKAGE
module Raw : sig ... end
type elem =
| Tag of string * (string * Raw.t) list
| Script of (string * Raw.t) list * string
| Style of (string * Raw.t) list * string
| Text of Raw.t
| Close of string
type ctx = {
mutable lnum : int;
}
val get_lnum : ctx -> int
val init : unit -> ctx
val _htmlstream_trans_keys : int array
val _htmlstream_key_spans : int array
val _htmlstream_index_offsets : int array
val _htmlstream_indicies : int array
val _htmlstream_trans_targs : int array
val _htmlstream_trans_actions : int array
val _htmlstream_eof_actions : int array
val htmlstream_start : int
val htmlstream_first_final : int
val htmlstream_error : int
val htmlstream_en_in_script : int
val htmlstream_en_in_style : int
val htmlstream_en_garbage_tag : int
val htmlstream_en_main : int
type _htmlstream_state = {
mutable keys : int;
mutable trans : int;
}
exception Goto_match_htmlstream
exception Goto_again_htmlstream
exception Goto_eof_trans_htmlstream
val parse : ?ctx:ctx -> ( elem -> unit ) -> string -> unit

scan data for html tags and invoke call for every element