Hets - the Heterogeneous Tool Set

Copyrightuni-bremen and DFKI
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerr.pascanu@jacobs-university.de
Stabilityprovisional
Portabilityportable
Safe HaskellNone

CMDL.DgCommands

Description

CMDL.DgCommands contains all development graph commands that can be called from the CMDL interface

Synopsis

Documentation

commandDgAll :: (LibName -> LibEnv -> Result LibEnv) -> CmdlState -> IO CmdlState

General function for implementing dg all style commands

commandDg :: (LibName -> [LEdge DGLinkLab] -> LibEnv -> Result LibEnv) -> String -> CmdlState -> IO CmdlState

Generic function for a dg command, all other dg commands are derived from this command by simply specifing the function

cUse :: String -> CmdlState -> IO CmdlState

The function cUse implements the Use commands, i.e. given a path it tries to load the library at that path

cDgSelect :: String -> CmdlState -> IO CmdlState

function swithces interface in proving mode and also selects a list of nodes to be used inside this mode

cDgSelectAll :: CmdlState -> IO CmdlState

Function switches the interface in proving mode by selecting all nodes

wrapResultDg :: (LibName -> [LEdge DGLinkLab] -> LibEnv -> LibEnv) -> LibName -> [LEdge DGLinkLab] -> LibEnv -> Result LibEnv

Wraps Result structure around the result of a dg style command

wrapResultDgAll :: (LibName -> LibEnv -> LibEnv) -> LibName -> LibEnv -> Result LibEnv

Wraps Result structure around the result of a dg all style command