package forester

  1. Overview
  2. Docs
type node =
  1. | Text of string
  2. | Verbatim of string
  3. | Group of Base.delim * t
  4. | Math of Base.math_mode * t
  5. | Ident of string list * string list
  6. | Xml_tag of string option * string * ((string option * string) * t) list * t
  7. | Subtree of string option * t
  8. | Let of string list * string list Base.binding 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. | Fun of string list Base.binding list * t
  15. | Object of _object
  16. | Patch of patch
  17. | Call of t * string
  18. | Import of Base.visibility * string
  19. | Def of string list * string list Base.binding list * t
  20. | Decl_xmlns of string * string
  21. | Alloc of string list
  22. | Namespace of string list * t
and _object = {
  1. self : string list option;
  2. methods : (string * t) list;
}
and patch = {
  1. obj : t;
  2. self : string list option;
  3. methods : (string * t) list;
}
and t = node Range.located list
val pp_node : Ppx_deriving_runtime.Format.formatter -> node -> Ppx_deriving_runtime.unit
val pp__object : Ppx_deriving_runtime.Format.formatter -> _object -> Ppx_deriving_runtime.unit
val show__object : _object -> Ppx_deriving_runtime.string
val pp_patch : Ppx_deriving_runtime.Format.formatter -> patch -> Ppx_deriving_runtime.unit
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
type tree = {
  1. source_path : string option;
  2. addr : string option;
  3. code : t;
}
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.