Copyright | (c) Christian Maeder DFKI GmbH 2011 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Synopsis
- data CspSymbItems = CspSymbItems CspSymbKind [CspSymb]
- data CspSymbMapItems = CspSymbMapItems CspSymbKind [CspSymbMap]
- data CspSymbKind
- data CspSymb = CspSymb Id (Maybe CspType)
- data CspType
- data CspSymbMap = CspSymbMap CspSymb (Maybe CspSymb)
- pluralCspSympKind :: CspSymbKind -> [a] -> Doc
- commAlpha :: AParser st CommAlpha
- cspSymb :: AParser st CspSymb
- cspSymbMap :: AParser st CspSymbMap
- cspSymbKind :: AParser st CspSymbKind
- cspSymbs :: AParser st [CspSymb]
- cspSymbItems :: AParser st CspSymbItems
- cspSymbMaps :: AParser st [CspSymbMap]
- cspSymbMapItems :: AParser st CspSymbMapItems
Documentation
data CspSymbItems Source #
Instances
data CspSymbMapItems Source #
Instances
data CspSymbKind Source #
Instances
Eq CspSymbKind Source # | |
Defined in CspCASL.SymbItems (==) :: CspSymbKind -> CspSymbKind -> Bool (/=) :: CspSymbKind -> CspSymbKind -> Bool | |
Data CspSymbKind Source # | |
Defined in CspCASL.SymbItems gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CspSymbKind -> c CspSymbKind gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CspSymbKind toConstr :: CspSymbKind -> Constr dataTypeOf :: CspSymbKind -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CspSymbKind) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CspSymbKind) gmapT :: (forall b. Data b => b -> b) -> CspSymbKind -> CspSymbKind gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CspSymbKind -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CspSymbKind -> r gmapQ :: (forall d. Data d => d -> u) -> CspSymbKind -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CspSymbKind -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CspSymbKind -> m CspSymbKind gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CspSymbKind -> m CspSymbKind gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CspSymbKind -> m CspSymbKind | |
Ord CspSymbKind Source # | |
Defined in CspCASL.SymbItems compare :: CspSymbKind -> CspSymbKind -> Ordering (<) :: CspSymbKind -> CspSymbKind -> Bool (<=) :: CspSymbKind -> CspSymbKind -> Bool (>) :: CspSymbKind -> CspSymbKind -> Bool (>=) :: CspSymbKind -> CspSymbKind -> Bool max :: CspSymbKind -> CspSymbKind -> CspSymbKind min :: CspSymbKind -> CspSymbKind -> CspSymbKind | |
Show CspSymbKind Source # | |
Defined in CspCASL.SymbItems showsPrec :: Int -> CspSymbKind -> ShowS show :: CspSymbKind -> String showList :: [CspSymbKind] -> ShowS | |
Generic CspSymbKind | |
Defined in CspCASL.ATC_CspCASL type Rep CspSymbKind :: Type -> Type from :: CspSymbKind -> Rep CspSymbKind x to :: Rep CspSymbKind x -> CspSymbKind | |
FromJSON CspSymbKind | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser CspSymbKind parseJSONList :: Value -> Parser [CspSymbKind] | |
ToJSON CspSymbKind | |
Defined in CspCASL.ATC_CspCASL toJSON :: CspSymbKind -> Value toEncoding :: CspSymbKind -> Encoding toJSONList :: [CspSymbKind] -> Value toEncodingList :: [CspSymbKind] -> Encoding | |
ShATermConvertible CspSymbKind | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> CspSymbKind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CspSymbKind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CspSymbKind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CspSymbKind]) | |
Pretty CspSymbKind Source # | |
Defined in CspCASL.SymbItems pretty :: CspSymbKind -> Doc Source # pretties :: [CspSymbKind] -> Doc Source # | |
type Rep CspSymbKind | |
Defined in CspCASL.ATC_CspCASL type Rep CspSymbKind = D1 ('MetaData "CspSymbKind" "CspCASL.SymbItems" "main" 'False) (C1 ('MetaCons "CaslKind" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SYMB_KIND)) :+: (C1 ('MetaCons "ProcessKind" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ChannelKind" 'PrefixI 'False) (U1 :: Type -> Type))) |
Instances
Eq CspSymb Source # | |
Data CspSymb Source # | |
Defined in CspCASL.SymbItems gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CspSymb -> c CspSymb gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CspSymb dataTypeOf :: CspSymb -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CspSymb) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CspSymb) gmapT :: (forall b. Data b => b -> b) -> CspSymb -> CspSymb gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CspSymb -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CspSymb -> r gmapQ :: (forall d. Data d => d -> u) -> CspSymb -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CspSymb -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CspSymb -> m CspSymb gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CspSymb -> m CspSymb gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CspSymb -> m CspSymb | |
Ord CspSymb Source # | |
Show CspSymb Source # | |
Generic CspSymb | |
FromJSON CspSymb | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser CspSymb parseJSONList :: Value -> Parser [CspSymb] | |
ToJSON CspSymb | |
Defined in CspCASL.ATC_CspCASL toEncoding :: CspSymb -> Encoding toJSONList :: [CspSymb] -> Value toEncodingList :: [CspSymb] -> Encoding | |
ShATermConvertible CspSymb | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> CspSymb -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CspSymb] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CspSymb) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CspSymb]) | |
Pretty CspSymb Source # | |
type Rep CspSymb | |
Defined in CspCASL.ATC_CspCASL type Rep CspSymb = D1 ('MetaData "CspSymb" "CspCASL.SymbItems" "main" 'False) (C1 ('MetaCons "CspSymb" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CspType)))) |
Instances
Eq CspType Source # | |
Data CspType Source # | |
Defined in CspCASL.SymbItems gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CspType -> c CspType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CspType dataTypeOf :: CspType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CspType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CspType) gmapT :: (forall b. Data b => b -> b) -> CspType -> CspType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CspType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CspType -> r gmapQ :: (forall d. Data d => d -> u) -> CspType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CspType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CspType -> m CspType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CspType -> m CspType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CspType -> m CspType | |
Ord CspType Source # | |
Show CspType Source # | |
Generic CspType | |
FromJSON CspType | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser CspType parseJSONList :: Value -> Parser [CspType] | |
ToJSON CspType | |
Defined in CspCASL.ATC_CspCASL toEncoding :: CspType -> Encoding toJSONList :: [CspType] -> Value toEncodingList :: [CspType] -> Encoding | |
ShATermConvertible CspType | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> CspType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CspType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CspType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CspType]) | |
Pretty CspType Source # | |
type Rep CspType | |
Defined in CspCASL.ATC_CspCASL type Rep CspType = D1 ('MetaData "CspType" "CspCASL.SymbItems" "main" 'False) (C1 ('MetaCons "CaslType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TYPE)) :+: C1 ('MetaCons "ProcType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProcProfile))) |
data CspSymbMap Source #
CspSymbMap CspSymb (Maybe CspSymb) |
Instances
Eq CspSymbMap Source # | |
Defined in CspCASL.SymbItems (==) :: CspSymbMap -> CspSymbMap -> Bool (/=) :: CspSymbMap -> CspSymbMap -> Bool | |
Data CspSymbMap Source # | |
Defined in CspCASL.SymbItems gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CspSymbMap -> c CspSymbMap gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CspSymbMap toConstr :: CspSymbMap -> Constr dataTypeOf :: CspSymbMap -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CspSymbMap) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CspSymbMap) gmapT :: (forall b. Data b => b -> b) -> CspSymbMap -> CspSymbMap gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CspSymbMap -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CspSymbMap -> r gmapQ :: (forall d. Data d => d -> u) -> CspSymbMap -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CspSymbMap -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CspSymbMap -> m CspSymbMap gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CspSymbMap -> m CspSymbMap gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CspSymbMap -> m CspSymbMap | |
Ord CspSymbMap Source # | |
Defined in CspCASL.SymbItems compare :: CspSymbMap -> CspSymbMap -> Ordering (<) :: CspSymbMap -> CspSymbMap -> Bool (<=) :: CspSymbMap -> CspSymbMap -> Bool (>) :: CspSymbMap -> CspSymbMap -> Bool (>=) :: CspSymbMap -> CspSymbMap -> Bool max :: CspSymbMap -> CspSymbMap -> CspSymbMap min :: CspSymbMap -> CspSymbMap -> CspSymbMap | |
Show CspSymbMap Source # | |
Defined in CspCASL.SymbItems showsPrec :: Int -> CspSymbMap -> ShowS show :: CspSymbMap -> String showList :: [CspSymbMap] -> ShowS | |
Generic CspSymbMap | |
Defined in CspCASL.ATC_CspCASL type Rep CspSymbMap :: Type -> Type from :: CspSymbMap -> Rep CspSymbMap x to :: Rep CspSymbMap x -> CspSymbMap | |
FromJSON CspSymbMap | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser CspSymbMap parseJSONList :: Value -> Parser [CspSymbMap] | |
ToJSON CspSymbMap | |
Defined in CspCASL.ATC_CspCASL toJSON :: CspSymbMap -> Value toEncoding :: CspSymbMap -> Encoding toJSONList :: [CspSymbMap] -> Value toEncodingList :: [CspSymbMap] -> Encoding | |
ShATermConvertible CspSymbMap | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> CspSymbMap -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CspSymbMap] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CspSymbMap) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CspSymbMap]) | |
Pretty CspSymbMap Source # | |
Defined in CspCASL.SymbItems pretty :: CspSymbMap -> Doc Source # pretties :: [CspSymbMap] -> Doc Source # | |
type Rep CspSymbMap | |
Defined in CspCASL.ATC_CspCASL type Rep CspSymbMap = D1 ('MetaData "CspSymbMap" "CspCASL.SymbItems" "main" 'False) (C1 ('MetaCons "CspSymbMap" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CspSymb) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CspSymb)))) |
pluralCspSympKind :: CspSymbKind -> [a] -> Doc Source #
cspSymbMap :: AParser st CspSymbMap Source #
parsing one symbol or a mapping of one to second symbol
cspSymbKind :: AParser st CspSymbKind Source #
parse a kind keyword
cspSymbItems :: AParser st CspSymbItems Source #
Parse a possible kinded list of comma separated CspCASL symbols. The argument is a list of keywords to avoid as identifiers.
cspSymbMaps :: AParser st [CspSymbMap] Source #
parse a comma separated list of symbols
cspSymbMapItems :: AParser st CspSymbMapItems Source #
parse a possible kinded list of CspCASL symbol mappings