| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Command.Overview
Description
Produce an overview of the input files.
Synopsis
- command :: CommandOptions -> IO (Maybe CommandSummary, Result ErrorCode)
- data CommandOptions = CommandOptions {}
- data OverviewFile = OverviewFile {}
- data CommandSummary = CommandSummary {}
- data CommandSummaryRequirements = CommandSummaryRequirements {}
- data CommandSummaryDiagram = CommandSummaryDiagram {}
- type ErrorCode = Int
Documentation
Arguments
| :: CommandOptions | Customization options |
| -> IO (Maybe CommandSummary, Result ErrorCode) |
Generate overview of a spec 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. All identifiers
used are valid C99 identifiers. The template, if provided, exists and uses
the variables needed by the overview 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.
Constructors
| CommandOptions | |
Fields | |
data OverviewFile Source #
Information about one file in the command options.
Constructors
| OverviewFile | |
data CommandSummary Source #
Constructors
| CommandSummary | |
Instances
data CommandSummaryRequirements Source #
Requirement data for inclusion in the summary.
Constructors
| CommandSummaryRequirements | |
Instances
| ToJSON CommandSummaryRequirements Source # | |||||
Defined in Command.Overview Methods toJSON :: CommandSummaryRequirements -> Value Source # toEncoding :: CommandSummaryRequirements -> Encoding Source # toJSONList :: [CommandSummaryRequirements] -> Value Source # toEncodingList :: [CommandSummaryRequirements] -> Encoding Source # | |||||
| Generic CommandSummaryRequirements Source # | |||||
Defined in Command.Overview Associated Types
Methods from :: CommandSummaryRequirements -> Rep CommandSummaryRequirements x Source # to :: Rep CommandSummaryRequirements x -> CommandSummaryRequirements Source # | |||||
| Show CommandSummaryRequirements Source # | |||||
Defined in Command.Overview | |||||
| type Rep CommandSummaryRequirements Source # | |||||
Defined in Command.Overview type Rep CommandSummaryRequirements = D1 ('MetaData "CommandSummaryRequirements" "Command.Overview" "ogma-core-1.15.0-3hUeuqKaNPy9Y9bmZmPCXy" 'False) (C1 ('MetaCons "CommandSummaryRequirements" 'PrefixI 'True) ((S1 ('MetaSel ('Just "commandRequirementsFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: (S1 ('MetaSel ('Just "commandExternalVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "commandInternalVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "commandRequirements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "commandRequirementsTrue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "commandRequirementsFalse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "commandRequirementsConsistent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))) | |||||
data CommandSummaryDiagram Source #
Diagram Data for inclusion in the summary.
Constructors
| CommandSummaryDiagram | |
Instances
| ToJSON CommandSummaryDiagram Source # | |||||
Defined in Command.Overview Methods toJSON :: CommandSummaryDiagram -> Value Source # toEncoding :: CommandSummaryDiagram -> Encoding Source # toJSONList :: [CommandSummaryDiagram] -> Value Source # toEncodingList :: [CommandSummaryDiagram] -> Encoding Source # | |||||
| Generic CommandSummaryDiagram Source # | |||||
Defined in Command.Overview Associated Types
Methods from :: CommandSummaryDiagram -> Rep CommandSummaryDiagram x Source # to :: Rep CommandSummaryDiagram x -> CommandSummaryDiagram Source # | |||||
| Show CommandSummaryDiagram Source # | |||||
Defined in Command.Overview | |||||
| type Rep CommandSummaryDiagram Source # | |||||
Defined in Command.Overview type Rep CommandSummaryDiagram = D1 ('MetaData "CommandSummaryDiagram" "Command.Overview" "ogma-core-1.15.0-3hUeuqKaNPy9Y9bmZmPCXy" 'False) (C1 ('MetaCons "CommandSummaryDiagram" 'PrefixI 'True) (S1 ('MetaSel ('Just "commandDiagramFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: (S1 ('MetaSel ('Just "commandDiagramNumStates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "commandDiagramDeterministic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) | |||||