jon.recoil.org

Module Ocaml_utils.Clflags

type profile_column = [
  1. | `Time
  2. | `Alloc
  3. | `Top_heap
  4. | `Abs_top_heap
  5. | `Counters
]
type shape_format =
  1. | Old_merlin
  2. | Debugging_shapes

OCaml compiler compatible command-line parameters

For compatibility with typechecker. Argument parsing / build environment construction happens elsewhere.

val cmi_file : string option Stdlib.ref

Relevant settings

Parameters from OCaml compiler which affect Merlin behavior.

val include_dirs : string list Stdlib.ref
val hidden_include_dirs : string list Stdlib.ref
val include_paths_files : string list Stdlib.ref
val hidden_include_paths_files : string list Stdlib.ref
val fast : bool Stdlib.ref
val classic : bool Stdlib.ref
val all_ppx : string list Stdlib.ref
val principal : bool Stdlib.ref
val real_paths : bool Stdlib.ref
val recursive_types : bool Stdlib.ref
val strict_sequence : bool Stdlib.ref
val applicative_functors : bool Stdlib.ref
val nopervasives : bool Stdlib.ref
val strict_formats : bool Stdlib.ref
val open_modules : string list Stdlib.ref
val parameters : string list Stdlib.ref
val as_parameter : bool Stdlib.ref
val as_argument_for : string option Stdlib.ref
val infer_with_bounds : bool Stdlib.ref
val annotations : bool Stdlib.ref

Dummy values

Ignored by merlin but kept for compatibility with upstream code.

val binary_annotations : bool Stdlib.ref
val binary_annotations_cms : bool Stdlib.ref
val store_occurrences : bool Stdlib.ref
val print_types : bool Stdlib.ref
val native_code : bool Stdlib.ref
val dont_write_files : bool Stdlib.ref
val error_size : int Stdlib.ref
val keep_locs : bool Stdlib.ref
val keep_docs : bool Stdlib.ref
val transparent_modules : bool Stdlib.ref
val for_package : string option Stdlib.ref
val debug : bool Stdlib.ref
val opaque : bool Stdlib.ref
val unboxed_types : bool Stdlib.ref
val dwarf_pedantic : bool Stdlib.ref
val gdwarf_config_shape_eval_depth : int option Stdlib.ref
val gdwarf_config_max_type_to_shape_depth : int option Stdlib.ref
val gdwarf_config_max_evaluation_steps_per_variable : int option Stdlib.ref
val locs : bool Stdlib.ref
val locations : bool Stdlib.ref