package mustache

  1. Overview
  2. Docs

Module Mustache_types.AstSource

Sourcetype t = {
  1. loc : loc;
  2. desc : desc;
}
Sourceand desc =
  1. | String of string
  2. | Escaped of dotted_name
  3. | Unescaped of dotted_name
  4. | Section of section
  5. | Inverted_section of section
  6. | Partial of partial
  7. | Param of param
  8. | Concat of t list
  9. | Comment of string
Sourceand section = {
  1. name : dotted_name;
  2. contents : t;
}
Sourceand partial = {
  1. indent : int;
  2. name : name;
  3. params : param list option;
  4. contents : t option Lazy.t;
}
Sourceand param = {
  1. indent : int;
  2. name : name;
  3. contents : t;
}
OCaml

Innovation. Community. Security.