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

Safe HaskellNone

Text.RichReports

Description

RichReports

Text/RichReports.hs

A library that supports the manual and automated assembly of modules for building interactive HTML reports consisting of abstract syntax trees as concrete syntax annotated with the results of static analysis and abstract interpretation algorithms.

Web: richreports.org Version: 0.0.3.0

Synopsis

Documentation

type Message = ReportSource

Rich report data structure definitions.

data Entity Source

Constructors

Lt 
Gt 
Space 
Ampersand 

Instances

class ToReport a whereSource

Rich report class declaration (typically, abstract syntax data structures would be members).

Methods

report :: a -> ReportSource

Instances

ToReport a => ToReport [a]

Default class memberships for polymorphic types.

ToReport a => ToReport (Maybe a) 

class ToHighlights a whereSource

Rich report highlight and message class declaration (typically, static analysis results data structures would be members).

Methods

highlights :: a -> [Highlight]Source

class ToMessages a whereSource

Methods

messages :: a -> [Message]Source

highlightsStr :: [Highlight] -> [Class]Source

Generation of an interactive HTML version of the report.