SortItem.hs revision e953bea49e7f0e1a43bccf2a66c5e2a2b50848e0
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel HausmannModule : $Header$
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel HausmannCopyright : (c) Christian Maeder, Uni Bremen 2002-2004
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel HausmannLicense : similar to LGPL, see HetCATS/LICENSE.txt or LIZENZ.txt
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel HausmannMaintainer : maeder@tzi.de
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel HausmannStability : provisional
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel HausmannPortability : portable
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel Hausmann parse SORT-ITEM and "sort/sorts SORT-ITEM ; ... ; SORT-ITEM"
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel Hausmann parse DATATYPE-DECL
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel Hausmann http://www.cofi.info/Documents/CASL/Summary/
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel Hausmann from 25 March 2001
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel Hausmann C.2.1 Basic Specifications with Subsorts
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel Hausmannmodule CASL.SortItem (sortItem, datatype) where
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel Hausmann-- ------------------------------------------------------------------------
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel Hausmann-- ------------------------------------------------------------------------
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel HausmanncommaSortDecl :: [String] -> Id -> AParser st (SORT_ITEM f)
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel HausmanncommaSortDecl ks s =
6a4fa2d53294f484fa8788a75656eff4ad1fd703Daniel Hausmann do c <- anComma