package forester

  1. Overview
  2. Docs
type node =
  1. | Text of string
  2. | Ident of string list * string list
  3. | Xml_tag of string option * string * ((string option * string) * t) list * t
  4. | Transclude of string
  5. | Subtree of string option * t
  6. | Embed_tex of t * t
  7. | Let of string list * string list list * t
  8. | Open of string list
  9. | Scope of t
  10. | Put of string list * t
  11. | Default of string list * t
  12. | Get of string list
  13. | If_tex of t * t
  14. | Prim of Prim.t * t
  15. | Ref of t
  16. | Object of {
    1. self : string list option;
    2. methods : (string * t) list;
    }
  17. | Patch of {
    1. obj : t;
    2. self : string list option;
    3. methods : (string * t) list;
    }
  18. | Call of t * string
  19. | Query of t Query.t
  20. | Def of string list * string list list * t
  21. | Decl_xmlns of string * string
  22. | Alloc of string list
  23. | Namespace of string list * t
  24. | Title of t
  25. | Taxon of string
  26. | Meta of string * t
  27. | Author of string
  28. | Contributor of string
  29. | Tag of string
  30. | Date of string
  31. | Parent of string
  32. | Number of string
and t = node Range.located list
and tree = {
  1. source_path : string option;
  2. addr : string option;
  3. code : t;
}
val pp_node : Ppx_deriving_runtime.Format.formatter -> node -> Ppx_deriving_runtime.unit
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val pp_tree : Ppx_deriving_runtime.Format.formatter -> tree -> Ppx_deriving_runtime.unit
val import_private : string -> node
val import_public : string -> node
val inline_math : t -> node
val display_math : t -> node
val parens : t -> node
val squares : t -> node
val braces : t -> node
OCaml

Innovation. Community. Security.