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. | Embed_tex of t
  8. | Let of string list * string list list * t
  9. | Open of string list
  10. | Block of t * t
  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. | 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. | Import of Core__.Base.visibility * string
  22. | Def of string list * string list list * t
  23. | Alloc of string list
  24. | Title of t
  25. | Taxon of string
  26. | Meta of string * t
  27. | Author of string
  28. | Tag of string
  29. | TeX_package of string
  30. | Date of string
  31. | Namespace of string list * t
Sourcetype tree = {
  1. source_path : string option;
  2. addr : string;
  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.