absformat.sa


Generated by gen_html_sa_files from ICSI. Contact gomes@icsi.berkeley.edu for details
 
------------------------->  GNU Sather - sourcefile  <-------------------------
-- Copyright (C) 2000 by K Hopper, University of Waikato, New Zealand        --
-- This file is part of the GNU Sather library. It is free software; you may --
-- redistribute  and/or modify it under the terms of the GNU Library General --
-- Public  License (LGPL)  as published  by the  Free  Software  Foundation; --
-- either version 2 of the license, or (at your option) any later version.   --
-- This  library  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 Doc/LGPL for more details.       --
-- The license text is also available from:  Free Software Foundation, Inc., --
-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                     --
-------------->  Please email comments to <bug-sather@gnu.org>  <--------------


abstract class $RENDER{ETP, STP, CTP < $CURSOR{ETP,STP}}

abstract class $RENDER{ETP, STP, CTP < $CURSOR{ETP,STP}} is -- This abstract class defines the operations necessary to lay out some -- values as part of some textual (or other) representation of a message and -- for retrieving a list of values from a string. -- Version 1.0 Aug 98. Copyright K Hopper, U of Waikato -- Development History -- ------------------- -- Date Who By Detail -- ---- ------ ------ -- 19 Aug 98 kh Original after WD for ISO/IEC 15345! render( msg_descriptor : CLAUSE_DESCR, vals : FLIST{$FMT} ) : STR ; -- This routine provides a facility for providing a message descriptor -- into which various 'values' may be inserted in a descriptor defined -- ordering. parse( msg_descriptor : CLAUSE_DESCR, rep : CTP ) : FLIST{$FMT} ; -- This routine provides a facility for providing a message descriptor -- which identifies the various 'values' (VAL_DESCR) which may be retrieved -- from the indicated string in a descriptor defined ordering. end ; -- $RENDER

abstract class $FMT < $STR

abstract class $FMT < $STR is -- All classes which inherit from this abstraction are required to -- provide build routines for creating an object from a string and format -- routines to generate textual representations of the object. -- Version 1.4 Nov 2000. Copyright K Hopper, U of Waikato -- Development History -- ------------------- -- Date Who By Detail -- ---- ------ ------ -- 25 Jul 96 bg/hk Original for Sather 1.1 distribution -- 12 May 97 kh Introduced cultural independence -- 19 Aug 98 kh Revised to introduce retrieval -- 29 Mar 99 kh Revised for V8 of text classes! -- 13 Nov 00 kh Added 'full' $INSTR sub-typing end ; -- $FMT