package liquid_syntax

  1. Overview
  2. Docs

Module Liquid_syntax.SettingsSource

Sourceval forloop : string
Sourceval increment : string
Sourceval cycle : string
Sourceval next : string
Sourceval skip : string
Sourceval style_tag : string
Sourcetype currency =
  1. | Usd
  2. | Eur
  3. | Cad
  4. | Aud
  5. | Gbp
Sourcetype currency_info = {
  1. symbol : string;
  2. abbr : string;
  3. name : string;
}
Sourceval currency_info_from_currency : currency -> currency_info
Sourcetype error_handler = string -> unit
Sourcetype error_policy =
  1. | Strict
  2. | Warn
  3. | Silent
  4. | Custom of error_handler
Sourcetype log_policy =
  1. | Verbose
  2. | Minimal
  3. | Never
Sourceval log_policy_key : string
Sourceval preferred_currency_key : string
Sourcetype t = {
  1. log_policy : log_policy;
  2. error_policy : error_policy;
  3. preferred_currency : currency;
  4. filters : Syntax.liquid_filter_lookup;
  5. context : Syntax.variable_context;
  6. template_directory : string;
  7. log_directory : string option;
  8. timezone : Liquid_syntax.Date.Timezone.t;
}
Sourceval default_filter_lookup : 'a -> 'b option
Sourceval default_custom_ctx : 'a Syntax.Ctx.t
Sourceval make : ?log_policy:log_policy -> ?log_directory:string -> ?error_policy:error_policy -> ?preferred_currency:currency -> ?filters:Syntax.liquid_filter_lookup -> ?context:Syntax.value Syntax.Ctx.t -> ?template_directory:string -> ?timezone:Liquid_syntax.Date.Timezone.t -> unit -> t
OCaml

Innovation. Community. Security.