| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Command.Report
Description
Produce a report of the diagrams and requirements in the input files.
Synopsis
- command :: CommandOptions -> IO (Result ErrorCode)
- data CommandOptions = CommandOptions {}
- data CommandSummary = CommandSummary {
- commandExternalVariables :: Int
- commandInternalVariables :: Int
- commandRequirementsAny :: Bool
- commandRequirements :: Int
- commandRequirementsTrue :: Int
- commandRequirementsFalse :: Int
- commandRequirementsConsistent :: Bool
- commandRequirementList :: [RequirementDetails]
- commandDiagramsAny :: Bool
- commandDiagrams :: Int
- commandDiagramList :: [DiagramDetails]
- type ErrorCode = Int
Documentation
Arguments
| :: CommandOptions | Customization options |
| -> IO (Result ErrorCode) |
Generate report of a spec or diagram given in an input file.
PRE: The file given is readable, contains a valid file with recognizable
format, the formulas in the file do not use any identifiers that exist in
Copilot, or any of prop, clock, ftp, notPreviousNot. The template,
if provided, exists and uses the variables needed by the report application
generator. The target directory is writable and there's enough disk space to
copy the files over.
data CommandOptions Source #
Options used to customize the interpretation of input specifications and the resulting report.
Constructors
| CommandOptions | |
Fields | |
data CommandSummary Source #
Summary of the files read.
Constructors
| CommandSummary | |
Fields
| |
Instances
| ToJSON CommandSummary Source # | |||||
Defined in Command.Report Methods toJSON :: CommandSummary -> Value Source # toEncoding :: CommandSummary -> Encoding Source # toJSONList :: [CommandSummary] -> Value Source # toEncodingList :: [CommandSummary] -> Encoding Source # omitField :: CommandSummary -> Bool Source # | |||||
| Generic CommandSummary Source # | |||||
Defined in Command.Report Associated Types
Methods from :: CommandSummary -> Rep CommandSummary x Source # to :: Rep CommandSummary x -> CommandSummary Source # | |||||
| Show CommandSummary Source # | |||||
Defined in Command.Report | |||||
| type Rep CommandSummary Source # | |||||
Defined in Command.Report | |||||