File tree Expand file tree Collapse file tree 12 files changed +139
-17
lines changed
Expand file tree Collapse file tree 12 files changed +139
-17
lines changed Original file line number Diff line number Diff line change 1+ (* *************************************************************************)
2+ (* *)
3+ (* OCaml *)
4+ (* *)
5+ (* Fabrice Le Fessant, INRIA Saclay *)
6+ (* *)
7+ (* Copyright 2012 Institut National de Recherche en Informatique et *)
8+ (* en Automatique. *)
9+ (* *)
10+ (* All rights reserved. This file is distributed under the terms of *)
11+ (* the GNU Lesser General Public License version 2.1, with the *)
12+ (* special exception on linking described in the file LICENSE. *)
13+ (* *)
14+ (* *************************************************************************)
15+
116type pers_flags = Deprecated of string
217
318type error =
Original file line number Diff line number Diff line change 1- (* Format for cmt and cmti files in ReScript compiler *)
1+ (* *************************************************************************)
2+ (* *)
3+ (* OCaml *)
4+ (* *)
5+ (* Fabrice Le Fessant, INRIA Saclay *)
6+ (* *)
7+ (* Copyright 2012 Institut National de Recherche en Informatique et *)
8+ (* en Automatique. *)
9+ (* *)
10+ (* All rights reserved. This file is distributed under the terms of *)
11+ (* the GNU Lesser General Public License version 2.1, with the *)
12+ (* special exception on linking described in the file LICENSE. *)
13+ (* *)
14+ (* *************************************************************************)
215
316open Stdlib
417
Original file line number Diff line number Diff line change 1- (* Format for cmt and cmti files in ReScript compiler *)
1+ (* *************************************************************************)
2+ (* *)
3+ (* OCaml *)
4+ (* *)
5+ (* Fabrice Le Fessant, INRIA Saclay *)
6+ (* *)
7+ (* Copyright 2012 Institut National de Recherche en Informatique et *)
8+ (* en Automatique. *)
9+ (* *)
10+ (* All rights reserved. This file is distributed under the terms of *)
11+ (* the GNU Lesser General Public License version 2.1, with the *)
12+ (* special exception on linking described in the file LICENSE. *)
13+ (* *)
14+ (* *************************************************************************)
215
316(* Binary annotations *)
417type binary_annots =
Original file line number Diff line number Diff line change 1- (* Simplified environment for ReScript compiler *)
1+ (* *************************************************************************)
2+ (* *)
3+ (* OCaml *)
4+ (* *)
5+ (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
6+ (* *)
7+ (* Copyright 1996 Institut National de Recherche en Informatique et *)
8+ (* en Automatique. *)
9+ (* *)
10+ (* All rights reserved. This file is distributed under the terms of *)
11+ (* the GNU Lesser General Public License version 2.1, with the *)
12+ (* special exception on linking described in the file LICENSE. *)
13+ (* *)
14+ (* *************************************************************************)
15+
16+ (* Environment handling *)
217
318type t = unit (* Simplified environment representation *)
419
Original file line number Diff line number Diff line change 1- (* Simplified environment for ReScript compiler *)
1+ (* *************************************************************************)
2+ (* *)
3+ (* OCaml *)
4+ (* *)
5+ (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
6+ (* *)
7+ (* Copyright 1996 Institut National de Recherche en Informatique et *)
8+ (* en Automatique. *)
9+ (* *)
10+ (* All rights reserved. This file is distributed under the terms of *)
11+ (* the GNU Lesser General Public License version 2.1, with the *)
12+ (* special exception on linking described in the file LICENSE. *)
13+ (* *)
14+ (* *************************************************************************)
15+
16+ (* Environment handling *)
217
318type t = unit (* Simplified environment representation *)
419
Original file line number Diff line number Diff line change 1+ (* *************************************************************************)
2+ (* *)
3+ (* OCaml *)
4+ (* *)
5+ (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
6+ (* *)
7+ (* Copyright 1996 Institut National de Recherche en Informatique et *)
8+ (* en Automatique. *)
9+ (* *)
10+ (* All rights reserved. This file is distributed under the terms of *)
11+ (* the GNU Lesser General Public License version 2.1, with the *)
12+ (* special exception on linking described in the file LICENSE. *)
13+ (* *)
14+ (* *************************************************************************)
15+
16+ (* * Long identifiers, used in parsetree. *)
17+
18+ type t = Lident of string | Ldot of t * string | Lapply of t * t
19+
20+ val cmp : t -> t -> int
21+ val flatten : t -> string list
22+ val unflatten : string list -> t option
23+ val last : t -> string
24+ val parse : string -> t
Original file line number Diff line number Diff line change 1313(* *)
1414(* *************************************************************************)
1515
16- (* Path representation for the ReScript compiler *)
17-
1816type t = Pident of Ident .t | Pdot of t * string * int | Papply of t * t
1917
2018let rec same p1 p2 =
Original file line number Diff line number Diff line change 1515
1616(* Access paths *)
1717
18- (* Path representation for the ReScript compiler *)
19-
2018type t = Pident of Ident .t | Pdot of t * string * int | Papply of t * t
2119
2220val same : t -> t -> bool
Original file line number Diff line number Diff line change 1515
1616(* Abstract syntax tree after typing *)
1717
18- (* Type expressions for the core language *)
19-
2018open Types
2119
2220type pattern = {
Original file line number Diff line number Diff line change 1515
1616(* * Abstract syntax tree after typing *)
1717
18- (* Type expressions for the core language *)
18+ (* * By comparison with {!Parsetree}:
19+ - Every {!Longindent.t} is accompanied by a resolved {!Path.t}. *)
1920
2021open Types
2122
You can’t perform that action at this time.
0 commit comments