package catala

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Contains all format functions used to generating the js_of_ocaml wrapper of the corresponding Catala program.

val format_struct_field_name_camel_case : Stdlib.Format.formatter -> Shared_ast.StructField.t -> unit
val format_struct_name : Stdlib.Format.formatter -> Shared_ast.StructName.t -> unit
val format_enum_name : Stdlib.Format.formatter -> Shared_ast.EnumName.t -> unit
val format_tlit : Stdlib.Format.formatter -> Shared_ast.typ_lit -> unit
val format_typ : Stdlib.Format.formatter -> Shared_ast.typ -> unit
val format_to_js : Stdlib.Format.formatter -> (Shared_ast.naked_typ, Catala_utils.Pos.t) Catala_utils.Mark.ed -> unit
val format_of_js : Stdlib.Format.formatter -> (Shared_ast.naked_typ, Catala_utils.Pos.t) Catala_utils.Mark.ed -> unit
val format_var_camel_case : Stdlib.Format.formatter -> (('a, 'a, 'b) Shared_ast__.Definitions.base_gexpr, 'b Shared_ast__.Definitions.mark) Catala_utils.Mark.ed Shared_ast.Var.t -> unit
val format_ctx : Scopelang.Dependency.TVertex.t list -> Stdlib.Format.formatter -> Shared_ast.decl_ctx -> unit
val fmt_input_struct_name : Stdlib.Format.formatter -> 'a Lcalc.Ast.expr Shared_ast.scope_body -> unit
val fmt_output_struct_name : Stdlib.Format.formatter -> 'a Lcalc.Ast.expr Shared_ast.scope_body -> unit
val format_program : Stdlib.Format.formatter -> string option -> 'm Lcalc.Ast.program -> Scopelang.Dependency.TVertex.t list -> unit
OCaml

Innovation. Community. Security.