Copyright | (c) Markus Roggenbach and Till Mossakowski and Uni Bremen 2004 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | a.m.gimblett@swan.ac.uk |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Abstract syntax of CSP-CASL processes.
Synopsis
- type CHANNEL_NAME = Id
- type CommAlpha = Set CommType
- data CommType
- data EVENT
- = TermEvent (TERM ()) Range
- | ExternalPrefixChoice VAR SORT Range
- | InternalPrefixChoice VAR SORT Range
- | ChanSend CHANNEL_NAME (TERM ()) Range
- | ChanNonDetSend CHANNEL_NAME VAR SORT Range
- | ChanRecv CHANNEL_NAME VAR SORT Range
- | FQTermEvent (TERM ()) Range
- | FQExternalPrefixChoice (TERM ()) Range
- | FQInternalPrefixChoice (TERM ()) Range
- | FQChanSend (CHANNEL_NAME, SORT) (TERM ()) Range
- | FQChanNonDetSend (CHANNEL_NAME, SORT) (TERM ()) Range
- | FQChanRecv (CHANNEL_NAME, SORT) (TERM ()) Range
- data EVENT_SET = EventSet [CommType] Range
- data FQ_PROCESS_NAME
- data PROCESS
- = Skip Range
- | Stop Range
- | Div Range
- | Run EVENT_SET Range
- | Chaos EVENT_SET Range
- | PrefixProcess EVENT PROCESS Range
- | Sequential PROCESS PROCESS Range
- | ExternalChoice PROCESS PROCESS Range
- | InternalChoice PROCESS PROCESS Range
- | Interleaving PROCESS PROCESS Range
- | SynchronousParallel PROCESS PROCESS Range
- | GeneralisedParallel PROCESS EVENT_SET PROCESS Range
- | AlphabetisedParallel PROCESS EVENT_SET EVENT_SET PROCESS Range
- | Hiding PROCESS EVENT_SET Range
- | RenamingProcess PROCESS RENAMING Range
- | ConditionalProcess (FORMULA ()) PROCESS PROCESS Range
- | NamedProcess FQ_PROCESS_NAME [TERM ()] Range
- | FQProcess PROCESS CommAlpha Range
- type PROCESS_NAME = Id
- type PROC_ARGS = [SORT]
- data PROC_ALPHABET = ProcAlphabet [CommType]
- procNameToSimpProcName :: FQ_PROCESS_NAME -> PROCESS_NAME
- data ProcProfile = ProcProfile PROC_ARGS CommAlpha
- data RenameKind
- data Rename = Rename Id (Maybe (RenameKind, Maybe (SORT, SORT)))
- data RENAMING = Renaming [Rename]
- splitCASLVar :: TERM () -> (VAR, SORT)
- data TypedChanName = TypedChanName CHANNEL_NAME SORT
Documentation
type CHANNEL_NAME = Id Source #
Instances
Eq CommType Source # | |
Data CommType Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CommType -> c CommType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CommType toConstr :: CommType -> Constr dataTypeOf :: CommType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CommType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CommType) gmapT :: (forall b. Data b => b -> b) -> CommType -> CommType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CommType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CommType -> r gmapQ :: (forall d. Data d => d -> u) -> CommType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CommType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CommType -> m CommType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CommType -> m CommType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CommType -> m CommType | |
Ord CommType Source # | |
Defined in CspCASL.AS_CspCASL_Process | |
Show CommType Source # | Type of communication types, either a sort communication or a typed channel communications. |
Generic CommType | |
GetRange CommType Source # | |
FromJSON CommType | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser CommType parseJSONList :: Value -> Parser [CommType] | |
ToJSON CommType | |
Defined in CspCASL.ATC_CspCASL toEncoding :: CommType -> Encoding toJSONList :: [CommType] -> Value toEncodingList :: [CommType] -> Encoding | |
ShATermConvertible CommType | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> CommType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CommType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CommType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CommType]) | |
Pretty CommType Source # | |
type Rep CommType | |
Defined in CspCASL.ATC_CspCASL type Rep CommType = D1 ('MetaData "CommType" "CspCASL.AS_CspCASL_Process" "main" 'False) (C1 ('MetaCons "CommTypeSort" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SORT)) :+: C1 ('MetaCons "CommTypeChan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypedChanName))) |
TermEvent (TERM ()) Range |
|
ExternalPrefixChoice VAR SORT Range |
|
InternalPrefixChoice VAR SORT Range |
|
ChanSend CHANNEL_NAME (TERM ()) Range |
|
ChanNonDetSend CHANNEL_NAME VAR SORT Range |
|
ChanRecv CHANNEL_NAME VAR SORT Range |
|
FQTermEvent (TERM ()) Range |
|
FQExternalPrefixChoice (TERM ()) Range |
|
FQInternalPrefixChoice (TERM ()) Range |
|
FQChanSend (CHANNEL_NAME, SORT) (TERM ()) Range |
|
FQChanNonDetSend (CHANNEL_NAME, SORT) (TERM ()) Range |
|
FQChanRecv (CHANNEL_NAME, SORT) (TERM ()) Range |
|
Instances
Eq EVENT Source # | |
Data EVENT Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EVENT -> c EVENT gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EVENT dataTypeOf :: EVENT -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EVENT) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EVENT) gmapT :: (forall b. Data b => b -> b) -> EVENT -> EVENT gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EVENT -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EVENT -> r gmapQ :: (forall d. Data d => d -> u) -> EVENT -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> EVENT -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> EVENT -> m EVENT gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EVENT -> m EVENT gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EVENT -> m EVENT | |
Ord EVENT Source # | |
Show EVENT Source # | |
Generic EVENT | |
GetRange EVENT Source # | |
FromJSON EVENT | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser EVENT parseJSONList :: Value -> Parser [EVENT] | |
ToJSON EVENT | |
Defined in CspCASL.ATC_CspCASL | |
ShATermConvertible EVENT | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> EVENT -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [EVENT] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, EVENT) fromShATermList' :: Int -> ATermTable -> (ATermTable, [EVENT]) | |
Pretty EVENT Source # | |
type Rep EVENT | |
Defined in CspCASL.ATC_CspCASL type Rep EVENT = D1 ('MetaData "EVENT" "CspCASL.AS_CspCASL_Process" "main" 'False) (((C1 ('MetaCons "TermEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TERM ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :+: (C1 ('MetaCons "ExternalPrefixChoice" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VAR) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SORT) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "InternalPrefixChoice" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VAR) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SORT) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))) :+: (C1 ('MetaCons "ChanSend" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CHANNEL_NAME) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TERM ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: (C1 ('MetaCons "ChanNonDetSend" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CHANNEL_NAME) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VAR)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SORT) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "ChanRecv" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CHANNEL_NAME) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VAR)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SORT) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))))) :+: ((C1 ('MetaCons "FQTermEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TERM ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :+: (C1 ('MetaCons "FQExternalPrefixChoice" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TERM ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :+: C1 ('MetaCons "FQInternalPrefixChoice" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TERM ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: (C1 ('MetaCons "FQChanSend" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CHANNEL_NAME, SORT)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TERM ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: (C1 ('MetaCons "FQChanNonDetSend" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CHANNEL_NAME, SORT)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TERM ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "FQChanRecv" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CHANNEL_NAME, SORT)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TERM ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))))) |
Event sets are sets of communication types.
Instances
Eq EVENT_SET Source # | |
Data EVENT_SET Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EVENT_SET -> c EVENT_SET gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EVENT_SET toConstr :: EVENT_SET -> Constr dataTypeOf :: EVENT_SET -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EVENT_SET) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EVENT_SET) gmapT :: (forall b. Data b => b -> b) -> EVENT_SET -> EVENT_SET gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EVENT_SET -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EVENT_SET -> r gmapQ :: (forall d. Data d => d -> u) -> EVENT_SET -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> EVENT_SET -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> EVENT_SET -> m EVENT_SET gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EVENT_SET -> m EVENT_SET gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EVENT_SET -> m EVENT_SET | |
Ord EVENT_SET Source # | |
Defined in CspCASL.AS_CspCASL_Process | |
Show EVENT_SET Source # | |
Generic EVENT_SET | |
GetRange EVENT_SET Source # | |
FromJSON EVENT_SET | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser EVENT_SET parseJSONList :: Value -> Parser [EVENT_SET] | |
ToJSON EVENT_SET | |
Defined in CspCASL.ATC_CspCASL toEncoding :: EVENT_SET -> Encoding toJSONList :: [EVENT_SET] -> Value toEncodingList :: [EVENT_SET] -> Encoding | |
ShATermConvertible EVENT_SET | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> EVENT_SET -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [EVENT_SET] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, EVENT_SET) fromShATermList' :: Int -> ATermTable -> (ATermTable, [EVENT_SET]) | |
Pretty EVENT_SET Source # | |
type Rep EVENT_SET | |
Defined in CspCASL.ATC_CspCASL type Rep EVENT_SET = D1 ('MetaData "EVENT_SET" "CspCASL.AS_CspCASL_Process" "main" 'False) (C1 ('MetaCons "EventSet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CommType]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) |
data FQ_PROCESS_NAME Source #
A process name is either a fully qualified process name or a plain process name.
PROCESS_NAME PROCESS_NAME | A non-fully qualified process name |
FQ_PROCESS_NAME PROCESS_NAME ProcProfile | A name with parameter sorts and communication ids from the parser. This is where the user has tried to specify a fully qualified process name |
Instances
Eq FQ_PROCESS_NAME Source # | |
Defined in CspCASL.AS_CspCASL_Process (==) :: FQ_PROCESS_NAME -> FQ_PROCESS_NAME -> Bool (/=) :: FQ_PROCESS_NAME -> FQ_PROCESS_NAME -> Bool | |
Data FQ_PROCESS_NAME Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FQ_PROCESS_NAME -> c FQ_PROCESS_NAME gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FQ_PROCESS_NAME toConstr :: FQ_PROCESS_NAME -> Constr dataTypeOf :: FQ_PROCESS_NAME -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FQ_PROCESS_NAME) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FQ_PROCESS_NAME) gmapT :: (forall b. Data b => b -> b) -> FQ_PROCESS_NAME -> FQ_PROCESS_NAME gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FQ_PROCESS_NAME -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FQ_PROCESS_NAME -> r gmapQ :: (forall d. Data d => d -> u) -> FQ_PROCESS_NAME -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> FQ_PROCESS_NAME -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> FQ_PROCESS_NAME -> m FQ_PROCESS_NAME gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FQ_PROCESS_NAME -> m FQ_PROCESS_NAME gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FQ_PROCESS_NAME -> m FQ_PROCESS_NAME | |
Ord FQ_PROCESS_NAME Source # | |
Defined in CspCASL.AS_CspCASL_Process compare :: FQ_PROCESS_NAME -> FQ_PROCESS_NAME -> Ordering (<) :: FQ_PROCESS_NAME -> FQ_PROCESS_NAME -> Bool (<=) :: FQ_PROCESS_NAME -> FQ_PROCESS_NAME -> Bool (>) :: FQ_PROCESS_NAME -> FQ_PROCESS_NAME -> Bool (>=) :: FQ_PROCESS_NAME -> FQ_PROCESS_NAME -> Bool max :: FQ_PROCESS_NAME -> FQ_PROCESS_NAME -> FQ_PROCESS_NAME min :: FQ_PROCESS_NAME -> FQ_PROCESS_NAME -> FQ_PROCESS_NAME | |
Show FQ_PROCESS_NAME Source # | |
Defined in CspCASL.AS_CspCASL_Process showsPrec :: Int -> FQ_PROCESS_NAME -> ShowS show :: FQ_PROCESS_NAME -> String showList :: [FQ_PROCESS_NAME] -> ShowS | |
Generic FQ_PROCESS_NAME | |
Defined in CspCASL.ATC_CspCASL type Rep FQ_PROCESS_NAME :: Type -> Type from :: FQ_PROCESS_NAME -> Rep FQ_PROCESS_NAME x to :: Rep FQ_PROCESS_NAME x -> FQ_PROCESS_NAME | |
GetRange FQ_PROCESS_NAME Source # | |
Defined in CspCASL.AS_CspCASL_Process getRange :: FQ_PROCESS_NAME -> Range Source # rangeSpan :: FQ_PROCESS_NAME -> [Pos] Source # | |
FromJSON FQ_PROCESS_NAME | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser FQ_PROCESS_NAME parseJSONList :: Value -> Parser [FQ_PROCESS_NAME] | |
ToJSON FQ_PROCESS_NAME | |
Defined in CspCASL.ATC_CspCASL toJSON :: FQ_PROCESS_NAME -> Value toEncoding :: FQ_PROCESS_NAME -> Encoding toJSONList :: [FQ_PROCESS_NAME] -> Value toEncodingList :: [FQ_PROCESS_NAME] -> Encoding | |
ShATermConvertible FQ_PROCESS_NAME | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> FQ_PROCESS_NAME -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [FQ_PROCESS_NAME] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, FQ_PROCESS_NAME) fromShATermList' :: Int -> ATermTable -> (ATermTable, [FQ_PROCESS_NAME]) | |
Pretty FQ_PROCESS_NAME Source # | |
Defined in CspCASL.Print_CspCASL pretty :: FQ_PROCESS_NAME -> Doc Source # pretties :: [FQ_PROCESS_NAME] -> Doc Source # | |
type Rep FQ_PROCESS_NAME | |
Defined in CspCASL.ATC_CspCASL type Rep FQ_PROCESS_NAME = D1 ('MetaData "FQ_PROCESS_NAME" "CspCASL.AS_CspCASL_Process" "main" 'False) (C1 ('MetaCons "PROCESS_NAME" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS_NAME)) :+: C1 ('MetaCons "FQ_PROCESS_NAME" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS_NAME) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProcProfile))) |
CSP-CASL process expressions.
Skip Range |
|
Stop Range |
|
Div Range |
|
Run EVENT_SET Range |
|
Chaos EVENT_SET Range |
|
PrefixProcess EVENT PROCESS Range |
|
Sequential PROCESS PROCESS Range |
|
ExternalChoice PROCESS PROCESS Range |
|
InternalChoice PROCESS PROCESS Range |
|
Interleaving PROCESS PROCESS Range |
|
SynchronousParallel PROCESS PROCESS Range |
|
GeneralisedParallel PROCESS EVENT_SET PROCESS Range |
|
AlphabetisedParallel PROCESS EVENT_SET EVENT_SET PROCESS Range |
|
Hiding PROCESS EVENT_SET Range |
|
RenamingProcess PROCESS RENAMING Range |
|
ConditionalProcess (FORMULA ()) PROCESS PROCESS Range |
|
NamedProcess FQ_PROCESS_NAME [TERM ()] Range | Named process |
FQProcess PROCESS CommAlpha Range | Fully qualified process. The range here shall be the same as in the process. |
Instances
Eq PROCESS Source # | |
Data PROCESS Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PROCESS -> c PROCESS gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PROCESS dataTypeOf :: PROCESS -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PROCESS) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PROCESS) gmapT :: (forall b. Data b => b -> b) -> PROCESS -> PROCESS gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PROCESS -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PROCESS -> r gmapQ :: (forall d. Data d => d -> u) -> PROCESS -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> PROCESS -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> PROCESS -> m PROCESS gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PROCESS -> m PROCESS gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PROCESS -> m PROCESS | |
Ord PROCESS Source # | |
Show PROCESS Source # | |
Generic PROCESS | |
GetRange PROCESS Source # | |
FromJSON PROCESS | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser PROCESS parseJSONList :: Value -> Parser [PROCESS] | |
ToJSON PROCESS | |
Defined in CspCASL.ATC_CspCASL toEncoding :: PROCESS -> Encoding toJSONList :: [PROCESS] -> Value toEncodingList :: [PROCESS] -> Encoding | |
ShATermConvertible PROCESS | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> PROCESS -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PROCESS] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PROCESS) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PROCESS]) | |
Pretty PROCESS Source # | |
type Rep PROCESS | |
Defined in CspCASL.ATC_CspCASL type Rep PROCESS = D1 ('MetaData "PROCESS" "CspCASL.AS_CspCASL_Process" "main" 'False) ((((C1 ('MetaCons "Skip" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :+: C1 ('MetaCons "Stop" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: (C1 ('MetaCons "Div" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :+: C1 ('MetaCons "Run" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EVENT_SET) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: ((C1 ('MetaCons "Chaos" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EVENT_SET) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :+: C1 ('MetaCons "PrefixProcess" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EVENT) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: (C1 ('MetaCons "Sequential" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: (C1 ('MetaCons "ExternalChoice" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "InternalChoice" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))))) :+: (((C1 ('MetaCons "Interleaving" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "SynchronousParallel" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: (C1 ('MetaCons "GeneralisedParallel" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EVENT_SET)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "AlphabetisedParallel" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EVENT_SET)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EVENT_SET) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))))) :+: ((C1 ('MetaCons "Hiding" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EVENT_SET) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "RenamingProcess" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RENAMING) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: (C1 ('MetaCons "ConditionalProcess" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FORMULA ())) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: (C1 ('MetaCons "NamedProcess" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FQ_PROCESS_NAME) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TERM ()]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "FQProcess" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROCESS) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CommAlpha) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))))))) |
type PROCESS_NAME = Id Source #
data PROC_ALPHABET Source #
Instances
Eq PROC_ALPHABET Source # | |
Defined in CspCASL.AS_CspCASL_Process (==) :: PROC_ALPHABET -> PROC_ALPHABET -> Bool (/=) :: PROC_ALPHABET -> PROC_ALPHABET -> Bool | |
Data PROC_ALPHABET Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PROC_ALPHABET -> c PROC_ALPHABET gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PROC_ALPHABET toConstr :: PROC_ALPHABET -> Constr dataTypeOf :: PROC_ALPHABET -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PROC_ALPHABET) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PROC_ALPHABET) gmapT :: (forall b. Data b => b -> b) -> PROC_ALPHABET -> PROC_ALPHABET gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PROC_ALPHABET -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PROC_ALPHABET -> r gmapQ :: (forall d. Data d => d -> u) -> PROC_ALPHABET -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> PROC_ALPHABET -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> PROC_ALPHABET -> m PROC_ALPHABET gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PROC_ALPHABET -> m PROC_ALPHABET gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PROC_ALPHABET -> m PROC_ALPHABET | |
Ord PROC_ALPHABET Source # | |
Defined in CspCASL.AS_CspCASL_Process compare :: PROC_ALPHABET -> PROC_ALPHABET -> Ordering (<) :: PROC_ALPHABET -> PROC_ALPHABET -> Bool (<=) :: PROC_ALPHABET -> PROC_ALPHABET -> Bool (>) :: PROC_ALPHABET -> PROC_ALPHABET -> Bool (>=) :: PROC_ALPHABET -> PROC_ALPHABET -> Bool max :: PROC_ALPHABET -> PROC_ALPHABET -> PROC_ALPHABET min :: PROC_ALPHABET -> PROC_ALPHABET -> PROC_ALPHABET | |
Show PROC_ALPHABET Source # | |
Defined in CspCASL.AS_CspCASL_Process showsPrec :: Int -> PROC_ALPHABET -> ShowS show :: PROC_ALPHABET -> String showList :: [PROC_ALPHABET] -> ShowS | |
Generic PROC_ALPHABET | |
Defined in CspCASL.ATC_CspCASL type Rep PROC_ALPHABET :: Type -> Type from :: PROC_ALPHABET -> Rep PROC_ALPHABET x to :: Rep PROC_ALPHABET x -> PROC_ALPHABET | |
GetRange PROC_ALPHABET Source # | |
Defined in CspCASL.AS_CspCASL_Process getRange :: PROC_ALPHABET -> Range Source # rangeSpan :: PROC_ALPHABET -> [Pos] Source # | |
FromJSON PROC_ALPHABET | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser PROC_ALPHABET parseJSONList :: Value -> Parser [PROC_ALPHABET] | |
ToJSON PROC_ALPHABET | |
Defined in CspCASL.ATC_CspCASL toJSON :: PROC_ALPHABET -> Value toEncoding :: PROC_ALPHABET -> Encoding toJSONList :: [PROC_ALPHABET] -> Value toEncodingList :: [PROC_ALPHABET] -> Encoding | |
ShATermConvertible PROC_ALPHABET | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> PROC_ALPHABET -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PROC_ALPHABET] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PROC_ALPHABET) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PROC_ALPHABET]) | |
type Rep PROC_ALPHABET | |
Defined in CspCASL.ATC_CspCASL type Rep PROC_ALPHABET = D1 ('MetaData "PROC_ALPHABET" "CspCASL.AS_CspCASL_Process" "main" 'False) (C1 ('MetaCons "ProcAlphabet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CommType]))) |
data ProcProfile Source #
Fully qualified process names have parameter sorts, and a communication alphabet (a Set of sorts). The CommAlpha here should always contain the minimal super sorts only. The communication over subsorts is implied
Instances
Eq ProcProfile Source # | |
Defined in CspCASL.AS_CspCASL_Process (==) :: ProcProfile -> ProcProfile -> Bool (/=) :: ProcProfile -> ProcProfile -> Bool | |
Data ProcProfile Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProcProfile -> c ProcProfile gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProcProfile toConstr :: ProcProfile -> Constr dataTypeOf :: ProcProfile -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProcProfile) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProcProfile) gmapT :: (forall b. Data b => b -> b) -> ProcProfile -> ProcProfile gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProcProfile -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProcProfile -> r gmapQ :: (forall d. Data d => d -> u) -> ProcProfile -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ProcProfile -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProcProfile -> m ProcProfile gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProcProfile -> m ProcProfile gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProcProfile -> m ProcProfile | |
Ord ProcProfile Source # | |
Defined in CspCASL.AS_CspCASL_Process compare :: ProcProfile -> ProcProfile -> Ordering (<) :: ProcProfile -> ProcProfile -> Bool (<=) :: ProcProfile -> ProcProfile -> Bool (>) :: ProcProfile -> ProcProfile -> Bool (>=) :: ProcProfile -> ProcProfile -> Bool max :: ProcProfile -> ProcProfile -> ProcProfile min :: ProcProfile -> ProcProfile -> ProcProfile | |
Show ProcProfile Source # | |
Defined in CspCASL.AS_CspCASL_Process showsPrec :: Int -> ProcProfile -> ShowS show :: ProcProfile -> String showList :: [ProcProfile] -> ShowS | |
Generic ProcProfile | |
Defined in CspCASL.ATC_CspCASL type Rep ProcProfile :: Type -> Type from :: ProcProfile -> Rep ProcProfile x to :: Rep ProcProfile x -> ProcProfile | |
GetRange ProcProfile Source # | |
Defined in CspCASL.AS_CspCASL_Process getRange :: ProcProfile -> Range Source # rangeSpan :: ProcProfile -> [Pos] Source # | |
FromJSON ProcProfile | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser ProcProfile parseJSONList :: Value -> Parser [ProcProfile] | |
ToJSON ProcProfile | |
Defined in CspCASL.ATC_CspCASL toJSON :: ProcProfile -> Value toEncoding :: ProcProfile -> Encoding toJSONList :: [ProcProfile] -> Value toEncodingList :: [ProcProfile] -> Encoding | |
ShATermConvertible ProcProfile | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> ProcProfile -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ProcProfile] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ProcProfile) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ProcProfile]) | |
Pretty ProcProfile Source # | Pretty printing for process profiles |
Defined in CspCASL.Print_CspCASL pretty :: ProcProfile -> Doc Source # pretties :: [ProcProfile] -> Doc Source # | |
type Rep ProcProfile | |
Defined in CspCASL.ATC_CspCASL type Rep ProcProfile = D1 ('MetaData "ProcProfile" "CspCASL.AS_CspCASL_Process" "main" 'False) (C1 ('MetaCons "ProcProfile" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PROC_ARGS) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CommAlpha))) |
data RenameKind Source #
Instances
Eq RenameKind Source # | |
Defined in CspCASL.AS_CspCASL_Process (==) :: RenameKind -> RenameKind -> Bool (/=) :: RenameKind -> RenameKind -> Bool | |
Data RenameKind Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RenameKind -> c RenameKind gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RenameKind toConstr :: RenameKind -> Constr dataTypeOf :: RenameKind -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RenameKind) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RenameKind) gmapT :: (forall b. Data b => b -> b) -> RenameKind -> RenameKind gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RenameKind -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RenameKind -> r gmapQ :: (forall d. Data d => d -> u) -> RenameKind -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RenameKind -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RenameKind -> m RenameKind gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RenameKind -> m RenameKind gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RenameKind -> m RenameKind | |
Ord RenameKind Source # | |
Defined in CspCASL.AS_CspCASL_Process compare :: RenameKind -> RenameKind -> Ordering (<) :: RenameKind -> RenameKind -> Bool (<=) :: RenameKind -> RenameKind -> Bool (>) :: RenameKind -> RenameKind -> Bool (>=) :: RenameKind -> RenameKind -> Bool max :: RenameKind -> RenameKind -> RenameKind min :: RenameKind -> RenameKind -> RenameKind | |
Show RenameKind Source # | |
Defined in CspCASL.AS_CspCASL_Process showsPrec :: Int -> RenameKind -> ShowS show :: RenameKind -> String showList :: [RenameKind] -> ShowS | |
Generic RenameKind | |
Defined in CspCASL.ATC_CspCASL type Rep RenameKind :: Type -> Type from :: RenameKind -> Rep RenameKind x to :: Rep RenameKind x -> RenameKind | |
GetRange RenameKind Source # | |
Defined in CspCASL.AS_CspCASL_Process getRange :: RenameKind -> Range Source # rangeSpan :: RenameKind -> [Pos] Source # | |
FromJSON RenameKind | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser RenameKind parseJSONList :: Value -> Parser [RenameKind] | |
ToJSON RenameKind | |
Defined in CspCASL.ATC_CspCASL toJSON :: RenameKind -> Value toEncoding :: RenameKind -> Encoding toJSONList :: [RenameKind] -> Value toEncodingList :: [RenameKind] -> Encoding | |
ShATermConvertible RenameKind | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> RenameKind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RenameKind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RenameKind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RenameKind]) | |
type Rep RenameKind | |
Defined in CspCASL.ATC_CspCASL type Rep RenameKind = D1 ('MetaData "RenameKind" "CspCASL.AS_CspCASL_Process" "main" 'False) (C1 ('MetaCons "TotOp" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PartOp" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BinPred" 'PrefixI 'False) (U1 :: Type -> Type))) |
Rename Id (Maybe (RenameKind, Maybe (SORT, SORT))) |
Instances
Eq Rename Source # | |
Data Rename Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Rename -> c Rename gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Rename dataTypeOf :: Rename -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Rename) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Rename) gmapT :: (forall b. Data b => b -> b) -> Rename -> Rename gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Rename -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Rename -> r gmapQ :: (forall d. Data d => d -> u) -> Rename -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Rename -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Rename -> m Rename gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Rename -> m Rename gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Rename -> m Rename | |
Ord Rename Source # | |
Show Rename Source # | |
Generic Rename | |
GetRange Rename Source # | |
FromJSON Rename | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser Rename parseJSONList :: Value -> Parser [Rename] | |
ToJSON Rename | |
Defined in CspCASL.ATC_CspCASL toEncoding :: Rename -> Encoding toJSONList :: [Rename] -> Value toEncodingList :: [Rename] -> Encoding | |
ShATermConvertible Rename | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> Rename -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Rename] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Rename) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Rename]) | |
Pretty Rename Source # | |
type Rep Rename | |
Defined in CspCASL.ATC_CspCASL type Rep Rename = D1 ('MetaData "Rename" "CspCASL.AS_CspCASL_Process" "main" 'False) (C1 ('MetaCons "Rename" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (RenameKind, Maybe (SORT, SORT)))))) |
CSP renamings are predicate names or op names.
Instances
Eq RENAMING Source # | |
Data RENAMING Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RENAMING -> c RENAMING gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RENAMING toConstr :: RENAMING -> Constr dataTypeOf :: RENAMING -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RENAMING) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RENAMING) gmapT :: (forall b. Data b => b -> b) -> RENAMING -> RENAMING gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RENAMING -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RENAMING -> r gmapQ :: (forall d. Data d => d -> u) -> RENAMING -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RENAMING -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RENAMING -> m RENAMING gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RENAMING -> m RENAMING gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RENAMING -> m RENAMING | |
Ord RENAMING Source # | |
Defined in CspCASL.AS_CspCASL_Process | |
Show RENAMING Source # | |
Generic RENAMING | |
GetRange RENAMING Source # | |
FromJSON RENAMING | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser RENAMING parseJSONList :: Value -> Parser [RENAMING] | |
ToJSON RENAMING | |
Defined in CspCASL.ATC_CspCASL toEncoding :: RENAMING -> Encoding toJSONList :: [RENAMING] -> Value toEncodingList :: [RENAMING] -> Encoding | |
ShATermConvertible RENAMING | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> RENAMING -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RENAMING] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RENAMING) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RENAMING]) | |
Pretty RENAMING Source # | |
type Rep RENAMING | |
Defined in CspCASL.ATC_CspCASL |
data TypedChanName Source #
A process communication alphabet consists of a set of sort names and typed channel names.
Instances
Eq TypedChanName Source # | |
Defined in CspCASL.AS_CspCASL_Process (==) :: TypedChanName -> TypedChanName -> Bool (/=) :: TypedChanName -> TypedChanName -> Bool | |
Data TypedChanName Source # | |
Defined in CspCASL.AS_CspCASL_Process gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TypedChanName -> c TypedChanName gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TypedChanName toConstr :: TypedChanName -> Constr dataTypeOf :: TypedChanName -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TypedChanName) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TypedChanName) gmapT :: (forall b. Data b => b -> b) -> TypedChanName -> TypedChanName gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TypedChanName -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TypedChanName -> r gmapQ :: (forall d. Data d => d -> u) -> TypedChanName -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TypedChanName -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TypedChanName -> m TypedChanName gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TypedChanName -> m TypedChanName gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TypedChanName -> m TypedChanName | |
Ord TypedChanName Source # | |
Defined in CspCASL.AS_CspCASL_Process compare :: TypedChanName -> TypedChanName -> Ordering (<) :: TypedChanName -> TypedChanName -> Bool (<=) :: TypedChanName -> TypedChanName -> Bool (>) :: TypedChanName -> TypedChanName -> Bool (>=) :: TypedChanName -> TypedChanName -> Bool max :: TypedChanName -> TypedChanName -> TypedChanName min :: TypedChanName -> TypedChanName -> TypedChanName | |
Show TypedChanName Source # | |
Defined in CspCASL.AS_CspCASL_Process showsPrec :: Int -> TypedChanName -> ShowS show :: TypedChanName -> String showList :: [TypedChanName] -> ShowS | |
Generic TypedChanName | |
Defined in CspCASL.ATC_CspCASL type Rep TypedChanName :: Type -> Type from :: TypedChanName -> Rep TypedChanName x to :: Rep TypedChanName x -> TypedChanName | |
GetRange TypedChanName Source # | |
Defined in CspCASL.AS_CspCASL_Process getRange :: TypedChanName -> Range Source # rangeSpan :: TypedChanName -> [Pos] Source # | |
FromJSON TypedChanName | |
Defined in CspCASL.ATC_CspCASL parseJSON :: Value -> Parser TypedChanName parseJSONList :: Value -> Parser [TypedChanName] | |
ToJSON TypedChanName | |
Defined in CspCASL.ATC_CspCASL toJSON :: TypedChanName -> Value toEncoding :: TypedChanName -> Encoding toJSONList :: [TypedChanName] -> Value toEncodingList :: [TypedChanName] -> Encoding | |
ShATermConvertible TypedChanName | |
Defined in CspCASL.ATC_CspCASL toShATermAux :: ATermTable -> TypedChanName -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypedChanName] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypedChanName) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypedChanName]) | |
type Rep TypedChanName | |
Defined in CspCASL.ATC_CspCASL type Rep TypedChanName = D1 ('MetaData "TypedChanName" "CspCASL.AS_CspCASL_Process" "main" 'False) (C1 ('MetaCons "TypedChanName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CHANNEL_NAME) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SORT))) |