package devkit

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

Install

Dune Dependency

Authors

Maintainers

Sources

devkit-1.20240429.tbz
sha256=222f8ac131b1d970dab7eeb2714bfd6b9338b88b1082e6e01c136ae19e7eaef4
sha512=c9e6d93e3d21e5530c0f4d5baca51bf1f0a5d19248f8af7678d0665bb5cdf295d7aaaaa3e50eb2e44b8720e55097cc675af4dc8ec45acf9da39feb3eae1405d5

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_garbage_tag : int
Sourceval htmlstream_en_main : int
Sourcetype _htmlstream_state = {
  1. mutable keys : int;
  2. mutable trans : int;
}
Sourceexception Goto_match_htmlstream
Sourceexception Goto_again_htmlstream
Sourceexception Goto_eof_trans_htmlstream
Sourceval parse : ?ctx:ctx -> (elem -> unit) -> string -> unit

scan data for html tags and invoke call for every element

OCaml

Innovation. Community. Security.