| Portability | GHC-only |
|---|---|
| Stability | experimental |
| Maintainer | Fontaine@cs.uni-duesseldorf.de |
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
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
getArgBindings :: Env -> BindingsSource
getLetBindings :: Env -> BindingsSource
setArgBindings :: Env -> Bindings -> EnvSource
setLetBindings :: Env -> Bindings -> EnvSource
Constructors
data FunClosure Source
Constructors
| FunClosure | |
Fields
| |
Instances
data Constructor Source
Constructors
| Constructor | |
Fields
| |
Instances
isChannelField :: Field -> BoolSource
getChannel :: Field -> ChannelSource
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 -> aSource
throwPatternMatchError :: String -> Maybe SrcLoc -> aSource