package forester

  1. Overview
  2. Docs

Module Core.CodeSource

Sourcetype node =
  1. | Text of string
  2. | Group of Core__.Base.delim * t
  3. | Math of Core__.Base.math_mode * t
  4. | Ident of string list * string list
  5. | Xml_tag of string * (string * t) list * t
  6. | Transclude of string
  7. | Subtree of string option * t
  8. | Embed_tex of t * t
  9. | Let of string list * string list list * t
  10. | Open of string list
  11. | Scope of t
  12. | Put of string list * t
  13. | Default of string list * t
  14. | Get of string list
  15. | If_tex of t * t
  16. | Prim of Prim.t * t
  17. | Ref of t
  18. | Object of {
    1. self : string list option;
    2. methods : (string * t) list;
    }
  19. | Patch of {
    1. obj : t;
    2. self : string list option;
    3. methods : (string * t) list;
    }
  20. | Call of t * string
  21. | Query of t Query.t
  22. | Import of Core__.Base.visibility * string
  23. | Def of string list * string list list * t
  24. | Alloc of string list
  25. | Namespace of string list * t
  26. | Title of t
  27. | Taxon of string
  28. | Meta of string * t
  29. | Author of string
  30. | Contributor of string
  31. | Tag of string
  32. | Date of string
  33. | Parent of string
  34. | Number of string
Sourceand tree = {
  1. source_path : string option;
  2. addr : string option;
  3. code : t;
}
Sourceval import_private : string -> node
Sourceval import_public : string -> node
Sourceval inline_math : t -> node
Sourceval display_math : t -> node
Sourceval parens : t -> node
Sourceval squares : t -> node
Sourceval braces : t -> node
OCaml

Innovation. Community. Security.