1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Objective Caml *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
(* Auxiliary a.s.t. types used by parsetree and typedtree. *)
|
|
|
|
|
|
|
|
type constant =
|
|
|
|
Const_int of int
|
|
|
|
| Const_char of char
|
|
|
|
| Const_string of string
|
|
|
|
| Const_float of string
|
|
|
|
|
1999-12-06 09:05:19 -08:00
|
|
|
type rec_flag = Nonrecursive | Recursive | Default
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
type direction_flag = Upto | Downto
|
|
|
|
|
1996-04-22 04:15:41 -07:00
|
|
|
type private_flag = Private | Public
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
type mutable_flag = Immutable | Mutable
|
|
|
|
|
1996-04-22 04:15:41 -07:00
|
|
|
type virtual_flag = Virtual | Concrete
|
1999-11-30 08:07:38 -08:00
|
|
|
|
|
|
|
type label = string
|