(* * <COPYRIGHT> * Copyright 2002 Joachim Schrod Network and Publication Consultance GmbH, Gerd Stolpmann * * <GPL> * This file is part of WDialog. * * WDialog is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * WDialog is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with WDialog; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * </> *) (* $Id: wd_serialize_types.ml,v 3.1 2005-06-11 14:24:14 stolpmann Exp $ * ---------------------------------------------------------------------- * *) type ('universe,'dialog,'environment) poly_ds_buf = { ds_str : string; (* String to deserialize *) mutable ds_pos : int; (* Current position *) ds_end : int; (* End position *) ds_universe : 'universe; ds_environment : 'environment; ds_dialogs : (int, 'dialog) Hashtbl.t; (* maps dialog IDs to dialogs *) } (* ====================================================================== * History: * * $Log: wd_serialize_types.ml,v $ * Revision 3.1 2005-06-11 14:24:14 stolpmann * Extension of bracket expressions: many new functions. * Functions in bracket expressions may now lazily evaluate their arguments. * ui:if and ui:ifvar may refer to any functions defined for bracket * expressions. * New: ui:ifexpr * Parsing of bracket expressions is now done with ulex. Private interfaces * of PXP are no longer used for this purpose. * Serialization has been rewritten, and it is now safe. * Fix: In ui:context there may now be macro references at any location. * Also documented all these changes. * *)