package SZXX

  1. Overview
  2. Docs
type partial = {
  1. tag : string;
  2. attrs : attr_list;
  3. preserve_space : bool Core_kernel.Lazy.t;
  4. buf : Core_kernel.Buffer.t;
  5. children : DOM.element Core_kernel.Queue.t;
}
val sexp_of_partial : partial -> Sexplib0.Sexp.t
type state = {
  1. decl_attrs : attr_list option;
  2. stack : partial list;
  3. path_stack : string list;
  4. top : DOM.element option;
}
val sexp_of_state : state -> Sexplib0.Sexp.t
val init : state
val folder : filter_path:string list -> on_match:(DOM.element -> unit) -> (state, string) Core_kernel.result -> node -> (state, string) Core_kernel.result
OCaml

Innovation. Community. Security.