package reason
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Reason: Syntax & Toolchain for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
reason-3.8.2.tbz
sha256=7adcc45db20b8def82adf2712211fb8ed844328489752e8edf74281bc1eb2ef2
sha512=45822ecf4b19b892e1d150fd7f7a80af18df576b204647d4bbb9a18ac591a690f9b5338789ecccacb2d6b6354dbc32ff4a3574cc8b82b777e21cb8729f502f95
doc/reason/Reason_layout/index.html
Module Reason_layout
module Easy_format = Vendored_easy_formatmodule Comment = Reason_commentmodule Range = Reason_location.Rangemodule WhitespaceRegion : sig ... end* Module concerning info to correctly interleave whitespace above a layout node.
type t = | SourceMap of Location.t * t| Sequence of config * t list| Label of Easy_format.t -> Easy_format.t -> Easy_format.t * t * t| Easy of Easy_format.t| Whitespace of WhitespaceRegion.t * t
* These represent "intent to format" the AST, with some parts being annotated * with original source location. The benefit of tracking this in an * intermediate structure, is that we can then interleave comments throughout * the tree before generating the final representation. That prevents the * formatting code from having to thread comments everywhere. * * The final representation is rendered using Easy_format.
and config = {break : break_criterion;wrap : string * string;inline : bool * bool;sep : separator;indent : int;sepLeft : bool;preSpace : bool;postSpace : bool;pad : bool * bool;listConfigIfCommentsInterleaved : (config -> config) option;listConfigIfEolCommentsInterleaved : (config -> config) option;
}val string_of_easy : Easy_format.t -> stringval dump_easy : Format.formatter -> Easy_format.t -> unitval dump : Format.formatter -> t -> unitval default_list_settings : Easy_format.list_paramval easy_settings_from_config :
config ->
string * string * string * Easy_format.list_paramval to_easy_format : t -> Easy_format.tval get_location : t -> Location.t optiongetLocFromLayout recursively takes the unioned location of its children, * and returns the max one
val is_before : location:Reason_omp.Ast_411.Location.t -> t -> boolval contains_location : t -> location:Reason_omp.Ast_411.Location.t -> bool sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>