package jingoo

  1. Overview
  2. Docs
val filter_map : ('a -> 'b option) -> 'a list -> 'b list
val apply_name_of : Jg_types.expression -> string
val ident_names_of : Jg_types.expression list -> string list
val ident_names_of_def : Jg_types.arguments -> Jg_types.macro_arg_names
val alias_names_of : (string * string option) list -> (string * string) list
val nargs_of : Jg_types.environment -> Jg_types.context -> (string option * Jg_types.expression) list -> Jg_types.tvalue list
val kwargs_of_app : Jg_types.environment -> Jg_types.context -> (string option * Jg_types.expression) list -> Jg_types.kwargs
val is_safe_expr : Jg_types.expression -> bool
val replace_blocks : Jg_types.ast -> Jg_types.ast
val get_file_path : Jg_types.environment -> string -> string
val init_context : ?env:Jg_types.environment -> ?models:(string * Jg_types.tvalue) list -> output:(Jg_types.tvalue -> unit) -> unit -> Jg_types.context
val ast_from_lexbuf : string option -> Stdlib.Lexing.lexbuf -> Jg_types.ast
val error : string -> Stdlib.Lexing.lexbuf -> Jg_types.ast
val ast_from_chan : string option -> Stdlib.in_channel -> Jg_types.ast
val ast_from_file : env:Jg_types.environment -> string -> Jg_types.ast
val ast_from_string : string -> Jg_types.ast
val extract_macros : Jg_types.environment -> Jg_types.ast -> Jg_types.ast * (Jg_types.context -> string * Jg_types.macro) list
module Loaded : sig ... end
val from_file : ?env:Jg_types.environment -> ?models:(string * Jg_types.tvalue) list -> output:(Jg_types.tvalue -> unit) -> ?ctx:Jg_types.context -> string -> unit
val from_string : ?env:Jg_types.environment -> ?models:(string * Jg_types.tvalue) list -> ?file_path:'a -> output:(Jg_types.tvalue -> unit) -> ?ctx:Jg_types.context -> string -> unit
val from_chan : ?env:Jg_types.environment -> ?models:(string * Jg_types.tvalue) list -> ?file_path:string -> output:(Jg_types.tvalue -> unit) -> ?ctx:Jg_types.context -> Stdlib.in_channel -> unit
OCaml

Innovation. Community. Security.