jon.recoil.org

Module Ocaml_utils.ClflagsSource

Sourcetype profile_column = [
  1. | `Time
  2. | `Alloc
  3. | `Top_heap
  4. | `Abs_top_heap
  5. | `Counters
]
Sourcetype shape_format =
  1. | Old_merlin
  2. | Debugging_shapes
Sourcetype visible_include = {
  1. path : string;
  2. cmx_guaranteed : bool;
}

OCaml compiler compatible command-line parameters

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

Sourceval cmi_file : string option ref

Relevant settings

Parameters from OCaml compiler which affect Merlin behavior.

Sourceval include_dirs : visible_include list ref
Sourceval hidden_include_dirs : string list ref
Sourceval include_paths_files : string list ref
Sourceval hidden_include_paths_files : string list ref
Sourceval fast : bool ref
Sourceval classic : bool ref
Sourceval all_ppx : string list ref
Sourceval principal : bool ref
Sourceval real_paths : bool ref
Sourceval recursive_types : bool ref
Sourceval strict_sequence : bool ref
Sourceval applicative_functors : bool ref
Sourceval nopervasives : bool ref
Sourceval strict_formats : bool ref
Sourceval open_modules : string list ref
Sourceval parameters : string list ref
Sourceval as_parameter : bool ref
Sourceval as_argument_for : string option ref
Sourceval infer_with_bounds : bool ref
Sourceval kind_verbosity : int ref
Sourceval ikinds : bool ref
Sourceval annotations : bool ref

Dummy values

Ignored by merlin but kept for compatibility with upstream code.

Sourceval binary_annotations : bool ref
Sourceval binary_annotations_cms : bool ref
Sourceval shape_format : shape_format ref
Sourceval store_occurrences : bool ref
Sourceval print_types : bool ref
Sourceval native_code : bool ref
Sourceval dont_write_files : bool ref
Sourceval error_size : int ref
Sourceval keep_locs : bool ref
Sourceval keep_docs : bool ref
Sourceval transparent_modules : bool ref
Sourceval for_package : string option ref
Sourceval debug : bool ref
Sourceval opaque : bool ref
Sourceval unboxed_types : bool ref
Sourceval profile_columns : profile_column list ref
Sourceval dwarf_pedantic : bool ref
Sourceval gdwarf_config_shape_eval_depth : int option ref
Sourceval gdwarf_config_max_type_to_shape_depth : int option ref
Sourceval gdwarf_config_max_evaluation_steps_per_variable : int option ref
Sourceval locs : bool ref
Sourceval locations : bool ref
Sourceval ikinds_debug : bool ref