structure.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 $VAL_DESCR

abstract class $VAL_DESCR is -- This abstract class is the root of all formatting descriptors. -- Version 1.1 Feb 99. Copyright K Hopper, U of Waikato -- Development History -- ------------------- -- Date Who By Detail -- ---- ------ ------ -- 6 Sep 98 kh Original for revised formatting mechanism. -- 3 Feb 99 kh Removed all features. end ; -- $VAL_DESCR

abstract class $FORM_DESCR{RPT}

abstract class $FORM_DESCR{RPT} is -- This abstract class defines one or more mechanisms for formatting -- an object together with a list of constant values used as concrete -- syntactic elements as may be appropriate for the concept being considered. -- Version 1.0 Sep 98. Copyright K Hopper, U of Waikato -- Development History -- ------------------- -- Date Who By Detail -- ---- ------ ------ -- 16 Sep 98 kh Original for revised formatting mechanism. default : $VAL_DESCR ; fixed_comps : FLIST{RPT} ; end ; -- $FORM_DESCR

abstract class $VALUE{ETP, STP, CTP < $CURSOR{ETP,STP}} < $STR

abstract class $VALUE{ETP, STP, CTP < $CURSOR{ETP,STP}} < $STR is -- This abstract class models the concept of a 'value' as represented -- internally within the program, together with a description of how the -- value is to be converted into an external representation and vice versa! -- Version 1.0 Sep 98. Copyright K Hopper, U of Waikato -- Development History -- ------------------- -- Date Who By Detail -- ---- ------ ------ -- 17 Sep 98 kh Original for new representation mechanism val : $FMT ; -- This is an actual value to be recognised or rendered as desired. form : $FORM_DESCR ; -- This is the description of the way in which external representation -- is mapped to/from the internal value. retrieve( cursor : CTP, lib : LIBCHARS ) : $FMT ; -- This routine returns the internal value which is represented in -- the given cursor string, using the given repertoire and encoding. retrieve( cursor : CTP ) : $FMT ; -- This routine returns the internal value which is represented in -- the given cursor string, using the default repertoire and encoding. end ; -- $VALUE

abstract class $IDEA{ETP, STP, CTP < $CURSOR{ETP,STP}} < $STR

abstract class $IDEA{ETP, STP, CTP < $CURSOR{ETP,STP}} < $STR is -- This abstract class models the concept of an utterance consisting of -- one or more values and (possible) concrete syntax and punctuation items. -- 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! retrieve( cursor : CTP, lib : LIBCHARS ) : FLIST{$VALUE{ETP,STP,CTP}} ; -- This routine will retrieve one or more values embedded in the given -- string using the given repertoire and encoding. retrieve( cursor : CTP ) : FLIST{$VALUE{ETP,STP,CTP}} ; -- This routine will retrieve one or more values embedded in the given -- string using the default repertoire and encoding. end ; -- $IDEA