package catala

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

Module Json_schema.To_jsonSource

Contains all format functions used to format a Lcalc Catala program representation to a JSON schema describing the corresponding web form.

Sourceval to_camel_case : string -> string
Sourceval format_struct_field_name_camel_case : Stdlib.Format.formatter -> Shared_ast.StructField.t -> unit
Sourceval fmt_tlit : Stdlib.Format.formatter -> Shared_ast.typ_lit -> unit
Sourceval fmt_type : Stdlib.Format.formatter -> Shared_ast.typ -> unit
Sourceval fmt_struct_properties : Shared_ast.decl_ctx -> Stdlib.Format.formatter -> Shared_ast.StructName.t -> unit
Sourceval fmt_definitions : Shared_ast.decl_ctx -> Stdlib.Format.formatter -> (Shared_ast.ScopeName.t * ([< `Dcalc | `Desugared | `Lcalc | `Scopelang ] Shared_ast.any Shared_ast.any Shared_ast.any Shared_ast.any, 'a Shared_ast.mark) Shared_ast.gexpr Shared_ast.scope_body) -> unit
Sourceval format_program : Stdlib.Format.formatter -> string -> 'm Lcalc.Ast.program -> unit
OCaml

Innovation. Community. Security.