package devkit

  1. Overview
  2. Docs
Development kit - general purpose library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.20261006.tar.gz
md5=a39dbbce04bd5562a9b4443daf39c582
sha512=b10104b61384b2151521b785e7f3c3250134c75eae09b42cad69bc4a22a9a5e429beb891ee87cedf376c23d9c40f09d3f71c3fd48aa35df490c0f69dc17f3242

doc/devkit.core/Devkit_core/HtmlStream_ragel/index.html

Module Devkit_core.HtmlStream_ragelSource

Sourcemodule Raw : sig ... end
Sourcetype elem =
  1. | Tag of string * (string * Raw.t) list
  2. | Script of (string * Raw.t) list * string
  3. | Style of (string * Raw.t) list * string
  4. | Text of Raw.t
  5. | Close of string
Sourcetype ctx = {
  1. mutable lnum : int;
}
Sourceval get_lnum : ctx -> int
Sourceval init : unit -> ctx
Sourceval _htmlstream_trans_keys : int array
Sourceval _htmlstream_key_spans : int array
Sourceval _htmlstream_index_offsets : int array
Sourceval _htmlstream_indicies : int array
Sourceval _htmlstream_trans_targs : int array
Sourceval _htmlstream_trans_actions : int array
Sourceval _htmlstream_eof_actions : int array
Sourceval htmlstream_start : int
Sourceval htmlstream_first_final : int
Sourceval htmlstream_error : int
Sourceval htmlstream_en_in_script : int
Sourceval htmlstream_en_in_style : int
Sourceval htmlstream_en_in_title : int
Sourceval htmlstream_en_garbage_tag : int
Sourceval htmlstream_en_main : int
Sourcetype _htmlstream_state = {
  1. mutable keys : int;
  2. mutable trans : int;
}
Sourceexception Goto_match
Sourceexception Goto_again
Sourceexception Goto_eof_trans
Sourceval parse : ?ctx:??? -> (elem -> unit) -> string -> unit

scan data for html tags and invoke call for every element