2016-02-18 07:11:59 -08:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* OCaml *)
|
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. *)
|
|
|
|
(* *)
|
|
|
|
(* 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. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
1995-08-09 08:06:35 -07:00
|
|
|
|
2016-05-03 04:18:15 -07:00
|
|
|
(** Long identifiers, used in parsetree. *)
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
type t =
|
|
|
|
Lident of string
|
|
|
|
| Ldot of t * string
|
1995-09-28 03:41:50 -07:00
|
|
|
| Lapply of t * t
|
|
|
|
|
|
|
|
val flatten: t -> string list
|
2016-09-11 11:57:07 -07:00
|
|
|
val unflatten: string list -> t option
|
2009-08-27 01:19:08 -07:00
|
|
|
val last: t -> string
|
2000-03-25 10:55:45 -08:00
|
|
|
val parse: string -> t
|