Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data FailData = FailData {}
- data Report
- concatReports :: [Report] -> Report
- combineReports :: Report -> Report -> Report
- generateReport :: SyntaxTree -> Report
- reports :: [SyntaxTree -> Report]
- reporter :: (SyntaxTree -> Report) -> SyntaxTree -> Report
- neverTerminating :: SyntaxTree -> Report
- tail' :: [a] -> [a]
Documentation
concatReports :: [Report] -> Report Source
combineReports :: Report -> Report -> Report Source
Combining reports is a symmetric operation where Clean
s
are overridden by Warning
s and Failed
s, whereas Warning
s
are overridden only by Failed
s.
generateReport :: SyntaxTree -> Report Source
Will analyse a syntax tree, returning reports to be combined together.
reports :: [SyntaxTree -> Report] Source
reporter :: (SyntaxTree -> Report) -> SyntaxTree -> Report Source
neverTerminating :: SyntaxTree -> Report Source
Failed
when a repeat sequence with only optional sequences or has
an optional sequence as it's first subsequence
Warning
when a repeat sequence contains a definitions list that
contains an optional sequence.
Clean
otherwise