~ubuntu-branches/debian/sid/ocaml/sid

« back to all changes in this revision

Viewing changes to parsing/parsetree.mli

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Zacchiroli
  • Date: 2009-02-22 08:49:13 UTC
  • mfrom: (12.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090222084913-3i0uw2bhd0lgw0ok
* Uploading to unstable
* debian/control: bump dh-ocaml to (>= 0.4) to avoid buggy ocamlinit.mk

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
(*                                                                     *)
11
11
(***********************************************************************)
12
12
 
13
 
(* $Id: parsetree.mli,v 1.43 2006/04/05 02:28:13 garrigue Exp $ *)
 
13
(* $Id: parsetree.mli,v 1.45 2008/07/09 13:03:37 mauny Exp $ *)
14
14
 
15
15
(* Abstract syntax tree produced by parsing *)
16
16
 
75
75
  | Ppat_or of pattern * pattern
76
76
  | Ppat_constraint of pattern * core_type
77
77
  | Ppat_type of Longident.t
 
78
  | Ppat_lazy of pattern
78
79
 
79
80
type expression =
80
81
  { pexp_desc: expression_desc;
124
125
  { ptype_params: string list;
125
126
    ptype_cstrs: (core_type * core_type * Location.t) list;
126
127
    ptype_kind: type_kind;
 
128
    ptype_private: private_flag;
127
129
    ptype_manifest: core_type option;
128
130
    ptype_variance: (bool * bool) list;
129
131
    ptype_loc: Location.t }
130
132
 
131
133
and type_kind =
132
134
    Ptype_abstract
133
 
  | Ptype_variant of (string * core_type list * Location.t) list * private_flag
 
135
  | Ptype_variant of (string * core_type list * Location.t) list
134
136
  | Ptype_record of
135
 
      (string * mutable_flag * core_type * Location.t) list * private_flag
136
 
  | Ptype_private
 
137
      (string * mutable_flag * core_type * Location.t) list
137
138
 
138
139
and exception_declaration = core_type list
139
140