Module Ocaml_parsing.Ast_helperSource
Helpers to produce Parsetree fragments
Warning This module is unstable and part of compiler-libs.
Default locations
Set the default_loc within the scope of the execution of the provided function.
Constants
Core language
Module language
Class language
merlin: refactored out of Parser
Source
type let_binding = {lb_pattern : Parsetree.pattern;lb_expression : Parsetree.expression;lb_constraint : Parsetree.value_constraint option;lb_is_pun : bool;lb_attributes : Parsetree.attributes;lb_docs : Docstrings.docs Lazy.t;lb_text : Docstrings.text Lazy.t;lb_loc : Location.t;
}Source
type let_bindings = {lbs_bindings : let_binding list;lbs_rec : Asttypes.rec_flag;lbs_extension : string Asttypes.loc option;
}