package jingoo

  1. Overview
  2. Docs
val box_int : int -> Jg_types.tvalue
val box_float : float -> Jg_types.tvalue
val box_string : string -> Jg_types.tvalue
val box_bool : bool -> Jg_types.tvalue
val box_list : Jg_types.tvalue list -> Jg_types.tvalue
val box_set : Jg_types.tvalue list -> Jg_types.tvalue
val box_obj : (string * Jg_types.tvalue) list -> Jg_types.tvalue
val box_hash : (string, Jg_types.tvalue) Hashtbl.t -> Jg_types.tvalue
val box_array : Jg_types.tvalue array -> Jg_types.tvalue
val box_pat : (string -> Jg_types.tvalue) -> Jg_types.tvalue
val unbox_int : Jg_types.tvalue -> int
val unbox_float : Jg_types.tvalue -> float
val unbox_string : Jg_types.tvalue -> string
val unbox_bool : Jg_types.tvalue -> bool
val unbox_list : Jg_types.tvalue -> Jg_types.tvalue list
val unbox_set : Jg_types.tvalue -> Jg_types.tvalue list
val unbox_array : Jg_types.tvalue -> Jg_types.tvalue array
val unbox_obj : Jg_types.tvalue -> (string * Jg_types.tvalue) list
val unbox_hash : Jg_types.tvalue -> (string, Jg_types.tvalue) Hashtbl.t
val unbox_pat : Jg_types.tvalue -> string -> Jg_types.tvalue
val type_string_of_tvalue : Jg_types.tvalue -> string
val is_iterable : Jg_types.tvalue -> bool
val jg_floatp : Jg_types.tvalue -> Jg_types.tvalue
val jg_arrayp : Jg_types.tvalue -> Jg_types.tvalue
val jg_push_frame : Jg_types.context -> Jg_types.context
val jg_set_value : Jg_types.context -> string -> Jg_types.tvalue -> unit
val jg_set_values : Jg_types.context -> string list -> Jg_types.tvalue list -> unit
val string_of_tvalue : ?default:string -> Jg_types.tvalue -> string
val string_of_obj : string -> Jg_types.tvalue -> string
val dump_expr : Jg_types.expression -> string
val jg_bind_names : Jg_types.context -> string list -> Jg_types.tvalue -> unit
val jg_get_value : Jg_types.context -> string -> Jg_types.tvalue
val jg_obj_lookup : Jg_types.tvalue -> string -> Jg_types.tvalue
val jg_obj_lookup_by_name : Jg_types.context -> string -> string -> Jg_types.tvalue
val jg_nth : Jg_types.tvalue -> int -> Jg_types.tvalue
val jg_get_func : Jg_types.context -> string -> Jg_types.tvalue
val jg_set_macro : Jg_types.context -> string -> Jg_types.macro -> unit
val jg_get_macro : Jg_types.context -> string -> Jg_types.macro option
val jg_remove_macro : Jg_types.context -> string -> unit
val jg_set_filter : Jg_types.context -> string -> Jg_types.context
val jg_pop_filter : Jg_types.context -> Jg_types.context
val jg_escape_html : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_apply : ?name:string -> ?kwargs:Jg_types.kwargs -> Jg_types.tvalue -> Jg_types.args -> Jg_types.tvalue
val jg_apply_filters : ?autoescape:bool -> ?safe:bool -> Jg_types.context -> Jg_types.tvalue -> string list -> Jg_types.tvalue
val jg_output : ?autoescape:bool -> ?safe:bool -> Jg_types.context -> Jg_types.tvalue -> Jg_types.context
val jg_obj_lookup_path : Jg_types.tvalue -> string list -> Jg_types.tvalue
val jg_iter_mk_ctx : Jg_types.context -> string list -> Jg_types.tvalue -> int -> int -> Jg_types.context
val jg_iter_hash : Jg_types.context -> string list -> (Jg_types.context -> unit) -> (string, Jg_types.tvalue) Hashtbl.t -> unit
val jg_iter_obj : Jg_types.context -> string list -> (Jg_types.context -> unit) -> (string * Jg_types.tvalue) list -> unit
val jg_iter_array : Jg_types.context -> string list -> (Jg_types.context -> unit) -> Jg_types.tvalue array -> unit
val jg_iter_str : Jg_types.context -> string list -> (Jg_types.context -> unit) -> string -> unit
val jg_iter : Jg_types.context -> string list -> (Jg_types.context -> unit) -> Jg_types.tvalue -> unit
val jg_eval_macro : ?caller:bool -> 'a -> Jg_types.context -> string -> Jg_types.tvalue list -> (string * Jg_types.tvalue) list -> Jg_types.macro -> (Jg_types.context -> Jg_types.macro_code -> 'b) -> Jg_types.context
val jg_test_defined : Jg_types.context -> string -> Jg_types.tvalue
val jg_test_undefined : Jg_types.context -> string -> Jg_types.tvalue
val jg_test_obj_defined : Jg_types.context -> string -> string -> Jg_types.tvalue
val jg_test_obj_undefined : Jg_types.context -> string -> string -> Jg_types.tvalue
val jg_test_escaped : Jg_types.context -> Jg_types.tvalue
val jg_test_none : Jg_types.context -> string -> Jg_types.tvalue
val jg_negative : Jg_types.tvalue -> Jg_types.tvalue
val jg_is_true : Jg_types.tvalue -> bool
val jg_compare_list : filter:('a -> Jg_types.tvalue) -> 'a list -> 'a list -> int
val jg_compare_obj : Jg_types.tvalue -> Jg_types.tvalue -> int
val jg_compare : Jg_types.tvalue -> Jg_types.tvalue -> int
val jg_eq_eq_aux : Jg_types.tvalue -> Jg_types.tvalue -> bool
val jg_array_eq_eq : Jg_types.tvalue array -> Jg_types.tvalue array -> bool
val jg_list_eq_eq : Jg_types.tvalue list -> Jg_types.tvalue list -> bool
val jg_obj_eq_eq : Jg_types.tvalue -> Jg_types.tvalue -> bool
val jg_get_kvalue : ?defaults:('a * Jg_types.tvalue) list -> 'a -> ('a * Jg_types.tvalue) list -> Jg_types.tvalue
val jg_safe : 'a -> 'b -> 'a
val jg_upper : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_lower : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_int : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_float : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_truncate : Jg_types.tvalue -> Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_strlen : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_length : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_md5 : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_abs : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_batch : ?defaults:(string * Jg_types.tvalue) list -> Jg_types.tvalue -> Jg_types.tvalue -> (string * Jg_types.tvalue) list -> Jg_types.tvalue
val jg_center : ?defaults:(string * Jg_types.tvalue) list -> 'a -> 'b -> 'a
val jg_capitalize : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_default : Jg_types.tvalue -> Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_dictsort : ?defaults:(string * Jg_types.tvalue) list -> Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_reverse : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_last : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_random : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_sum : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_trim : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_list : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_slice : ?defaults:(string * Jg_types.tvalue) list -> Jg_types.tvalue -> Jg_types.tvalue -> (string * Jg_types.tvalue) list -> Jg_types.tvalue
val jg_wordcount : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_fmt_float : Jg_types.tvalue -> Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_urlize : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_title : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_striptags : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_sort : Jg_types.tvalue -> (string * Jg_types.tvalue) list -> Jg_types.tvalue
val jg_xmlattr : Jg_types.tvalue -> 'a -> Jg_types.tvalue
module JgHashtbl : sig ... end
val jg_groupby_aux : string -> int -> ((JgHashtbl.key -> unit) -> 'a -> 'b) -> 'a -> Jg_types.tvalue
val jg_groupby : Jg_types.tvalue -> Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_max_min_aux : bool -> Jg_types.tvalue -> ((Jg_types.tvalue -> unit) -> 'a -> 'b) -> 'a -> (string * Jg_types.tvalue) list -> Jg_types.tvalue
val jg_max : Jg_types.tvalue -> (string * Jg_types.tvalue) list -> Jg_types.tvalue
val jg_min : Jg_types.tvalue -> (string * Jg_types.tvalue) list -> Jg_types.tvalue
val jg_test_divisibleby : Jg_types.tvalue -> Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_test_even : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_test_odd : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_test_iterable : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_test_lower : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_test_upper : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_test_number : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_test_sameas : Jg_types.tvalue -> Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_test_sequence : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val jg_test_string : Jg_types.tvalue -> 'a -> Jg_types.tvalue
val func_arg0 : (Jg_types.kwargs -> unit -> Jg_types.tvalue) -> Jg_types.tvalue
val std_filters : (string * Jg_types.tvalue) list
val jg_map : 'a -> Jg_types.tvalue -> 'b -> (string * Jg_types.tvalue) list -> Jg_types.tvalue
val jg_load_extensions : string list -> unit
val jg_init_context : ?models:(string * Jg_types.tvalue) list -> (string -> unit) -> Jg_types.environment -> Jg_types.context
OCaml

Innovation. Community. Security.