| Copyright | (c) Fontaine 2008 - 2011 |
|---|---|
| License | BSD3 |
| Maintainer | Fontaine@cs.uni-duesseldorf.de |
| Stability | experimental |
| Portability | GHC-only |
| Safe Haskell | None |
| Language | Haskell2010 |
CSPM.Interpreter.Types
Description
Definitions of most of the types used in the interpreter.
Also Instance declarations for the core language type families.
INT is the type (index) for the CSPM interpreter.
Documentation
Instances
| BF INT | |
| BL INT | |
| BE INT | |
| Hash Process | |
| Typeable * INT | |
| Eq (Process INT) | |
| Ord (Process INT) | |
| Show (Process INT) | |
| Show (TTE INT) | |
| ShowTTE (TTE INT) | |
| type Field INT = Field | |
| type FieldSet INT = FieldSet | |
| type ClosureState INT = ClosureState | |
| type PrefixState INT = GenericBufferPrefix | |
| type Prefix INT = PrefixState | |
| type ExtProcess INT = SwitchedOffProc | |
| type Event INT = Event | |
| type EventSet INT = ClosureSet | |
| type RenamingRelation INT = RenamingRelation |
type Sigma = ClosureSet Source
data RenamingRelation Source
Constructors
| RenamingRelation | |
Fields
| |
data ClosureState Source
Constructors
| ClosureStateNormal | |
Fields | |
| ClosureStateFailed | |
Fields | |
| ClosureStateSucc | |
Fields | |
Instances
data SwitchedOffProc Source
Constructors
| SwitchedOffProc | |
Fields | |
data PrefixState Source
Constructors
| PrefixState | |
Fields
| |
Instances
Constructors
| Env | |
Fields
| |
Instances
Instances
getArgBindings :: Env -> Bindings Source
getLetBindings :: Env -> Bindings Source
setArgBindings :: Env -> Bindings -> Env Source
setLetBindings :: Env -> Bindings -> Env Source
Constructors
data FunClosure Source
Constructors
| FunClosure | |
Fields
| |
Instances
data Constructor Source
Constructors
| Constructor | |
Fields
| |
Instances
isChannelField :: Field -> Bool Source
getChannel :: Field -> Channel Source
data PrefixTrie Source
Constructors
| PTNil | |
| PTAny PrefixTrie | |
| PTMap (Map Value PrefixTrie) | |
| PTRec (Set Value) PrefixTrie | |
| PTSingle Value PrefixTrie | |
| PTClosure PrefixTrie |
Instances
data InterpreterError Source
throwFeatureNotImplemented :: String -> Maybe SrcLoc -> a Source
throwPatternMatchError :: String -> Maybe SrcLoc -> a Source