package zanuda

  1. Overview
  2. Docs

Module Zanuda_core.UtilsSource

Various helper functions.

Sourceval make_sarif_message : loc:Location.t -> filename:string -> msg:(Format.formatter -> 'a -> unit) -> 'a -> json
Sourceval printfn : ('a, Format.formatter, unit, unit) format4 -> 'a
Sourcemodule ErrorFormat : sig ... end
Sourcetype rdjsonl_code = string * string option
Sourcemodule RDJsonl : sig ... end
Sourceval cut_build_dir : Base.String.t -> Base.String.t
include sig ... end
Sourceval report_printer : Format.formatter -> Location.t -> (Format.formatter -> 'a -> unit) -> 'a -> unit
Sourcemodule Report : sig ... end
Sourceval make_reporter : ?is_good:??? -> string -> (Format.formatter -> 'a -> unit) -> loc:Location.t -> filename:Base.String.t -> 'a -> (module LINT.REPORTER)
Sourceval string_of_group : LINT.group -> string
Sourceval string_of_level : LINT.level -> string
Sourceval string_of_impl : LINT.impl -> string
Sourceval describe_as_clippy_json : ?group:??? -> ?level:??? -> ?impl:??? -> string -> docs:string -> Yojson.Safe.t
Sourceexception Ident_is_found of Location.t
Sourceval no_ident_iterator : Ident.T.t -> Tast_iterator.iterator
Sourceval no_ident : Ident.T.t -> (Tast_iterator.iterator -> 'a) -> bool
Sourceval has_ident : Ident.T.t -> (Tast_iterator.iterator -> 'a) -> bool
Sourcetype intf_or_impl = Unit_info.intf_or_impl
Sourceval with_info : Unit_info.intf_or_impl -> source_file:Unit_info.filename -> (Compile_common.info -> 'a) -> 'a