Utils Module
Types
Type | Description |
|
|
|
|
|
|
|
|
Encapsulates a transformation which works on a AIF.SystemPart |
|
Encapsulates a transformation which works on a AIF.AIFSystem |
Functions and values
Function or value | Description |
Full Usage:
BottomUpFolding basicFolding
Parameters:
BasicExprFolding<'a>
Returns: ExprFolding<'a>
|
|
|
full map pattern : the user specifies functions that map expressions to expression of the same type,the pattern starts at the leafs maps them and then applies it up the tree
|
Full Usage:
ChainSystemPartTrans name iface transL
Parameters:
string
iface : 'a
transL : SystemPartTrans list
Returns: SystemPartTrans
|
|
Full Usage:
ChainSystemTrans name transL
Parameters:
string
transL : SystemTrans seq
Returns: SystemTrans
|
|
|
|
Full Usage:
CollectGrdActionsInSystemPart actFn part
Parameters:
GrdAction -> GrdAction list
part : SystemPart
Returns: SystemPart
|
Applies the given function to all guarded actions of the given part. The resulting guarded action lists are concatenated to built the returned part.
|
|
|
Full Usage:
MapDrivers mapFn system
Parameters:
Interface -> SystemPart -> SystemPart
system : AIFSystem
Returns: AIFSystem
|
Maps the driver parts of the given system by the given function
|
|
|
Full Usage:
MapExprsInSystemPart mapExpr iface part
Parameters:
Expr -> Expr
iface : Interface
part : SystemPart
Returns: SystemPart
|
|
|
|
Full Usage:
MapMainSystemPart mapFn system
Parameters:
Interface -> SystemPart -> SystemPart
system : AIFSystem
Returns: AIFSystem
|
Maps the main part of the given system by the given function
|
Full Usage:
MapObservers mapFn system
Parameters:
Interface -> SystemPart -> SystemPart
system : AIFSystem
Returns: AIFSystem
|
Maps the observer parts of the given system by the given function
|
|
|
Full Usage:
MapSpecExprs mapExpr specs
Parameters:
SpecExpr -> SpecExpr
specs : Specification list
Returns: Specification list
|
|
|
|
Full Usage:
MapSpecifications mapExpr system
Parameters:
Specification list -> Specification list
system : AIFSystem
Returns: AIFSystem
|
|
Full Usage:
MapSystemParts mapFn system
Parameters:
Interface -> SystemPart -> SystemPart
system : AIFSystem
Returns: AIFSystem
|
Maps all SystemParts of the given System by the given function
|
Full Usage:
MapSystemPartsInSpecifications obsFn specs
Parameters:
SystemPart -> SystemPart
specs : Specification list
Returns: Specification list
|
Maps all observers in the given specification list with the given function
|
|
break when found pattern : the user specifies functions that map expressions either to Some expression of the same type or to None, the recursive pattern invokes a recursive call for all its subexpressions in the latter case
|
Full Usage:
SystemPartTrans2SystemTrans partTrans
Parameters:
SystemPartTrans
Returns: SystemTrans
|
Converts a part transformation into a system transformation
|
|
full map pattern : the user specifies functions that map expressions to expression of the same type,the pattern starts at the leafs maps them and then applies it up the tree
|
Full Usage:
TransSystem transs system
Parameters:
SystemTrans seq
system : AIFSystem
Returns: AIFSystem
|
|
Full Usage:
TransSystemPart transs iface part
Parameters:
SystemPartTrans list
iface : Interface
part : SystemPart
Returns: SystemPart
|
|
|
|
Full Usage:
log1
Returns: string -> unit
|
|
Full Usage:
log2
Returns: string -> unit
|
|
Full Usage:
log3
Returns: string -> unit
|
|