package forester

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