package forester

  1. Overview
  2. Docs
type node =
  1. | Text of string
  2. | Ident of string list * string list
  3. | Xml_tag of string * (string * t) list * t
  4. | Transclude of string
  5. | Embed_tex of t
  6. | Let of string list * string list list * t
  7. | Open of string list
  8. | Block of t * t
  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. | Object of {
    1. self : string list option;
    2. methods : (string * t) list;
    }
  16. | Patch of {
    1. obj : t;
    2. self : string list option;
    3. methods : (string * t) list;
    }
  17. | Call of t * string
  18. | Query of t Query.t
  19. | Def of string list * string list list * t
  20. | Alloc of string list
  21. | Title of t
  22. | Taxon of string
  23. | Meta of string * t
  24. | Author of string
  25. | Tag of string
  26. | TeX_package of string
  27. | Date of string
  28. | Namespace of string list * t
and t = node Range.located list
type tree = {
  1. source_path : string option;
  2. addr : string;
  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.