package reason
Reason: Syntax & Toolchain for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
reason-3.8.0.tbz
sha256=9478724b01767320064ba950ddea24c5df0eefdcdd8ff1324ba9ccd646258979
sha512=c5dcec810a1981b78b19271a8a255f4087628514725d6818419b141be6346a62b28fe8d0f10855efe420ede2839bfe562aa5abf21f29d66250e5c0d02323d6d8
doc/src/reason.ocaml-migrate-parsetree/migrate_parsetree_parse.ml.html
Source file migrate_parsetree_parse.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
(**************************************************************************) (* *) (* OCaml Migrate Parsetree *) (* *) (* Frédéric Bour *) (* *) (* Copyright 2017 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. *) (* *) (**************************************************************************) (* Parser entry points that migrate to a specified version of OCaml. The parser used is the one from current compiler-libs. The resulting AST is then converted to the desired version. These parsing functions can raise Migration_errors. *) open Migrate_parsetree_versions let implementation version = let { copy_structure; _ } = migrate ocaml_current version in fun lexbuf -> copy_structure (Parse.implementation lexbuf) let interface version = let { copy_signature; _ } = migrate ocaml_current version in fun lexbuf -> copy_signature (Parse.interface lexbuf) let toplevel_phrase version = let { copy_toplevel_phrase; _ } = migrate ocaml_current version in fun lexbuf -> copy_toplevel_phrase (Parse.toplevel_phrase lexbuf) let use_file version = let { copy_toplevel_phrase; _ } = migrate ocaml_current version in fun lexbuf -> List.map copy_toplevel_phrase (Parse.use_file lexbuf) let core_type version = let { copy_core_type; _ } = migrate ocaml_current version in fun lexbuf -> copy_core_type (Parse.core_type lexbuf) let expression version = let { copy_expression; _ } = migrate ocaml_current version in fun lexbuf -> copy_expression (Parse.expression lexbuf) let pattern version = let { copy_pattern; _ } = migrate ocaml_current version in fun lexbuf -> copy_pattern (Parse.pattern lexbuf)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>