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 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_obj : Jg_types.tvalue -> (string * Jg_types.tvalue) list
val unbox_hash : Jg_types.tvalue -> (string, Jg_types.tvalue) Hashtbl.t
val merge_defaults : ('a * 'b) list -> ('a * 'b) list -> ('a * 'b) list
val union_defaults : ('a * 'b) list -> ('a * 'b) list -> ('a * 'b) list
val string_of_tvalue : Jg_types.tvalue -> string
val type_string_of_tvalue : Jg_types.tvalue -> string
val dump_expr : Jg_types.expression -> string
val jg_floatp : Jg_types.tvalue -> Jg_types.tvalue
val jg_push_frame : Jg_types.context -> Jg_types.context
val jg_pop_frame : Jg_types.context -> Jg_types.context
val jg_set_value : Jg_types.context -> string -> Jg_types.tvalue -> Jg_types.context
val jg_set_values : Jg_types.context -> string list -> Jg_types.tvalue list -> Jg_types.context
val jg_bind_names : Jg_types.context -> string list -> Jg_types.tvalue -> Jg_types.context
val jg_get_value : Jg_types.context -> string -> 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 -> Jg_types.context
val jg_get_macro : Jg_types.context -> string -> Jg_types.macro option
val jg_remove_macro : Jg_types.context -> string -> Jg_types.context
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 : 'a -> Jg_types.tvalue -> string -> Jg_types.tvalue
val jg_obj_lookup_by_name : Jg_types.context -> string -> string -> Jg_types.tvalue
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 -> Jg_types.context) -> 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_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 -> 'a -> Jg_types.tvalue
val jg_xmlattr : Jg_types.tvalue -> 'a -> 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_load_extensions : string list -> unit
val jg_post_process : string -> string
val jg_init_context : ?models:(string * Jg_types.tvalue) list -> Jg_types.environment -> Jg_types.context