package reason
Reason: Syntax & Toolchain for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
reason-3.16.0.tbz
sha256=47b0e43a7d348e2a850658ab4bec5a4fbbb9fd4ff3ec8a1c1816511558c5364e
sha512=0d8dbe33ac17b765ea018522910a333831fec278ae4da25ba039ce4d2d8152f9b2fbba5b40c453241bf4323e55e0dc070170b04caa35742c6e33a7f726feafb3
doc/src/reason.ocaml-migrate-parsetree/ast_408.ml.html
Source file ast_408.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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
(**************************************************************************) (* *) (* OCaml Migrate Parsetree *) (* *) (* Frédéric Bour, Facebook *) (* Jérémie Dimino and Leo White, Jane Street Europe *) (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *) (* Alain Frisch, LexiFi *) (* Daniel de Rauglaudre, projet Cristal, INRIA Rocquencourt *) (* *) (* Copyright 2018 Institut National de Recherche en Informatique et *) (* en Automatique (INRIA). *) (* *) (* All rights reserved. This file is distributed under the terms of *) (* the GNU Lesser General Public License version 2.1, with the *) (* special exception on linking described in the file LICENSE. *) (* *) (**************************************************************************) (* Ast ported on Thu Mar 21 09:50:42 GMT 2019 OCaml was: commit 55c9ba466362f303eb4d5ed511f6fda142879137 (HEAD -> 4.08, origin/4.08) Author: Nicolás Ojeda Bär <n.oje.bar@gmail.com> Date: Tue Mar 19 08:11:02 2019 +0100 Merge pull request #8521 from nojb/fix_unix_tests_408 Actually run all lib-unix tests [4.08] *) module Location = Location module Longident = Longident module Asttypes = struct type constant (*IF_CURRENT = Asttypes.constant *) = Const_int of int | Const_char of char | Const_string of string * string option | Const_float of string | Const_int32 of int32 | Const_int64 of int64 | Const_nativeint of nativeint type rec_flag (*IF_CURRENT = Asttypes.rec_flag *) = Nonrecursive | Recursive type direction_flag (*IF_CURRENT = Asttypes.direction_flag *) = Upto | Downto (* Order matters, used in polymorphic comparison *) type private_flag (*IF_CURRENT = Asttypes.private_flag *) = Private | Public type mutable_flag (*IF_CURRENT = Asttypes.mutable_flag *) = Immutable | Mutable type virtual_flag (*IF_CURRENT = Asttypes.virtual_flag *) = Virtual | Concrete type override_flag (*IF_CURRENT = Asttypes.override_flag *) = Override | Fresh type closed_flag (*IF_CURRENT = Asttypes.closed_flag *) = Closed | Open type label = string type arg_label (*IF_CURRENT = Asttypes.arg_label *) = Nolabel | Labelled of string (* label:T -> ... *) | Optional of string (* ?label:T -> ... *) type 'a loc = 'a Location.loc = { txt : 'a; loc : Location.t; } type variance (*IF_CURRENT = Asttypes.variance *) = | Covariant | Contravariant | Invariant end module Outcometree = struct (* Module [Outcometree]: results displayed by the toplevel *) (* These types represent messages that the toplevel displays as normal results or errors. The real displaying is customisable using the hooks: [Toploop.print_out_value] [Toploop.print_out_type] [Toploop.print_out_sig_item] [Toploop.print_out_phrase] *) (** An [out_name] is a string representation of an identifier which can be rewritten on the fly to avoid name collisions *) type out_name (*IF_CURRENT = Outcometree.out_name *) = { mutable printed_name: string } type out_ident (*IF_CURRENT = Outcometree.out_ident *) = | Oide_apply of out_ident * out_ident | Oide_dot of out_ident * string | Oide_ident of out_name type out_string (*IF_CURRENT = Outcometree.out_string *) = | Ostr_string | Ostr_bytes type out_attribute (*IF_CURRENT = Outcometree.out_attribute *) = { oattr_name: string } type out_value (*IF_CURRENT = Outcometree.out_value *) = | Oval_array of out_value list | Oval_char of char | Oval_constr of out_ident * out_value list | Oval_ellipsis | Oval_float of float | Oval_int of int | Oval_int32 of int32 | Oval_int64 of int64 | Oval_nativeint of nativeint | Oval_list of out_value list | Oval_printer of (Format.formatter -> unit) | Oval_record of (out_ident * out_value) list | Oval_string of string * int * out_string (* string, size-to-print, kind *) | Oval_stuff of string | Oval_tuple of out_value list | Oval_variant of string * out_value option type out_type (*IF_CURRENT = Outcometree.out_type *) = | Otyp_abstract | Otyp_open | Otyp_alias of out_type * string | Otyp_arrow of string * out_type * out_type | Otyp_class of bool * out_ident * out_type list | Otyp_constr of out_ident * out_type list | Otyp_manifest of out_type * out_type | Otyp_object of (string * out_type) list * bool option | Otyp_record of (string * bool * out_type) list | Otyp_stuff of string | Otyp_sum of (string * out_type list * out_type option) list | Otyp_tuple of out_type list | Otyp_var of bool * string | Otyp_variant of bool * out_variant * bool * (string list) option | Otyp_poly of string list * out_type | Otyp_module of out_ident * string list * out_type list | Otyp_attribute of out_type * out_attribute and out_variant (*IF_CURRENT = Outcometree.out_variant *) = | Ovar_fields of (string * bool * out_type list) list | Ovar_typ of out_type type out_class_type (*IF_CURRENT = Outcometree.out_class_type *) = | Octy_constr of out_ident * out_type list | Octy_arrow of string * out_type * out_class_type | Octy_signature of out_type option * out_class_sig_item list and out_class_sig_item (*IF_CURRENT = Outcometree.out_class_sig_item *) = | Ocsg_constraint of out_type * out_type | Ocsg_method of string * bool * bool * out_type | Ocsg_value of string * bool * bool * out_type type out_module_type (*IF_CURRENT = Outcometree.out_module_type *) = | Omty_abstract | Omty_functor of string * out_module_type option * out_module_type | Omty_ident of out_ident | Omty_signature of out_sig_item list | Omty_alias of out_ident and out_sig_item (*IF_CURRENT = Outcometree.out_sig_item *) = | Osig_class of bool * string * (string * (bool * bool)) list * out_class_type * out_rec_status | Osig_class_type of bool * string * (string * (bool * bool)) list * out_class_type * out_rec_status | Osig_typext of out_extension_constructor * out_ext_status | Osig_modtype of string * out_module_type | Osig_module of string * out_module_type * out_rec_status | Osig_type of out_type_decl * out_rec_status | Osig_value of out_val_decl | Osig_ellipsis and out_type_decl (*IF_CURRENT = Outcometree.out_type_decl *) = { otype_name: string; otype_params: (string * (bool * bool)) list; otype_type: out_type; otype_private: Asttypes.private_flag; otype_immediate: bool; otype_unboxed: bool; otype_cstrs: (out_type * out_type) list } and out_extension_constructor (*IF_CURRENT = Outcometree.out_extension_constructor *) = { oext_name: string; oext_type_name: string; oext_type_params: string list; oext_args: out_type list; oext_ret_type: out_type option; oext_private: Asttypes.private_flag } and out_type_extension (*IF_CURRENT = Outcometree.out_type_extension *) = { otyext_name: string; otyext_params: string list; otyext_constructors: (string * out_type list * out_type option) list; otyext_private: Asttypes.private_flag } and out_val_decl (*IF_CURRENT = Outcometree.out_val_decl *) = { oval_name: string; oval_type: out_type; oval_prims: string list; oval_attributes: out_attribute list } and out_rec_status (*IF_CURRENT = Outcometree.out_rec_status *) = | Orec_not | Orec_first | Orec_next and out_ext_status (*IF_CURRENT = Outcometree.out_ext_status *) = | Oext_first | Oext_next | Oext_exception type out_phrase (*IF_CURRENT = Outcometree.out_phrase *) = | Ophr_eval of out_value * out_type | Ophr_signature of (out_sig_item * out_value option) list | Ophr_exception of (exn * out_value) end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>