package ocamlformat-lib
OCaml Code Formatter
Install
Dune Dependency
Authors
Maintainers
Sources
ocamlformat-0.27.0.tbz
sha256=ddbf484c076d08f99400ee84b790ec231f5c8fcbd5d3324a6400d5388e846d15
sha512=4d2a8965a7b7ad45f8f4e76c01cf38bfa68462b07dfa7bdb2db23bd3e3017b214e6780f036679fa8595dde4167a01d957e3af8837274320449014e306773f917
doc/src/ocamlformat-lib.parser_shims/ocamlformat_parser_shims.ml.html
Source file ocamlformat_parser_shims.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
(* Stdlib shims are separated because they are also used by the compiler libs shims. *) include Ocamlformat_stdlib_shims module Misc = Misc_ module Clflags : sig val include_dirs : string list ref val debug : bool ref val unsafe : bool ref val open_modules : string list ref val absname : bool ref val use_threads : bool ref val principal : bool ref val recursive_types : bool ref val applicative_functors : bool ref val for_package : string option ref val transparent_modules : bool ref val locations : bool ref val color : Misc.Color.setting option ref val error_style : Misc.Error_style.setting option ref val unboxed_types : bool ref val no_std_include : bool ref end = struct let include_dirs = ref ([] : string list)(* -I *) let = ref ([] : string list) let debug = ref false (* -g *) let unsafe = ref false (* -unsafe *) let absname = ref false (* -absname *) let use_threads = ref false (* -thread *) let open_modules = ref [] (* -open *) let principal = ref false (* -principal *) let recursive_types = ref false (* -rectypes *) let applicative_functors = ref true (* -no-app-funct *) let for_package = ref (None: string option) (* -for-pack *) let transparent_modules = ref false (* -trans-mod *) let locations = ref true (* -d(no-)locations *) let color = ref None (* -color *) let error_style = ref None (* -error-style *) let unboxed_types = ref false let no_std_include = ref false end module Load_path = struct type dir type auto_include_callback = (dir -> string -> string option) -> string -> string type paths = {visible: string list; hidden: string list} let get_paths () = {visible= []; hidden= []} let init ~auto_include:_ ~visible:_ ~hidden:_ = () let auto_include_otherlibs _ _ s = s end module Builtin_attributes = struct type current_phase = Parser | Invariant_check let register_attr _ _ = () let mark_payload_attrs_used _ = () end module Format_doc = Format_doc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>