richreports-0.0.0.2: Integrated pretty-printing and error/static analysis reporting.

Safe HaskellNone

Text.RichReports

Description

Rich Reports

Text/RichReports.hs

Definitions for the representation and construction of a data structure corresponding to a structured representation of the concrete syntax of a programming language, with annotations corresponding to static analysis results. Includes support for generation of ASCII text, as well as formatted HTML with interactive messages.

Synopsis

Documentation

type Message = ReportSource

Data structures (also used for report construction process) and classes.

class ToReport a whereSource

Methods

report :: a -> ReportSource

Instances

ToReport a => ToReport [a]

Default class members.

ToReport a => ToReport (Maybe a) 

class ToHighlights a whereSource

Methods

highlights :: a -> [Highlight]Source

class ToMessages a whereSource

Methods

messages :: a -> [Message]Source

keyword :: String -> ReportSource

Concise synonyms.

highlight :: Highlight -> [Class]Source

Generation of an interactive HTML version of the report.